KubectlAliases.

KubectlCreateWithResult(ICakeContext, KubectlCreateSettings) Method

Summary

Create a resource from a file or from stdin. JSON and YAML formats are accepted.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlCreateWithResult(this ICakeContext context, KubectlCreateSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.