Documentation
¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) GetContainerLogs(containerID string, tail int) (string, error)
- func (c *Client) ListContainers() ([]ContainerInfo, error)
- func (c *Client) ListContainersWithStats(includeStats bool) ([]ContainerInfo, error)
- func (c *Client) RemoveContainer(containerID string) error
- func (c *Client) RestartContainer(containerID string) error
- func (c *Client) StartContainer(containerID string) error
- func (c *Client) StopContainer(containerID string) error
- type ContainerInfo
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) GetContainerLogs ¶ added in v0.2.0
func (*Client) ListContainers ¶
func (c *Client) ListContainers() ([]ContainerInfo, error)
func (*Client) ListContainersWithStats ¶ added in v0.2.0
func (c *Client) ListContainersWithStats(includeStats bool) ([]ContainerInfo, error)
func (*Client) RemoveContainer ¶
func (*Client) RestartContainer ¶
func (*Client) StartContainer ¶
func (*Client) StopContainer ¶
type ContainerInfo ¶
Click to show internal directories.
Click to hide internal directories.