cmds

package
v0.0.0-...-734fdd6 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubectlPatchRetries = 3

	InDockerWorkspace = "/workspace"
	InDockerScript    = "/deployer2-in-docker-script.sh"
)

Variables

This section is empty.

Functions

func DockerBuild

func DockerBuild(dockerFile, imageName string) error

func DockerPush

func DockerPush(imageName string, configDir string) error

func DockerRemoveImage

func DockerRemoveImage(imageName string) error

func DockerTag

func DockerTag(imageName string, imageNameAlt string) error

func DockerVersion

func DockerVersion() error

func Execute

func Execute(name string, args ...string) (err error)

func ExecuteInDocker

func ExecuteInDocker(image string, cacheDir string, caches []string, script string) (err error)

func ExecuteWithRetries

func ExecuteWithRetries(retry int, name string, args ...string) (err error)

func KubectlPatch

func KubectlPatch(kubeconfig, namespace, workload, workloadType, patch string) error

func KubectlVersion

func KubectlVersion(kubeconfig 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