common

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerRegister

type HandlerRegister struct {
	Path string
	HandlerSetupFunc
}

HandlerRegister contains information about how to register an admission handler to a specific path of the webhook server.

func (*HandlerRegister) RegisterToServerWithManager

func (r *HandlerRegister) RegisterToServerWithManager(srv *webhook.Server, mgr ctrl.Manager) error

RegisterToServerWithManager sets up an admission handler and registers it to the specified path of the webhook server.

type HandlerSetupFunc

type HandlerSetupFunc func(ctrl.Manager) (admission.Handler, error)

HandlerSetupFunc sets up an admission handler with the manager.

Jump to

Keyboard shortcuts

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