Documentation ¶
Index ¶
- Variables
- type DockerClient
- func (c *DockerClient) FindContainers() ([]string, error)
- func (c *DockerClient) RemoveAllContainers() error
- func (c *DockerClient) RemoveContainer(containerID string) error
- func (c *DockerClient) RemoveContainers(containerIDs []string) error
- func (c *DockerClient) Start(image, imageName, name string, env []string, portMap nat.PortMap) (string, error)
- func (c *DockerClient) StopContainer(containerID string) error
- func (c *DockerClient) StopContainers(containerIDs []string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Client = &DockerClient{}
Functions ¶
This section is empty.
Types ¶
type DockerClient ¶
type DockerClient struct {
// contains filtered or unexported fields
}
func (*DockerClient) FindContainers ¶
func (c *DockerClient) FindContainers() ([]string, error)
func (*DockerClient) RemoveAllContainers ¶
func (c *DockerClient) RemoveAllContainers() error
func (*DockerClient) RemoveContainer ¶
func (c *DockerClient) RemoveContainer(containerID string) error
func (*DockerClient) RemoveContainers ¶
func (c *DockerClient) RemoveContainers(containerIDs []string) error
func (*DockerClient) StopContainer ¶
func (c *DockerClient) StopContainer(containerID string) error
func (*DockerClient) StopContainers ¶
func (c *DockerClient) StopContainers(containerIDs []string) error
Click to show internal directories.
Click to hide internal directories.