v1alpha1

package
v0.68.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupVMDistributedWebhookWithManager

func SetupVMDistributedWebhookWithManager(mgr ctrl.Manager) error

SetupVMDistributedWebhookWithManager will setup the manager to manage the webhooks

Types

type VMDistributedCustomValidator

type VMDistributedCustomValidator struct{}

+kubebuilder:webhook:path=/validate-operator-victoriametrics-com-v1alpha1-vmdistributed,mutating=false,failurePolicy=fail,sideEffects=None,groups=operator.victoriametrics.com,resources=vmdistributed,verbs=create;update,versions=v1alpha1,name=vmdistributed-v1alpha1.kb.io,admissionReviewVersions=v1

func (*VMDistributedCustomValidator) ValidateCreate

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

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

func (*VMDistributedCustomValidator) ValidateDelete

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

func (*VMDistributedCustomValidator) ValidateUpdate

func (*VMDistributedCustomValidator) ValidateUpdate(ctx context.Context, _, newObj runtime.Object) (warnings admission.Warnings, err error)

ValidateUpdate implements admission.CustomValidator 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