KubectlAliases.

KubectlApplyViewLastAppliedWithResult(ICakeContext, KubectlApplyViewLastAppliedSettings) Method

Summary

View the latest last-applied-configuration annotations by type/name or file. The default output will be printed to stdout in YAML format. One can use -o option to change output format.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlApplyViewLastAppliedWithResult(this ICakeContext context, KubectlApplyViewLastAppliedSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.