authz

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authz

type Authz struct {
	Cache           *cache.Cache
	Client          client.Clientset
	Audience        string
	ServiceAccounts []string
}

func NewAuthz

func NewAuthz() *Authz

func (*Authz) AddServiceAccount

func (a *Authz) AddServiceAccount(namespace string, name string)

func (*Authz) Process

func (a *Authz) Process(next echo.HandlerFunc) echo.HandlerFunc

Process is the middleware function.

func (*Authz) SetAudience

func (a *Authz) SetAudience(audience string)

Jump to

Keyboard shortcuts

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