Documentation ¶
Overview ¶
Package webhooks implements webhooks.
Index ¶
- Constants
- type InfobloxIPPool
- func (webhook *InfobloxIPPool) Default(_ context.Context, _ runtime.Object) error
- func (webhook *InfobloxIPPool) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *InfobloxIPPool) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (webhook *InfobloxIPPool) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (webhook *InfobloxIPPool) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
View Source
const ( // SkipValidateDeleteWebhookAnnotation is an annotation that can be applied // to the InClusterIPPool or GlobalInClusterIPPool to skip delete // validation. Necessary for clusterctl move to work as expected. SkipValidateDeleteWebhookAnnotation = "ipam.cluster.x-k8s.io/skip-validate-delete-webhook" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfobloxIPPool ¶
InfobloxIPPool implements a validating and defaulting webhook for InfobloxIPPool.
func (*InfobloxIPPool) SetupWebhookWithManager ¶
func (webhook *InfobloxIPPool) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*InfobloxIPPool) ValidateCreate ¶
func (webhook *InfobloxIPPool) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type.
func (*InfobloxIPPool) ValidateDelete ¶
func (webhook *InfobloxIPPool) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type.
func (*InfobloxIPPool) ValidateUpdate ¶
func (webhook *InfobloxIPPool) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type.
Click to show internal directories.
Click to hide internal directories.