Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commands ¶
type Commands struct {
AvailableCommands []string `json:"AvailableCommands"`
}
Commands represents the list of available commands exposed by the ECS introspection endpoint.
type Container ¶
type Container struct { DockerID string `json:"DockerId"` DockerName string `json:"DockerName"` Name string `json:"Name"` }
Container represents a container in a task.
type Instance ¶
Instance represents the instance metadata exposed by the ECS introspection endpoint. See http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-introspection.html
type Task ¶
type Task struct { Arn string `json:"Arn"` DesiredStatus string `json:"DesiredStatus"` KnownStatus string `json:"KnownStatus"` Family string `json:"Family"` Version string `json:"Version"` Containers []Container `json:"containers"` }
Task represents a task in the ECS introspection endpoint response.
type Tasks ¶
type Tasks struct {
Tasks []Task `json:"Tasks"`
}
Tasks represents the list of task exposed by the ECS introspection endpoint. See http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-introspection.html
Click to show internal directories.
Click to hide internal directories.