Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuarantineHandler ¶
type QuarantineHandler struct { Client client.Client Decoder *admission.Decoder Log logr.Logger Object *v1alpha1.Quarantine }
QuarantineHandler represents struct for validating a quarantine resource
func (*QuarantineHandler) ValidateCreate ¶
func (h *QuarantineHandler) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*QuarantineHandler) ValidateDelete ¶
func (h *QuarantineHandler) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*QuarantineHandler) ValidateUpdate ¶
func (h *QuarantineHandler) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
Click to show internal directories.
Click to hide internal directories.