docker

package
v1.1.0-alpha.16 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckContainerDirectory added in v1.0.7

func CheckContainerDirectory(werfBinPath, projectPath, containerDirPath string, exist bool)

func CheckContainerDirectoryDoesNotExist added in v1.0.7

func CheckContainerDirectoryDoesNotExist(werfBinPath, projectPath, containerDirPath string)

func CheckContainerDirectoryExists added in v1.0.7

func CheckContainerDirectoryExists(werfBinPath, projectPath, containerDirPath string)

func CheckContainerFileCommand added in v1.0.7

func CheckContainerFileCommand(containerDirPath string, directory bool, exist bool) string

func CliPull

func CliPull(args ...string) error

func CliPush

func CliPush(args ...string) error

func CliRm

func CliRm(args ...string) error

func CliRmi

func CliRmi(args ...string) error

func CliRun

func CliRun(args ...string) error

func CliStop

func CliStop(args ...string) error

func CliTag

func CliTag(args ...string) error

func ContainerHostPort added in v1.0.9

func ContainerHostPort(ref, containerPortNumberAndProtocol string) string

func ContainerInspect added in v1.0.9

func ContainerInspect(ref string) types.ContainerJSON

func ContainerStopAndRemove

func ContainerStopAndRemove(containerName string)

func ImageID

func ImageID(imageName string) string

func ImageInspect

func ImageInspect(imageName string) *types.ImageInspect

func ImageParent

func ImageParent(imageName string) string

func ImageRemoveIfExists

func ImageRemoveIfExists(imageName string)

func Images

func Images(options types.ImageListOptions) ([]types.ImageSummary, error)

func IsImageExist

func IsImageExist(imageName string) bool

func LocalDockerRegistryRun

func LocalDockerRegistryRun() (string, string)

func Pull

func Pull(imageName string) error

func Push added in v1.0.9

func Push(imageName string) error

func RegistryRepositoryList added in v1.0.9

func RegistryRepositoryList(reference string) []string

func RunSucceedContainerCommandWithStapel added in v1.0.7

func RunSucceedContainerCommandWithStapel(werfBinPath string, projectPath string, extraDockerOptions []string, cmds []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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