package modes
import "k8s.io/kubernetes/pkg/kubeapiserver/authorizer/modes"
Index ¶
Constants ¶
const ( ModeAlwaysAllow string = "AlwaysAllow" ModeAlwaysDeny string = "AlwaysDeny" ModeABAC string = "ABAC" ModeWebhook string = "Webhook" ModeRBAC string = "RBAC" ModeNode string = "Node" )
Variables ¶
var AuthorizationModeChoices = []string{ModeAlwaysAllow, ModeAlwaysDeny, ModeABAC, ModeWebhook, ModeRBAC, ModeNode}
Functions ¶
func IsValidAuthorizationMode ¶
IsValidAuthorizationMode returns true if the given authorization mode is a valid one for the apiserver
Source Files ¶
modes.go
Tools for package owners.