Documentation
¶
Index ¶
- type Client
- func (c *Client) BuildImage(ctx context.Context, buildContext io.Reader, tag string, output io.Writer) error
- func (c *Client) Close() error
- func (c *Client) CreateNetwork(ctx context.Context, name string, driver string) (string, error)
- func (c *Client) ExecCommand(ctx context.Context, name string, cmd string) (string, error)
- func (c *Client) GetContainerLogs(ctx context.Context, name string, tail int) (string, error)
- func (c *Client) InspectContainer(ctx context.Context, name string) (string, error)
- func (c *Client) ListContainers(ctx context.Context, all bool) ([]Container, error)
- func (c *Client) ListImages(ctx context.Context) ([]Image, error)
- func (c *Client) ListNetworks(ctx context.Context) ([]Network, error)
- func (c *Client) ListVolumes(ctx context.Context) ([]Volume, error)
- func (c *Client) Ping(ctx context.Context) error
- func (c *Client) PullImage(ctx context.Context, imageName string) (int64, error)
- func (c *Client) RemoveContainer(ctx context.Context, name string, force bool) error
- func (c *Client) RemoveImage(ctx context.Context, imageID string, force bool) error
- func (c *Client) RunContainer(ctx context.Context, image string, name string, ports []string, ...) (string, error)
- func (c *Client) StartContainer(ctx context.Context, containerID string) error
- func (c *Client) StopContainer(ctx context.Context, name string) error
- type Container
- type Image
- type Network
- type Volume
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) BuildImage ¶
func (*Client) CreateNetwork ¶
func (*Client) ExecCommand ¶
func (*Client) GetContainerLogs ¶
func (*Client) InspectContainer ¶
func (*Client) ListContainers ¶
func (*Client) RemoveContainer ¶
func (*Client) RemoveImage ¶
func (*Client) RunContainer ¶
func (*Client) StartContainer ¶
Click to show internal directories.
Click to hide internal directories.