mutating

package
Version: v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: Apache-2.0 Imports: 10 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-daemonset": &DaemonSetCreateUpdateHandler{},
	}
)

Functions

This section is empty.

Types

type DaemonSetCreateUpdateHandler

type DaemonSetCreateUpdateHandler struct {

	// Decoder decodes objects
	Decoder *admission.Decoder
}

DaemonSetCreateUpdateHandler handles DaemonSet

func (*DaemonSetCreateUpdateHandler) Handle

Handle handles admission requests.

func (*DaemonSetCreateUpdateHandler) InjectDecoder

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

InjectDecoder injects the decoder into the DaemonSetCreateUpdateHandler

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL