KubectlAliases.

KubectlConfigUseContextWithResult(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 IEnumerable<string> KubectlConfigUseContextWithResult(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
IEnumerable<string> Output lines.