Documentation ¶
Index ¶
- Variables
- func CreateContiner(dClient *client.Client, hostname string, containerName string, ...) (container.ContainerCreateCreatedBody, error)
- func DoRemoveContainer(dClient *client.Client, containerName, hostname string) error
- func DoRollingUpdateContainer(dClient *client.Client, imageCfg *container.Config, ...) error
- func DoRunContainer(dClient *client.Client, imageCfg *container.Config, ...) error
- func InspectContainer(dClient *client.Client, hostname string, containerName string) (types.ContainerJSON, error)
- func IsContainerRunning(dClient *client.Client, hostname string, containerName string, all bool) (bool, error)
- func IsContainerUpgradable(dClient *client.Client, imageCfg *container.Config, containerName string, ...) (bool, error)
- func IsSupportedDockerVersion(info types.Info, K8sVersion string) (bool, error)
- func RemoveContainer(dClient *client.Client, hostname string, containerName string) error
- func RenameContainer(dClient *client.Client, hostname string, oldContainerName string, ...) error
- func StartContainer(dClient *client.Client, hostname string, containerName string) error
- func StopContainer(dClient *client.Client, hostname string, containerName string) error
- func StopRenameContainer(dClient *client.Client, hostname string, oldContainerName string, ...) error
- func UseLocalOrPull(dClient *client.Client, hostname string, containerImage string, plane string) error
- func WaitForContainer(dClient *client.Client, containerName string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var K8sDockerVersions = map[string][]string{
"1.8": {"1.12.6", "1.13.1", "17.03.2"},
}
Functions ¶
func CreateContiner ¶
func DoRemoveContainer ¶
func DoRunContainer ¶
func InspectContainer ¶
func IsContainerRunning ¶
func IsContainerUpgradable ¶
func RemoveContainer ¶
func RenameContainer ¶
func StartContainer ¶
func StopContainer ¶
func StopRenameContainer ¶
func UseLocalOrPull ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.