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

        Handle handles admission requests.

        func (*UnitedDeploymentCreateUpdateHandler) InjectDecoder

          InjectDecoder injects the decoder into the UnitedDeploymentCreateUpdateHandler