webhooks

package
v0.0.0-...-7fc0de4 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DPUServiceIPAMValidator

type DPUServiceIPAMValidator struct {
	Client client.Reader
}

DPUServiceIPAMValidator validates DPUServiceIPAM objects

func (*DPUServiceIPAMValidator) SetupWebhookWithManager

func (v *DPUServiceIPAMValidator) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*DPUServiceIPAMValidator) ValidateCreate

func (v *DPUServiceIPAMValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)

ValidateCreate validates the DPUServiceIPAM object on creation.

func (*DPUServiceIPAMValidator) ValidateDelete

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

ValidateDelete validates the DPUServiceIPAM object on deletion.

func (*DPUServiceIPAMValidator) ValidateUpdate

func (v *DPUServiceIPAMValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (warnings admission.Warnings, err error)

ValidateUpdate validates the DPUServiceIPAM object on update.

Jump to

Keyboard shortcuts

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