mutating

package
v1.6.2 Latest Latest
Warning

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

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

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-containerrecreaterequest": &ContainerRecreateRequestHandler{},
	}
)

Functions

This section is empty.

Types

type ContainerRecreateRequestHandler

type ContainerRecreateRequestHandler struct {
	Client  client.Client
	Decoder *admission.Decoder
}

ContainerRecreateRequestHandler handles ContainerRecreateRequest

func (*ContainerRecreateRequestHandler) Handle

Handle handles admission requests.

func (*ContainerRecreateRequestHandler) InjectClient

InjectClient injects the client into the ContainerRecreateRequestHandler

func (*ContainerRecreateRequestHandler) InjectDecoder

InjectDecoder injects the decoder into the ContainerRecreateRequestHandler

Jump to

Keyboard shortcuts

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