Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v1.3.3
type Client interface { ListContainers() ([]Container, error) ContainerLogs(ctx context.Context, id string) (<-chan string, <-chan error) Events(ctx context.Context) (<-chan events.Message, <-chan error) }
Client is a proxy around the docker client
type Container ¶
type Container struct { ID string `json:"id"` Names []string `json:"names"` Name string `json:"name"` Image string `json:"image"` ImageID string `json:"imageId"` Command string `json:"command"` Created int64 `json:"created"` State string `json:"state"` Status string `json:"status"` }
Container represents an internal representation of docker containers
Click to show internal directories.
Click to hide internal directories.