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 ¶
ContainerRecreateRequestHandler handles ContainerRecreateRequest
func (*ContainerRecreateRequestHandler) Handle ¶
func (h *ContainerRecreateRequestHandler) Handle(ctx context.Context, req admission.Request) admission.Response
Handle handles admission requests.
func (*ContainerRecreateRequestHandler) InjectClient ¶
func (h *ContainerRecreateRequestHandler) InjectClient(c client.Client) error
InjectClient injects the client into the ContainerRecreateRequestHandler
func (*ContainerRecreateRequestHandler) InjectDecoder ¶
func (h *ContainerRecreateRequestHandler) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder into the ContainerRecreateRequestHandler
Click to show internal directories.
Click to hide internal directories.