v1

package
v0.66.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupVLAgentWebhookWithManager added in v0.61.0

func SetupVLAgentWebhookWithManager(mgr ctrl.Manager) error

SetupVLAgentWebhookWithManager will setup the manager to manage the webhooks

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.

func SetupVTClusterWebhookWithManager added in v0.63.0

func SetupVTClusterWebhookWithManager(mgr ctrl.Manager) error

SetupVTClusterWebhookWithManager will setup the manager to manage the webhooks

func SetupVTSingleWebhookWithManager added in v0.63.0

func SetupVTSingleWebhookWithManager(mgr ctrl.Manager) error

SetupVTSingleWebhookWithManager will setup the manager to manage the webhooks

Types

type VLAgentCustomValidator added in v0.61.0

type VLAgentCustomValidator struct{}

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

func (*VLAgentCustomValidator) ValidateCreate added in v0.61.0

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

func (*VLAgentCustomValidator) ValidateDelete added in v0.61.0

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

func (*VLAgentCustomValidator) ValidateUpdate added in v0.61.0

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

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

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.

type VTClusterCustomValidator added in v0.63.0

type VTClusterCustomValidator struct{}

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

func (*VTClusterCustomValidator) ValidateCreate added in v0.63.0

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

func (*VTClusterCustomValidator) ValidateDelete added in v0.63.0

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

func (*VTClusterCustomValidator) ValidateUpdate added in v0.63.0

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

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

type VTSingleCustomValidator added in v0.63.0

type VTSingleCustomValidator struct{}

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

func (*VTSingleCustomValidator) ValidateCreate added in v0.63.0

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

func (*VTSingleCustomValidator) ValidateDelete added in v0.63.0

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

func (*VTSingleCustomValidator) ValidateUpdate added in v0.63.0

func (*VTSingleCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, 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