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