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 (*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 }
Click to show internal directories.
Click to hide internal directories.