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"
)

Variables

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

Source Files

modes.go

Version
v1.6.1-beta.0
Published
Mar 28, 2017
Platform
js/wasm
Last checked
31 seconds ago

Tools for package owners.