KubectlAliases.

KubectlConfigDeleteContextWithResult(ICakeContext, KubectlConfigDeleteContextSettings) Method

Summary

Delete the specified context from the kubeconfig
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlConfigDeleteContextWithResult(this ICakeContext context, KubectlConfigDeleteContextSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.