mutating

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type CloneSetCreateUpdateHandler

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

CloneSetCreateUpdateHandler handles CloneSet

func (*CloneSetCreateUpdateHandler) Handle

Handle handles admission requests.

func (*CloneSetCreateUpdateHandler) InjectDecoder

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

InjectDecoder injects the decoder into the CloneSetCreateUpdateHandler

Jump to

Keyboard shortcuts

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