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

func IsValidAuthorizationMode(authzMode string) bool

IsValidAuthorizationMode returns true if the given authorization mode is a valid one for the apiserver

Source Files

modes.go

Version
v1.10.4
Published
Jun 4, 2018
Platform
js/wasm
Imports
1 packages
Last checked
41 seconds ago

Tools for package owners.