v1beta1

package
v0.61.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupVLogsWebhookWithManager

func SetupVLogsWebhookWithManager(mgr ctrl.Manager) error

SetupVLogsWebhookWithManager will setup the manager to manage the webhooks

func SetupVMAgentWebhookWithManager

func SetupVMAgentWebhookWithManager(mgr ctrl.Manager) error

SetupVMAgentWebhookWithManager will setup the manager to manage the webhooks

func SetupVMAlertWebhookWithManager

func SetupVMAlertWebhookWithManager(mgr ctrl.Manager) error

SetupVMAlertWebhookWithManager will setup the manager to manage the webhooks

func SetupVMAlertmanagerConfigWebhookWithManager

func SetupVMAlertmanagerConfigWebhookWithManager(mgr ctrl.Manager) error

SetupVMAlertmanagerConfigWebhookWithManager will setup the manager to manage the webhooks

func SetupVMAlertmanagerWebhookWithManager

func SetupVMAlertmanagerWebhookWithManager(mgr ctrl.Manager) error

SetupVMAlertmanagerWebhookWithManager will setup the manager to manage the webhooks

func SetupVMAuthWebhookWithManager

func SetupVMAuthWebhookWithManager(mgr ctrl.Manager) error

SetupVMAuthWebhookWithManager will setup the manager to manage the webhooks

func SetupVMClusterWebhookWithManager

func SetupVMClusterWebhookWithManager(mgr ctrl.Manager) error

SetupVMClusterWebhookWithManager will setup the manager to manage the webhooks

func SetupVMNodeScrapeWebhookWithManager added in v0.59.0

func SetupVMNodeScrapeWebhookWithManager(mgr ctrl.Manager) error

SetupVMNodeScrapeWebhookWithManager will setup the manager to manage the webhooks

func SetupVMPodScrapeWebhookWithManager added in v0.59.0

func SetupVMPodScrapeWebhookWithManager(mgr ctrl.Manager) error

SetupVMPodScrapeWebhookWithManager will setup the manager to manage the webhooks

func SetupVMProbeWebhookWithManager added in v0.59.0

func SetupVMProbeWebhookWithManager(mgr ctrl.Manager) error

SetupVMProbeWebhookWithManager will setup the manager to manage the webhooks

func SetupVMRuleWebhookWithManager

func SetupVMRuleWebhookWithManager(mgr ctrl.Manager) error

SetupVMRuleWebhookWithManager will setup the manager to manage the webhooks

func SetupVMScrapeConfigWebhookWithManager added in v0.59.0

func SetupVMScrapeConfigWebhookWithManager(mgr ctrl.Manager) error

SetupVMScrapeConfigWebhookWithManager will setup the manager to manage the webhooks

func SetupVMServiceScrapeWebhookWithManager added in v0.59.0

func SetupVMServiceScrapeWebhookWithManager(mgr ctrl.Manager) error

SetupVMServiceScrapeWebhookWithManager will setup the manager to manage the webhooks

func SetupVMSingleWebhookWithManager

func SetupVMSingleWebhookWithManager(mgr ctrl.Manager) error

SetupVMSingleWebhookWithManager will setup the manager to manage the webhooks

func SetupVMStaticScrapeWebhookWithManager added in v0.59.0

func SetupVMStaticScrapeWebhookWithManager(mgr ctrl.Manager) error

SetupVMStaticScrapeWebhookWithManager will setup the manager to manage the webhooks

func SetupVMUserWebhookWithManager

func SetupVMUserWebhookWithManager(mgr ctrl.Manager) error

SetupVMUserWebhookWithManager will setup the manager to manage the webhooks

Types

type VLogsCustomValidator

type VLogsCustomValidator struct{}

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

func (*VLogsCustomValidator) ValidateCreate

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

func (*VLogsCustomValidator) ValidateDelete

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

func (*VLogsCustomValidator) ValidateUpdate

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

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

type VMAgentCustomValidator

type VMAgentCustomValidator struct{}

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

func (*VMAgentCustomValidator) ValidateCreate

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

func (*VMAgentCustomValidator) ValidateDelete

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

func (*VMAgentCustomValidator) ValidateUpdate

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

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

type VMAlertCustomValidator

type VMAlertCustomValidator struct{}

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

func (*VMAlertCustomValidator) ValidateCreate

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

func (*VMAlertCustomValidator) ValidateDelete

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

func (*VMAlertCustomValidator) ValidateUpdate

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

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

type VMAlertmanagerConfigCustomValidator

type VMAlertmanagerConfigCustomValidator struct{}

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

func (*VMAlertmanagerConfigCustomValidator) ValidateCreate

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

func (*VMAlertmanagerConfigCustomValidator) ValidateDelete

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

func (*VMAlertmanagerConfigCustomValidator) ValidateUpdate

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

type VMAlertmanagerCustomValidator

type VMAlertmanagerCustomValidator struct{}

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

func (*VMAlertmanagerCustomValidator) ValidateCreate

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

func (*VMAlertmanagerCustomValidator) ValidateDelete

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

func (*VMAlertmanagerCustomValidator) ValidateUpdate

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

type VMAuthCustomValidator

type VMAuthCustomValidator struct{}

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

func (*VMAuthCustomValidator) ValidateCreate

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

func (*VMAuthCustomValidator) ValidateDelete

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

func (*VMAuthCustomValidator) ValidateUpdate

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

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

type VMClusterCustomValidator

type VMClusterCustomValidator struct{}

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

func (*VMClusterCustomValidator) ValidateCreate

func (*VMClusterCustomValidator) 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 (*VMClusterCustomValidator) ValidateDelete

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

func (*VMClusterCustomValidator) ValidateUpdate

func (*VMClusterCustomValidator) 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

type VMNodeScrapeCustomValidator added in v0.59.0

type VMNodeScrapeCustomValidator struct{}

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

func (*VMNodeScrapeCustomValidator) ValidateCreate added in v0.59.0

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

func (*VMNodeScrapeCustomValidator) ValidateDelete added in v0.59.0

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

func (*VMNodeScrapeCustomValidator) ValidateUpdate added in v0.59.0

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

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

type VMPodScrapeCustomValidator added in v0.59.0

type VMPodScrapeCustomValidator struct{}

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

func (*VMPodScrapeCustomValidator) ValidateCreate added in v0.59.0

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

func (*VMPodScrapeCustomValidator) ValidateDelete added in v0.59.0

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

func (*VMPodScrapeCustomValidator) ValidateUpdate added in v0.59.0

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

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

type VMProbeCustomValidator added in v0.59.0

type VMProbeCustomValidator struct{}

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

func (*VMProbeCustomValidator) ValidateCreate added in v0.59.0

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

func (*VMProbeCustomValidator) ValidateDelete added in v0.59.0

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

func (*VMProbeCustomValidator) ValidateUpdate added in v0.59.0

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

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

type VMRuleCustomValidator

type VMRuleCustomValidator struct{}

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

func (*VMRuleCustomValidator) ValidateCreate

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

func (*VMRuleCustomValidator) ValidateDelete

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

func (*VMRuleCustomValidator) ValidateUpdate

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

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

type VMScrapeConfigCustomValidator added in v0.59.0

type VMScrapeConfigCustomValidator struct{}

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

func (*VMScrapeConfigCustomValidator) ValidateCreate added in v0.59.0

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

func (*VMScrapeConfigCustomValidator) ValidateDelete added in v0.59.0

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

func (*VMScrapeConfigCustomValidator) ValidateUpdate added in v0.59.0

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

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

type VMServiceScrapeCustomValidator added in v0.59.0

type VMServiceScrapeCustomValidator struct{}

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

func (*VMServiceScrapeCustomValidator) ValidateCreate added in v0.59.0

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

func (*VMServiceScrapeCustomValidator) ValidateDelete added in v0.59.0

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

func (*VMServiceScrapeCustomValidator) ValidateUpdate added in v0.59.0

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

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

type VMSingleCustomValidator

type VMSingleCustomValidator struct{}

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

func (*VMSingleCustomValidator) ValidateCreate

func (*VMSingleCustomValidator) 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 (*VMSingleCustomValidator) ValidateDelete

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

func (*VMSingleCustomValidator) ValidateUpdate

func (*VMSingleCustomValidator) 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

type VMStaticScrapeCustomValidator added in v0.59.0

type VMStaticScrapeCustomValidator struct{}

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

func (*VMStaticScrapeCustomValidator) ValidateCreate added in v0.59.0

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

func (*VMStaticScrapeCustomValidator) ValidateDelete added in v0.59.0

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

func (*VMStaticScrapeCustomValidator) ValidateUpdate added in v0.59.0

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

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

type VMUserCustomValidator

type VMUserCustomValidator struct{}

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

func (*VMUserCustomValidator) ValidateCreate

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

func (*VMUserCustomValidator) ValidateDelete

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

func (*VMUserCustomValidator) ValidateUpdate

func (*VMUserCustomValidator) 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