KubectlAliases.

KubectlAuthCanI(ICakeContext, KubectlAuthCanISettings) Method

Summary

Check whether an action is allowed. VERB is a logical Kubectl API verb like 'get', 'list', 'watch', 'delete', etc. TYPE is a Kubectl resource. Shortcuts and groups will be resolved. NONRESOURCEURL is a partial URL starts with "/". NAME is the name of a particular Kubectl resource.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static void KubectlAuthCanI(this ICakeContext context, KubectlAuthCanISettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
void