Documentation
¶
Index ¶
- func ContextHost() string
- type Client
- func (c *Client) Images(ctx context.Context) ([]Image, error)
- func (c *Client) List(ctx context.Context) ([]Container, error)
- func (c *Client) Logs(ctx context.Context, id string) (<-chan string, error)
- func (c *Client) Networks(ctx context.Context) ([]Network, error)
- func (c *Client) PruneImages(ctx context.Context) (uint64, error)
- func (c *Client) Remove(ctx context.Context, id string) error
- func (c *Client) RemoveImage(ctx context.Context, id string) error
- func (c *Client) RemoveNetwork(ctx context.Context, id string) error
- func (c *Client) RemoveVolume(ctx context.Context, name string) error
- func (c *Client) Restart(ctx context.Context, id string) error
- func (c *Client) Start(ctx context.Context, id string) error
- func (c *Client) Stats(ctx context.Context, id string) (<-chan Stats, error)
- func (c *Client) Stop(ctx context.Context, id string) error
- func (c *Client) Volumes(ctx context.Context) ([]Volume, error)
- type Container
- type Image
- type Network
- type Stats
- type Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextHost ¶ added in v0.6.0
func ContextHost() string
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewWithHost ¶ added in v0.6.0
func (*Client) PruneImages ¶ added in v0.5.0
func (*Client) RemoveImage ¶ added in v0.5.0
func (*Client) RemoveNetwork ¶ added in v0.6.0
func (*Client) RemoveVolume ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.