Documentation ¶
Index ¶
- func AddCheckoutValidatorToManager(mgr manager.Manager) error
- func AddPoolValidatorToManager(mgr manager.Manager) error
- type CheckoutValidatorHandler
- type PoolValidator
- func (in *PoolValidator) DeepCopy() *PoolValidator
- func (in *PoolValidator) DeepCopyInto(out *PoolValidator)
- func (in *PoolValidator) DeepCopyObject() runtime.Object
- func (pv *PoolValidator) ValidateCreate() error
- func (pv *PoolValidator) ValidateDelete() error
- func (pv *PoolValidator) ValidateUpdate(old runtime.Object) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CheckoutValidatorHandler ¶
type CheckoutValidatorHandler struct {
// contains filtered or unexported fields
}
CheckoutValidatorHandler performs validation for the Checkout type.
func (*CheckoutValidatorHandler) InjectDecoder ¶
func (cvh *CheckoutValidatorHandler) InjectDecoder(d *admission.Decoder) error
func (*CheckoutValidatorHandler) InjectMapper ¶
func (cvh *CheckoutValidatorHandler) InjectMapper(m meta.RESTMapper) error
type PoolValidator ¶
type PoolValidator struct {
*pvpoolv1alpha1.Pool `json:",inline"`
}
PoolValidator extends the Pool type to provide validation.
+kubebuilder:object:root=true
func (*PoolValidator) DeepCopy ¶
func (in *PoolValidator) DeepCopy() *PoolValidator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolValidator.
func (*PoolValidator) DeepCopyInto ¶
func (in *PoolValidator) DeepCopyInto(out *PoolValidator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PoolValidator) DeepCopyObject ¶
func (in *PoolValidator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PoolValidator) ValidateCreate ¶
func (pv *PoolValidator) ValidateCreate() error
func (*PoolValidator) ValidateDelete ¶
func (pv *PoolValidator) ValidateDelete() error
func (*PoolValidator) ValidateUpdate ¶
func (pv *PoolValidator) ValidateUpdate(old runtime.Object) error
Click to show internal directories.
Click to hide internal directories.