Documentation ¶
Index ¶
- func Duration(d time.Duration) *time.Duration
- type Client
- func (c *Client) ContainerCreate(config *specgen.SpecGenerator) (string, error)
- func (c *Client) ContainerExec(id string, cmd []string) (int, []byte, error)
- func (c *Client) ContainerInspect(id string) (string, error)
- func (c *Client) ContainerList() ([]entities.ListContainer, error)
- func (c *Client) ContainerLogs(id string) ([]byte, error)
- func (c *Client) ContainerRemove(id string) ([]*reports.RmReport, error)
- func (c *Client) ContainerStart(id string) error
- func (c *Client) ContainerStop(id string, timeout int) error
- func (c *Client) ContainerStopAndRemove(id string, timeout int) ([]*reports.RmReport, error)
- func (c *Client) ContainerWait(id string) (int32, error)
- func (c *Client) ExecInActiveContainers(w io.Writer, ctx context.Context, cmd []string)
- func (c *Client) ImagesRemove(names []string) (*entities.ImageRemoveReport, []error)
- func (c *Client) InspectActiveContainers(w io.Writer, ctx context.Context)
- func (c *Client) VolumeCreate() (*entities.VolumeConfigResponse, error)
- func (c *Client) VolumeRemove(name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
func NewEnvClient ¶
func (*Client) ContainerCreate ¶
func (c *Client) ContainerCreate(config *specgen.SpecGenerator) (string, error)
func (*Client) ContainerExec ¶
func (*Client) ContainerList ¶
func (c *Client) ContainerList() ([]entities.ListContainer, error)
func (*Client) ContainerRemove ¶
func (*Client) ContainerStart ¶
func (*Client) ContainerStopAndRemove ¶
func (*Client) ExecInActiveContainers ¶
func (*Client) ImagesRemove ¶
func (c *Client) ImagesRemove(names []string) (*entities.ImageRemoveReport, []error)
func (*Client) InspectActiveContainers ¶
func (*Client) VolumeCreate ¶
func (c *Client) VolumeCreate() (*entities.VolumeConfigResponse, error)
func (*Client) VolumeRemove ¶
Click to show internal directories.
Click to hide internal directories.