Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Builders contain admission webhook builders Builders = map[string]*builder.WebhookBuilder{} // HandlerMap contains admission webhook handlers HandlerMap = map[string][]admission.Handler{} )
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 types.Decoder }
UnitedDeploymentCreateUpdateHandler handles UnitedDeployment
func (*UnitedDeploymentCreateUpdateHandler) Handle ¶
func (h *UnitedDeploymentCreateUpdateHandler) Handle(ctx context.Context, req types.Request) types.Response
Handle handles admission requests.
func (*UnitedDeploymentCreateUpdateHandler) InjectDecoder ¶
func (h *UnitedDeploymentCreateUpdateHandler) InjectDecoder(d types.Decoder) error
InjectDecoder injects the decoder into the UnitedDeploymentCreateUpdateHandler
Click to show internal directories.
Click to hide internal directories.