KubectlAliases.

KubectlConfigCurrentContextWithResult(ICakeContext, KubectlConfigCurrentContextSettings) Method

Summary

Display the current-context.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlConfigCurrentContextWithResult(this ICakeContext context, KubectlConfigCurrentContextSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.