v1alpha1

package
v0.0.0-...-d0ef8b3 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupVRFWebhookWithManager

func SetupVRFWebhookWithManager(mgr ctrl.Manager) error

SetupVRFWebhookWithManager registers the webhook for VRF in the manager.

Types

type VRFCustomValidator

type VRFCustomValidator struct{}

VRFCustomValidator struct is responsible for validating the VRF resource when it is created, updated, or deleted.

func (*VRFCustomValidator) ValidateCreate

func (v *VRFCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type VRF.

func (*VRFCustomValidator) ValidateDelete

func (v *VRFCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type VRF.

func (*VRFCustomValidator) ValidateUpdate

func (v *VRFCustomValidator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type VRF.

Jump to

Keyboard shortcuts

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