delegatingauthorizer

package
v0.24.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(delegatingClient client.Client, resources []GroupVersionResourceVerb, nonResources []PathVerb) authorizer.Authorizer

Types

type Cache added in v0.23.0

type Cache struct {
	// contains filtered or unexported fields
}

func NewCache added in v0.23.0

func NewCache() *Cache

func (*Cache) Get added in v0.23.0

func (c *Cache) Get(a authorizer.Attributes) (authorized authorizer.Decision, reason string, exists bool)

func (*Cache) Set added in v0.23.0

func (c *Cache) Set(a authorizer.Attributes, authorized authorizer.Decision, reason string)

type GroupVersionResourceVerb

type GroupVersionResourceVerb struct {
	schema.GroupVersionResource
	SubResource string
	Verb        string
}

type PathVerb

type PathVerb struct {
	Path string
	Verb string
}

Jump to

Keyboard shortcuts

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