authorizer

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthRequest

type AuthRequest interface {
	GetAuthOption() AuthorizationOption
	GetGVR(server interface{}) schema.GroupVersionResource
}

type AuthorizationOption

type AuthorizationOption struct {
	Name      string
	Namespace string
	Verb      RequestOperation
}

func (AuthorizationOption) Apply

type RequestOperation

type RequestOperation string
const (
	RequestGet    RequestOperation = "get"
	RequestList   RequestOperation = "list"
	RequestWatch  RequestOperation = "watch"
	RequestCreate RequestOperation = "create"
	RequestDelete RequestOperation = "delete"
)

Jump to

Keyboard shortcuts

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