KubectlAliases.

KubectlConfigUseContext(ICakeContext, KubectlConfigUseContextSettings) Method

Summary

Set the current-context in a kubeconfig file.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static void KubectlConfigUseContext(this ICakeContext context, KubectlConfigUseContextSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings KubectlConfigUseContextSettings The settings.

Return Value

Type Description
void