KubectlAliases.

KubectlExecWithResult(ICakeContext, KubectlExecSettings) Method

Summary

Execute a command in a container.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlExecWithResult(this ICakeContext context, KubectlExecSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.