Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StaticCreate ¶
type StaticCreate struct{}
StaticCreate runs basic Binding validation for Create operation.
type ValidationHandler ¶
type ValidationHandler struct { CreateValidators []Validator UpdateValidators []Validator // contains filtered or unexported fields }
func NewValidationHandler ¶
func NewValidationHandler(log log.FieldLogger) *ValidationHandler
func (*ValidationHandler) InjectClient ¶
func (h *ValidationHandler) InjectClient(c client.Client) error
InjectClient injects the client into the handlers
func (*ValidationHandler) InjectDecoder ¶
func (h *ValidationHandler) InjectDecoder(d *admission.Decoder) error
Click to show internal directories.
Click to hide internal directories.