Documentation
¶
Index ¶
Constants ¶
View Source
const (
ModeAlwaysAllow string = "AlwaysAllow"
ModeAlwaysDeny string = "AlwaysDeny"
ModeABAC string = "ABAC"
ModeWebhook string = "Webhook"
ModeRBAC string = "RBAC"
)
Variables ¶
View Source
var AuthorizationModeChoices = []string{ModeAlwaysAllow, ModeAlwaysDeny, ModeABAC, ModeWebhook, ModeRBAC}
Functions ¶
func IsValidAuthorizationMode ¶
func IsValidAuthorizationMode(authzMode string) bool
IsValidAuthorizationMode returns true if the given authorization mode is a valid one for the apiserver
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.