KubectlAliases.

KubectlConfigGetClustersWithResult(ICakeContext, KubectlConfigGetClustersSettings) Method

Summary

Display clusters defined in the kubeconfig.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlConfigGetClustersWithResult(this ICakeContext context, KubectlConfigGetClustersSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.