kubectl

package
v1.1.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNamespace

func CreateNamespace(ctx context.Context, kubeContext, ns string)

func Curl

func Curl(ctx context.Context, kubecontext, ns, fromDeployment, fromContainer, url string) string

func CurlWithEphemeralPod

func CurlWithEphemeralPod(ctx context.Context, kubecontext, fromns, frompod string, args ...string) string

func DeleteNamespace

func DeleteNamespace(ctx context.Context, kubeContext, ns string)

func DeployBookInfo

func DeployBookInfo(ctx context.Context, kubeContext, ns string)

func DisableContainer

func DisableContainer(
	ctx context.Context,
	kubeContext string,
	ns string,
	deploymentName string,
	containerName string,
)

func EnableContainer

func EnableContainer(
	ctx context.Context,
	kubeContext string,
	ns string,
	deploymentName string,
)

func LabelNamespace

func LabelNamespace(ctx context.Context, kubeContext, ns, label string)

func SetDeploymentEnvVars

func SetDeploymentEnvVars(
	ctx context.Context,
	kubeContext string,
	ns string,
	deploymentName string,
	containerName string,
	envVars map[string]string,
)

func WaitForRollout

func WaitForRollout(ctx context.Context, kubecontext, ns, deployment string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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