Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct {
Domain string `json:"domain"`
Issuer string `json:"issuer"`
NotBefore time.Time `json:"not_before"`
NotAfter time.Time `json:"not_after"`
DaysLeft int `json:"days_left"`
Status string `json:"status"`
Path string `json:"path"`
AutoRenew bool `json:"auto_renew"`
DeploymentID string `json:"deployment_id,omitempty"`
}
type Deployment ¶
type DeploymentStatus ¶
type DeploymentStatus string
const ( StatusRunning DeploymentStatus = "running" StatusStopped DeploymentStatus = "stopped" StatusError DeploymentStatus = "error" StatusUnknown DeploymentStatus = "unknown" )
type HealthCheckConfig ¶
type Network ¶
type Network struct {
ID string `json:"id"`
Name string `json:"name"`
Driver string `json:"driver"`
Scope string `json:"scope"`
Subnet string `json:"subnet"`
Gateway string `json:"gateway"`
Containers []NetworkContainer `json:"containers"`
Labels map[string]string `json:"labels"`
Created string `json:"created"`
}
type NetworkContainer ¶
type NetworkingConfig ¶
type Service ¶
type Service struct {
Name string `json:"name"`
ContainerID string `json:"container_id"`
Image string `json:"image"`
Status string `json:"status"`
Health string `json:"health,omitempty"`
Ports []string `json:"ports,omitempty"`
Networks []string `json:"networks,omitempty"`
CreatedAt time.Time `json:"created_at"`
}
type ServiceMetadata ¶
type ServiceMetadata struct {
Name string `yaml:"name" json:"name"`
Type string `yaml:"type" json:"type"`
Networking NetworkingConfig `yaml:"networking" json:"networking"`
SSL SSLConfig `yaml:"ssl" json:"ssl"`
HealthCheck HealthCheckConfig `yaml:"healthcheck" json:"healthcheck"`
}
Click to show internal directories.
Click to hide internal directories.