KubectlAliases.

KubectlVersionWithResult(ICakeContext, KubectlVersionSettings) Method

Summary

Print the client and server version information for the current context.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlVersionWithResult(this ICakeContext context, KubectlVersionSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.