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: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BFBFileNameExtension = ".bfb"
)

Variables

This section is empty.

Functions

func ValidateNodeEffect

func ValidateNodeEffect(nodeEffect provisioningv1.NodeEffect) error

Types

type BFB

type BFB struct{}

BFB implements a webhook for the BFB object.

func (*BFB) Default

func (r *BFB) Default(ctx context.Context, obj runtime.Object) error

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*BFB) SetupWebhookWithManager

func (r *BFB) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*BFB) ValidateCreate

func (r *BFB) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*BFB) ValidateDelete

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

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

func (*BFB) ValidateUpdate

func (r *BFB) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

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

type DPU

type DPU struct{}

DPU implements the webhook for the DPU object.

func (*DPU) SetupWebhookWithManager

func (r *DPU) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*DPU) ValidateCreate

func (r *DPU) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*DPU) ValidateDelete

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

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

func (*DPU) ValidateUpdate

func (r *DPU) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

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

type DPUFlavor

type DPUFlavor struct{}

DPUFlavor implements a webhook for the DPUFlavor object.

func (*DPUFlavor) SetupWebhookWithManager

func (r *DPUFlavor) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager will setup the manager to manage the webhooks

func (*DPUFlavor) ValidateCreate

func (r *DPUFlavor) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*DPUFlavor) ValidateDelete

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

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

func (*DPUFlavor) ValidateUpdate

func (r *DPUFlavor) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

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

type DPUSet

type DPUSet struct{}

DPUSet implements the webhooks for the DPUSet type.

func (*DPUSet) Default

func (r *DPUSet) Default(ctx context.Context, obj runtime.Object) error

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*DPUSet) SetupWebhookWithManager

func (r *DPUSet) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*DPUSet) ValidateCreate

func (r *DPUSet) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*DPUSet) ValidateDelete

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

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

func (*DPUSet) ValidateUpdate

func (r *DPUSet) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

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

Jump to

Keyboard shortcuts

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