Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // HandlerGetterMap contains admission webhook handlers HandlerGetterMap = map[string]types.HandlerGetter{ "validate-apps-kruise-io-v1alpha1-uniteddeployment": func(mgr manager.Manager) admission.Handler { return &UnitedDeploymentCreateUpdateHandler{Decoder: admission.NewDecoder(mgr.GetScheme())} }, } )
Functions ¶
func ValidateUnitedDeploymentUpdate ¶
func ValidateUnitedDeploymentUpdate(unitedDeployment, oldUnitedDeployment *appsv1alpha1.UnitedDeployment) field.ErrorList
ValidateUnitedDeploymentUpdate tests if required fields in the UnitedDeployment are set.
Types ¶
type UnitedDeploymentCreateUpdateHandler ¶
type UnitedDeploymentCreateUpdateHandler struct { // Decoder decodes objects Decoder admission.Decoder }
UnitedDeploymentCreateUpdateHandler handles UnitedDeployment
Click to show internal directories.
Click to hide internal directories.