validating

package
v1.6.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// HandlerMap contains admission webhook handlers
	HandlerMap = map[string]admission.Handler{
		"validate-apps-kruise-io-v1alpha1-nodeimage": &NodeImageCreateUpdateHandler{},
	}
)

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.

func (*NodeImageCreateUpdateHandler) InjectDecoder

func (h *NodeImageCreateUpdateHandler) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects the decoder into the NodeImageCreateUpdateHandler

Jump to

Keyboard shortcuts

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