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