mutating

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// HandlerGetterMap contains admission webhook handlers
	HandlerGetterMap = map[string]types.HandlerGetter{
		"mutate-apps-kruise-io-v1alpha1-nodeimage": func(mgr manager.Manager) admission.Handler {
			return &NodeImageCreateUpdateHandler{Decoder: admission.NewDecoder(mgr.GetScheme())}
		},
	}
)

Functions

This section is empty.

Types

type NodeImageCreateUpdateHandler

type NodeImageCreateUpdateHandler struct {
	// Decoder decodes objects
	Decoder *admission.Decoder
}

NodeImageCreateUpdateHandler handles NodeImage

func (*NodeImageCreateUpdateHandler) Handle

Handle handles admission requests.

Jump to

Keyboard shortcuts

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