Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterValidatingHandler ¶
RegisterValidatingHandler will register ComponentDefinition validation to webhook
Types ¶
type ValidatingHandler ¶
type ValidatingHandler struct { // Decoder decodes object Decoder *admission.Decoder Client client.Client }
ValidatingHandler handles validation of policy definition
func (*ValidatingHandler) InjectClient ¶
func (h *ValidatingHandler) InjectClient(c client.Client) error
InjectClient injects the client into the ApplicationValidateHandler
func (*ValidatingHandler) InjectDecoder ¶
func (h *ValidatingHandler) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder into the ValidatingHandler
Click to show internal directories.
Click to hide internal directories.