Documentation ¶
Index ¶
- type DockerClient
- func (this *DockerClient) ContainerExists(id string) (exists bool, err error)
- func (this *DockerClient) CreateContainer(name string, image string, env map[string]string, restart bool, _ string, ...) (id string, err error)
- func (this *DockerClient) Disconnect() (err error)
- func (this *DockerClient) RemoveContainer(id string) (err error)
- func (this *DockerClient) UpdateContainer(id string, name string, image string, env map[string]string, restart bool, ...) (newId string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerClient ¶
type DockerClient struct {
// contains filtered or unexported fields
}
func (*DockerClient) ContainerExists ¶
func (this *DockerClient) ContainerExists(id string) (exists bool, err error)
func (*DockerClient) CreateContainer ¶
func (*DockerClient) Disconnect ¶
func (this *DockerClient) Disconnect() (err error)
func (*DockerClient) RemoveContainer ¶
func (this *DockerClient) RemoveContainer(id string) (err error)
Click to show internal directories.
Click to hide internal directories.