Documentation ¶
Index ¶
- type Client
- func (d *Client) ContainerLogs(ctx context.Context, id string, options types.ContainerLogsOptions) (<-chan string, <-chan error)
- func (d *Client) Events(ctx context.Context) (<-chan events.Message, <-chan error)
- func (d *Client) ListContainers(ctx context.Context) ([]Container, error)
- func (d *Client) WriteContainerLog(ctx context.Context, w io.Writer, id string, ...) error
- type Container
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ContainerLogs ¶
func (*Client) ListContainers ¶
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.