webhook

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCheckoutValidatorToManager

func AddCheckoutValidatorToManager(mgr manager.Manager) error

func AddPoolValidatorToManager

func AddPoolValidatorToManager(mgr manager.Manager) error

Types

type CheckoutRBACValidatorHandler added in v0.2.0

type CheckoutRBACValidatorHandler struct {
	// contains filtered or unexported fields
}

CheckoutRBACValidatorHandler performs access control validation for the Checkout type.

func (*CheckoutRBACValidatorHandler) Handle added in v0.2.0

func (*CheckoutRBACValidatorHandler) InjectDecoder added in v0.2.0

func (crvh *CheckoutRBACValidatorHandler) InjectDecoder(d *admission.Decoder) error

func (*CheckoutRBACValidatorHandler) InjectMapper added in v0.2.0

func (crvh *CheckoutRBACValidatorHandler) InjectMapper(m meta.RESTMapper) error

type CheckoutValidator added in v0.2.0

type CheckoutValidator struct {
	*pvpoolv1alpha1.Checkout `json:",inline"`
}

CheckoutValidator extends the Checkout type to provide validation.

+kubebuilder:object:root=true

func (*CheckoutValidator) DeepCopy added in v0.2.0

func (in *CheckoutValidator) DeepCopy() *CheckoutValidator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckoutValidator.

func (*CheckoutValidator) DeepCopyInto added in v0.2.0

func (in *CheckoutValidator) DeepCopyInto(out *CheckoutValidator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CheckoutValidator) DeepCopyObject added in v0.2.0

func (in *CheckoutValidator) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CheckoutValidator) ValidateCreate added in v0.2.0

func (cv *CheckoutValidator) ValidateCreate() error

func (*CheckoutValidator) ValidateDelete added in v0.2.0

func (cv *CheckoutValidator) ValidateDelete() error

func (*CheckoutValidator) ValidateUpdate added in v0.2.0

func (cv *CheckoutValidator) ValidateUpdate(old runtime.Object) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL