KubectlAliases.

KubectlApiVersionsWithResult(ICakeContext, KubectlApiVersionsSettings) Method

Summary

Print the supported API versions on the server, in the form of "group/version".
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlApiVersionsWithResult(this ICakeContext context, KubectlApiVersionsSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.