KubectlAliases.

KubectlConfigSetContextWithResult(ICakeContext, KubectlConfigSetContextSettings) Method

Summary

Set a context entry in kubeconfig. Specifying a name that already exists will merge new fields on top of existing values for those fields.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlConfigSetContextWithResult(this ICakeContext context, KubectlConfigSetContextSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.