v1

package
v0.60.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupVLClusterWebhookWithManager

func SetupVLClusterWebhookWithManager(mgr ctrl.Manager) error

SetupVLClusterWebhookWithManager will setup the manager to manage the webhooks

func SetupVLSingleWebhookWithManager

func SetupVLSingleWebhookWithManager(mgr ctrl.Manager) error

SetupVLSingleWebhookWithManager will setup the manager to manage the webhooks

func SetupVMAnomalyWebhookWithManager added in v0.60.0

func SetupVMAnomalyWebhookWithManager(mgr ctrl.Manager) error

SetupVMAnomalyWebhookWithManager registers the webhook for VMAnomaly in the manager.

Types

type VLClusterCustomValidator

type VLClusterCustomValidator struct{}

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

func (*VLClusterCustomValidator) ValidateCreate

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

func (*VLClusterCustomValidator) ValidateDelete

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

func (*VLClusterCustomValidator) ValidateUpdate

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

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

type VLSingleCustomValidator

type VLSingleCustomValidator struct{}

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

func (*VLSingleCustomValidator) ValidateCreate

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

func (*VLSingleCustomValidator) ValidateDelete

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

func (*VLSingleCustomValidator) ValidateUpdate

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

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

type VMAnomalyCustomValidator added in v0.60.0

type VMAnomalyCustomValidator struct{}

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

func (*VMAnomalyCustomValidator) ValidateCreate added in v0.60.0

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

func (*VMAnomalyCustomValidator) ValidateDelete added in v0.60.0

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

func (*VMAnomalyCustomValidator) ValidateUpdate added in v0.60.0

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

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

Jump to

Keyboard shortcuts

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