Documentation ¶
Index ¶
- func CreateHostConfig(params CreateContainerParams) *container.HostConfig
- type CreateContainerParams
- type DockerCli
- func (d *DockerCli) CheckOrPullImage(imageName string)
- func (d *DockerCli) CreateContainer(params CreateContainerParams) (string, error)
- func (d *DockerCli) GetContainerInfo(containerId string) (types.ContainerJSON, error)
- func (d *DockerCli) GetContainerStatus(containerId string) (string, error)
- func (d *DockerCli) StopContainer(containerId string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHostConfig ¶
func CreateHostConfig(params CreateContainerParams) *container.HostConfig
Types ¶
type CreateContainerParams ¶
type DockerCli ¶
func (*DockerCli) CheckOrPullImage ¶
func (*DockerCli) CreateContainer ¶
func (d *DockerCli) CreateContainer(params CreateContainerParams) (string, error)
func (*DockerCli) GetContainerInfo ¶
func (d *DockerCli) GetContainerInfo(containerId string) (types.ContainerJSON, error)
func (*DockerCli) GetContainerStatus ¶
func (*DockerCli) StopContainer ¶
Click to show internal directories.
Click to hide internal directories.