modes

package
v1.12.2-lite3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModeAlwaysAllow string = "AlwaysAllow"
	ModeAlwaysDeny  string = "AlwaysDeny"
	ModeRBAC        string = "RBAC"
	ModeNode        string = "Node"
)

Variables

View Source
var AuthorizationModeChoices = []string{ModeAlwaysAllow, ModeAlwaysDeny, 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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL