Documentation
¶
Index ¶
- func CreateNamespace(ctx context.Context, kubeContext, ns string)
- func Curl(ctx context.Context, ...) string
- func CurlWithEphemeralPod(ctx context.Context, kubecontext, fromns, frompod string, args ...string) string
- func DeleteNamespace(ctx context.Context, kubeContext, ns string)
- func DeployBookInfo(ctx context.Context, kubeContext, ns string)
- func DisableContainer(ctx context.Context, kubeContext string, ns string, deploymentName string, ...)
- func EnableContainer(ctx context.Context, kubeContext string, ns string, deploymentName string)
- func LabelNamespace(ctx context.Context, kubeContext, ns, label string)
- func SetDeploymentEnvVars(ctx context.Context, kubeContext string, ns string, deploymentName string, ...)
- func WaitForRollout(ctx context.Context, kubecontext, ns, deployment string)
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.
Click to show internal directories.
Click to hide internal directories.