Documentation
¶
Index ¶
- func SetupVLogsWebhookWithManager(mgr ctrl.Manager) error
- func SetupVMAgentWebhookWithManager(mgr ctrl.Manager) error
- func SetupVMAlertWebhookWithManager(mgr ctrl.Manager) error
- func SetupVMAlertmanagerConfigWebhookWithManager(mgr ctrl.Manager) error
- func SetupVMAlertmanagerWebhookWithManager(mgr ctrl.Manager) error
- func SetupVMAuthWebhookWithManager(mgr ctrl.Manager) error
- func SetupVMClusterWebhookWithManager(mgr ctrl.Manager) error
- func SetupVMRuleWebhookWithManager(mgr ctrl.Manager) error
- func SetupVMSingleWebhookWithManager(mgr ctrl.Manager) error
- func SetupVMUserWebhookWithManager(mgr ctrl.Manager) error
- type VLogsCustomValidator
- func (*VLogsCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (*VLogsCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (*VLogsCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type VMAgentCustomValidator
- func (*VMAgentCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (*VMAgentCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (*VMAgentCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type VMAlertCustomValidator
- func (*VMAlertCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (*VMAlertCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (*VMAlertCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type VMAlertmanagerConfigCustomValidator
- func (*VMAlertmanagerConfigCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (*VMAlertmanagerConfigCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (*VMAlertmanagerConfigCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type VMAlertmanagerCustomValidator
- func (*VMAlertmanagerCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (*VMAlertmanagerCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (*VMAlertmanagerCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type VMAuthCustomValidator
- func (*VMAuthCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (*VMAuthCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (*VMAuthCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type VMClusterCustomValidator
- func (*VMClusterCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (*VMClusterCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (*VMClusterCustomValidator) ValidateUpdate(ctx context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type VMRuleCustomValidator
- func (*VMRuleCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (*VMRuleCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (*VMRuleCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type VMSingleCustomValidator
- func (*VMSingleCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (*VMSingleCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (*VMSingleCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type VMUserCustomValidator
- func (*VMUserCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (*VMUserCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (*VMUserCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupVLogsWebhookWithManager ¶
SetupVLogsWebhookWithManager will setup the manager to manage the webhooks
func SetupVMAgentWebhookWithManager ¶
SetupVMAgentWebhookWithManager will setup the manager to manage the webhooks
func SetupVMAlertWebhookWithManager ¶
SetupVMAlertWebhookWithManager will setup the manager to manage the webhooks
func SetupVMAlertmanagerConfigWebhookWithManager ¶
SetupVMAlertmanagerConfigWebhookWithManager will setup the manager to manage the webhooks
func SetupVMAlertmanagerWebhookWithManager ¶
SetupVMAlertmanagerWebhookWithManager will setup the manager to manage the webhooks
func SetupVMAuthWebhookWithManager ¶
SetupVMAuthWebhookWithManager will setup the manager to manage the webhooks
func SetupVMClusterWebhookWithManager ¶
SetupVMClusterWebhookWithManager will setup the manager to manage the webhooks
func SetupVMRuleWebhookWithManager ¶
SetupVMRuleWebhookWithManager will setup the manager to manage the webhooks
func SetupVMSingleWebhookWithManager ¶
SetupVMSingleWebhookWithManager will setup the manager to manage the webhooks
func SetupVMUserWebhookWithManager ¶
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 ¶
func (*VLogsCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements admission.CustomValidator so a webhook will be registered for the type
func (*VLogsCustomValidator) ValidateDelete ¶
func (*VLogsCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
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 ¶
func (*VMAgentCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements admission.CustomValidator so a webhook will be registered for the type
func (*VMAgentCustomValidator) ValidateDelete ¶
func (*VMAgentCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
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 ¶
func (*VMAlertCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements admission.CustomValidator so a webhook will be registered for the type
func (*VMAlertCustomValidator) ValidateDelete ¶
func (*VMAlertCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
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 ¶
func (*VMAlertmanagerConfigCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements admission.CustomValidator so a webhook will be registered for the type
func (*VMAlertmanagerConfigCustomValidator) ValidateDelete ¶
func (*VMAlertmanagerConfigCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements admission.CustomValidator so a webhook will be registered for the type
func (*VMAlertmanagerConfigCustomValidator) ValidateUpdate ¶
func (*VMAlertmanagerConfigCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
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 ¶
func (*VMAlertmanagerCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements admission.CustomValidator so a webhook will be registered for the type
func (*VMAlertmanagerCustomValidator) ValidateDelete ¶
func (*VMAlertmanagerCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements admission.CustomValidator so a webhook will be registered for the type
func (*VMAlertmanagerCustomValidator) ValidateUpdate ¶
func (*VMAlertmanagerCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
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 ¶
func (*VMAuthCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*VMAuthCustomValidator) ValidateDelete ¶
func (*VMAuthCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
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) (admission.Warnings, error)
ValidateCreate implements admission.CustomValidator so a webhook will be registered for the type
func (*VMClusterCustomValidator) ValidateDelete ¶
func (*VMClusterCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
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) (admission.Warnings, error)
ValidateUpdate implements admission.CustomValidator 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 ¶
func (*VMRuleCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements admission.CustomValidator so a webhook will be registered for the type
func (*VMRuleCustomValidator) ValidateDelete ¶
func (*VMRuleCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
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 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(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements admission.CustomValidator so a webhook will be registered for the type
func (*VMSingleCustomValidator) ValidateDelete ¶
func (*VMSingleCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements admission.CustomValidator so a webhook will be registered for the type
func (*VMSingleCustomValidator) ValidateUpdate ¶
func (*VMSingleCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements admission.CustomValidator 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 ¶
func (*VMUserCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements admission.CustomValidator so a webhook will be registered for the type
func (*VMUserCustomValidator) ValidateDelete ¶
func (*VMUserCustomValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
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