KubectlAliases.

KubectlProxyWithResult(ICakeContext, KubectlProxySettings) Method

Summary

Creates a proxy server or application-level gateway between localhost and the Kubectl API Server. It also allows serving static content over specified HTTP path. All incoming data enters through one port and gets forwarded to the remote kubernetes API Server port, except for the path matching the static content path.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlProxyWithResult(this ICakeContext context, KubectlProxySettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.