docker

package
v1.2.172 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckContainerDirectory

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

func CheckContainerDirectoryDoesNotExist

func CheckContainerDirectoryDoesNotExist(werfBinPath, projectPath, containerDirPath string)

func CheckContainerDirectoryExists

func CheckContainerDirectoryExists(werfBinPath, projectPath, containerDirPath string)

func CheckContainerFileCommand

func CheckContainerFileCommand(containerDirPath string, directory, 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

func ContainerHostPort(ref, containerPortNumberAndProtocol string) string

func ContainerInspect

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 IsImageExist

func IsImageExist(imageName string) bool

func LocalDockerRegistryRun

func LocalDockerRegistryRun() (string, string, string)

func Pull

func Pull(imageName string) error

func RunSucceedContainerCommandWithStapel

func RunSucceedContainerCommandWithStapel(werfBinPath, projectPath string, extraDockerOptions, 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