KubectlAliases.

KubectlExplainWithResult(ICakeContext, KubectlExplainSettings) Method

Summary

List the fields for supported resources. This command describes the fields associated with each supported API resource. Fields are identified via a simple JSONPath identifier: <type>.<fieldName>[.<fieldName>] Add the --recursive flag to display all of the fields at once without descriptions. Information about each field is retrieved from the server in OpenAPI format.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlExplainWithResult(this ICakeContext context, KubectlExplainSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.