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

admission

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(ctx context.Context, mgr ctrl.Manager, store *policy.Store, namespace string) error

Types

type Handler

type Handler struct {
	Store           *policy.Store
	Reader          client.Reader
	Dynamic         dynamic.Interface
	SystemNamespace string
	Ready           func() bool
	Now             func() time.Time
}

func (*Handler) Handle

func (h *Handler) Handle(ctx context.Context, req cradmission.Request) (response cradmission.Response)

type Validator

type Validator struct{ Mapper meta.RESTMapper }

func (*Validator) Handle

Jump to

Keyboard shortcuts

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