docker

package
v0.0.4-dev Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateContiner

func CreateContiner(dClient *client.Client, hostname string, containerName string, imageCfg *container.Config, hostCfg *container.HostConfig) (container.ContainerCreateCreatedBody, error)

func DoRemoveContainer

func DoRemoveContainer(dClient *client.Client, containerName, hostname string) error

func DoRollingUpdateContainer

func DoRollingUpdateContainer(dClient *client.Client, imageCfg *container.Config, hostCfg *container.HostConfig, containerName, hostname, plane string) error

func DoRunContainer

func DoRunContainer(dClient *client.Client, imageCfg *container.Config, hostCfg *container.HostConfig, containerName string, hostname string, plane string) error

func InspectContainer

func InspectContainer(dClient *client.Client, hostname string, containerName string) (types.ContainerJSON, error)

func IsContainerRunning

func IsContainerRunning(dClient *client.Client, hostname string, containerName string) (bool, error)

func PullImage

func PullImage(dClient *client.Client, hostname string, containerImage string) error

func RemoveContainer

func RemoveContainer(dClient *client.Client, hostname string, containerName string) error

func RenameContainer

func RenameContainer(dClient *client.Client, hostname string, oldContainerName string, newContainerName string) error

func StartContainer

func StartContainer(dClient *client.Client, hostname string, containerName string) error

func StopContainer

func StopContainer(dClient *client.Client, hostname string, containerName string) error

func StopRenameContainer

func StopRenameContainer(dClient *client.Client, hostname string, oldContainerName string, newContainerName string) error

func WaitForContainer

func WaitForContainer(dClient *client.Client, containerName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL