v1

package
v0.59.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2025 License: Apache-2.0 Imports: 7 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

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

Jump to

Keyboard shortcuts

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