mutating

package
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: 19 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