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-imagepulljob": &ImagePullJobCreateUpdateHandler{}, } )
Functions ¶
This section is empty.
Types ¶
type ImagePullJobCreateUpdateHandler ¶
type ImagePullJobCreateUpdateHandler struct { // Decoder decodes objects Decoder *admission.Decoder }
ImagePullJobCreateUpdateHandler handles ImagePullJob
func (*ImagePullJobCreateUpdateHandler) Handle ¶
func (h *ImagePullJobCreateUpdateHandler) Handle(ctx context.Context, req admission.Request) admission.Response
Handle handles admission requests.
func (*ImagePullJobCreateUpdateHandler) InjectDecoder ¶
func (h *ImagePullJobCreateUpdateHandler) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder into the ImagePullJobCreateUpdateHandler
Click to show internal directories.
Click to hide internal directories.