webhook

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// HandlerMap contains all admission webhook handlers.
	HandlerMap     = map[string]admission.Handler{}
	HandlerGetters []types.HandlerGetter
)

Functions

func Inited

func Inited() chan struct{}

func SetupWithManager

func SetupWithManager(logger logr.Logger, mgr manager.Manager) error

Types

type Controller

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

func New

func New(cfg *rest.Config, handlers map[string]admission.Handler) (*Controller, error)

func (*Controller) Start

func (c *Controller) Start(ctx context.Context)

type GateFunc

type GateFunc func() (enabled bool)

Directories

Path Synopsis
utils

Jump to

Keyboard shortcuts

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