Versions in this module Expand all Collapse all v0 v0.0.2 Aug 3, 2018 Changes in this version + type Client struct + func NewClient() *Client + func (s *Client) ContainerExec(containerID string, cmd []string) (io.Reader, error) + func (s *Client) CopyFromContainer(containerID, srcpath string) (io.ReadCloser, error) + func (s *Client) CopyToContainer(containerID, dstpath string, data io.Reader) error + func (s *Client) CreateContainer(imageID string, cmd []string, config *CreateContainerConfig) (string, error) + func (s *Client) HasImage(imageID string) (bool, error) + func (s *Client) InspectContainer(containerID string) (types.ContainerJSON, error) + func (s *Client) ListImages() ([]*ImageSummary, error) + func (s *Client) LoadImage(input io.Reader) error + func (s *Client) LoadImageByFilepath(filepath string) error + func (s *Client) PullImage(imageID string) error + func (s *Client) PushImage(imageID string) error + func (s *Client) ReadImage(imageID string) (io.Reader, error) + func (s *Client) RemoveAllImages() error + func (s *Client) RemoveImage(imageID string) error + func (s *Client) StartContainer(containerID string) error + func (s *Client) StopContainer(containerID string) error + func (s *Client) TagImage(imageID, tag string) error + type CreateContainerConfig struct + Ports map[string]string + Volumes map[string]string + type ImageSummary struct + ID string + Size int64 + Tags []string + type Interface interface + ContainerExec func(containerID string, cmd []string) (io.Reader, error) + CopyFromContainer func(containerID, srcpath string) (io.ReadCloser, error) + CopyToContainer func(containerID, dirpath string, data io.Reader) error + CreateContainer func(imageID string, cmd []string, config *CreateContainerConfig) (string, error) + HasImage func(imageID string) (bool, error) + InspectContainer func(containerID string) (types.ContainerJSON, error) + ListImages func() ([]*ImageSummary, error) + LoadImage func(input io.Reader) error + LoadImageByFilepath func(filepath string) error + PullImage func(imageID string) error + PushImage func(imageID string) error + ReadImage func(imageID string) (io.Reader, error) + RemoveAllImages func() error + RemoveImage func(imageID string) error + StartContainer func(containerID string) error + StopContainer func(containerID string) error + TagImage func(imageID, tag string) error