Help us shape the future of Go! Take the 2026 Go Developer Survey

token

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HandlerName is the name of this admission webhook handler.
	HandlerName = "token-review"
	// WebhookPath is the HTTP handler path for this admission webhook handler.
	WebhookPath = "/validate-authentication-k8s-io-v1-tokenreview"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// Logger is a logger.
	Logger logr.Logger
	// Client is the controller-runtime Kubernetes client.
	Client client.Client
	// Config is the Keystone configuration.
	Config config.PersephoneConfig
	// ReconcileGardenerProjectResources specifies whether the Gardener project-related resources should be reconciled
	// after successful token validation.
	ReconcileGardenerProjectResources bool
	// contains filtered or unexported fields
}

func (*Handler) AddToManager

func (h *Handler) AddToManager(mgr manager.Manager) error

AddToManager adds Handler to the given manager.

func (*Handler) Handle

Jump to

Keyboard shortcuts

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