MCPcopy Create free account

hub / github.com/VictoriaMetrics/operator / functions

Functions3,239 in github.com/VictoriaMetrics/operator

↓ 1 callersFunctionUpdatePodAnnotations
UpdatePodAnnotations - updates configmap-sync-time annotation it triggers config rules reload for vmalert
internal/controller/operator/factory/k8stools/client_utils.go:90
↓ 1 callersMethodUpdatePodMonitor
UpdatePodMonitor updates VMPodScrape
internal/controller/operator/vmprometheusconverter_controller.go:450
↓ 1 callersMethodUpdateProbe
UpdateProbe updates VMProbe
internal/controller/operator/vmprometheusconverter_controller.go:619
↓ 1 callersMethodUpdatePrometheusRule
UpdatePrometheusRule updates vmrule
internal/controller/operator/vmprometheusconverter_controller.go:334
↓ 1 callersMethodUpdateScrapeConfig
UpdateScrapeConfig updates VMScrapeConfig
internal/controller/operator/vmprometheusconverter_controller.go:684
↓ 1 callersMethodUpdateServiceMonitor
UpdateServiceMonitor updates VMServiceMonitor
internal/controller/operator/vmprometheusconverter_controller.go:392
↓ 1 callersMethodUseTLS
UseTLS returns true if TLS is enabled
api/operator/v1beta1/vmalertmanager_types.go:420
↓ 1 callersMethodV1
V1 provides access to shared informers for resources in V1.
api/client/informers/externalversions/operator/interface.go:30
↓ 1 callersMethodV1alpha1
V1alpha1 provides access to shared informers for resources in V1alpha1.
api/client/informers/externalversions/operator/interface.go:32
↓ 1 callersMethodV1beta1
V1beta1 provides access to shared informers for resources in V1beta1.
api/client/informers/externalversions/operator/interface.go:34
↓ 1 callersMethodValidate
()
api/operator/v1beta1/vmagent_types.go:130
↓ 1 callersMethodValidate
Validate validates the VMDistributed resource
api/operator/v1alpha1/vmdistributed_types.go:443
↓ 1 callersFunctionValidateAlertmanagerConfigSpec
ValidateAlertmanagerConfigSpec verifies that provided raw alertmanger configuration is logically valid according to alertmanager config parser
api/operator/v1beta1/vmalertmanagerconfig_types.go:1280
↓ 1 callersFunctionWithNamespace
WithNamespace limits the SharedInformerFactory to the specified namespace.
api/client/informers/externalversions/factory.go:76
↓ 1 callersFunctionWithTweakListOptions
WithTweakListOptions sets a custom filter on all listers of the configured SharedInformerFactory.
api/client/informers/externalversions/factory.go:68
↓ 1 callersMethodadd
(id string)
internal/controller/operator/factory/vmdistributed/zone.go:392
↓ 1 callersFunctionaddAttachment
(name string, mimeType MimeType, content []byte)
test/e2e/suite/allure/attachment.go:40
↓ 1 callersFunctionaddFeatureFlags
addFeatureFlags adds features based on alertmanager version https://github.com/prometheus/alertmanager/blob/main/featurecontrol/featurecontrol.go#L23
internal/controller/operator/factory/vmalertmanager/statefulset.go:647
↓ 1 callersMethodaddFullName
(fullName string)
test/e2e/suite/allure/result.go:68
↓ 1 callersFunctionaddIPFiltersToYaml
AddToYaml conditionally adds ip filters to dst yaml
internal/controller/operator/factory/vmauth/vmusers_config.go:559
↓ 1 callersMethodaddName
(name string)
test/e2e/suite/allure/step.go:24
↓ 1 callersFunctionaddOwnerReferenceIfAbsent
(obj client.Object, owner *metav1.OwnerReference)
internal/controller/operator/factory/reconcile/reconcile.go:189
↓ 1 callersMethodaddParentSuite
(parentSuite string)
test/e2e/suite/allure/result.go:51
↓ 1 callersFunctionaddRelabelConfigs
(dst []yaml.MapSlice, rcs []*vmv1beta1.RelabelConfig)
internal/controller/operator/factory/vmagent/vmagent_scrapeconfig.go:285
↓ 1 callersFunctionaddRemoteWriteAssetsToVolumes
(dstVolumes []corev1.Volume, dstMounts []corev1.VolumeMount, cr *vmv1.VLAgent)
internal/controller/operator/factory/vlagent/vlagent.go:480
↓ 1 callersMethodaddSuite
(suite string)
test/e2e/suite/allure/result.go:46
↓ 1 callersFunctionaddVMInsertPaths
(src []string)
internal/controller/operator/factory/vmauth/vmusers_config.go:915
↓ 1 callersFunctionaddVMSelectPaths
(src []string)
internal/controller/operator/factory/vmauth/vmusers_config.go:926
↓ 1 callersFunctionaddWebhooks
(mgr ctrl.Manager)
internal/manager/manager.go:367
↓ 1 callersMethodasPodFQDN
returns fqdn for direct pod access
api/operator/v1beta1/vmalertmanager_types.go:407
↓ 1 callersFunctionassertLabelsOnObjects
nolint:dupl,lll
test/e2e/utils_test.go:253
↓ 1 callersFunctionbeforeEach
(o opts)
internal/controller/operator/factory/vmdistributed/vmdistributed_test.go:82
↓ 1 callersFunctionbucketSize
(bucket map[string]string)
internal/controller/operator/factory/vmalert/rules.go:198
↓ 1 callersMethodbuild
(cr *vmv1.VMAnomaly, ac *build.AssetsCache)
internal/controller/operator/factory/vmanomaly/config/config.go:94
↓ 1 callersFunctionbuildAuthArgs
(args []string, namespace, flagPrefix string, cfg vmv1beta1.HTTPAuth, ac *build.AssetsCache)
internal/controller/operator/factory/vmalert/vmalert.go:369
↓ 1 callersFunctionbuildCR
(cr *vmv1beta1.VMAgent)
internal/controller/operator/factory/vmagent/rbac.go:159
↓ 1 callersFunctionbuildCR
(cr *vmv1.VLAgent)
internal/controller/operator/factory/vlagent/rbac.go:68
↓ 1 callersFunctionbuildCRB
(cr *vmv1beta1.VMAgent)
internal/controller/operator/factory/vmagent/rbac.go:137
↓ 1 callersFunctionbuildCRB
(cr *vmv1.VLAgent)
internal/controller/operator/factory/vlagent/rbac.go:48
↓ 1 callersMethodbuildCfg
(receiver vmv1beta1.Receiver)
internal/controller/operator/factory/vmalertmanager/config.go:397
↓ 1 callersMethodbuildConfig
(cr *vmv1beta1.VMAlertmanager, baseCfg []byte, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:21
↓ 1 callersFunctionbuildConfigSecretMeta
(cr *vmv1beta1.VMAlertmanager)
internal/controller/operator/factory/vmalertmanager/statefulset.go:575
↓ 1 callersFunctionbuildConfigSecretMeta
(cr *vmv1beta1.VMAuth)
internal/controller/operator/factory/vmauth/vmauth.go:447
↓ 1 callersFunctionbuildDescription
(specReport ginkgo.SpecReport)
test/e2e/suite/allure/result.go:215
↓ 1 callersMethodbuildDiscord
(dc vmv1beta1.DiscordConfig)
internal/controller/operator/factory/vmalertmanager/config.go:567
↓ 1 callersMethodbuildEmail
(email vmv1beta1.EmailConfig)
internal/controller/operator/factory/vmalertmanager/config.go:1392
↓ 1 callersFunctionbuildGlobalTimeIntervals
(cr *vmv1beta1.VMAlertmanagerConfig)
internal/controller/operator/factory/vmalertmanager/config.go:159
↓ 1 callersFunctionbuildHTTPClient
()
cmd/config-reloader/main.go:145
↓ 1 callersFunctionbuildHeadersArg
(flagName string, src []string, headers []string)
internal/controller/operator/factory/vmalert/vmalert.go:356
↓ 1 callersMethodbuildIncidentIO
(rc vmv1beta1.IncidentioConfig)
internal/controller/operator/factory/vmalertmanager/config.go:758
↓ 1 callersFunctionbuildInhibitRule
(namespace string, rule vmv1beta1.InhibitRule, mustAddNamespaceMatcher bool)
internal/controller/operator/factory/vmalertmanager/config.go:278
↓ 1 callersMethodbuildJira
(jira vmv1beta1.JiraConfig)
internal/controller/operator/factory/vmalertmanager/config.go:695
↓ 1 callersMethodbuildOpsGenie
(og vmv1beta1.OpsGenieConfig)
internal/controller/operator/factory/vmalertmanager/config.go:1454
↓ 1 callersMethodbuildPagerDuty
(pd vmv1beta1.PagerDutyConfig)
internal/controller/operator/factory/vmalertmanager/config.go:1297
↓ 1 callersMethodbuildPushOver
(po vmv1beta1.PushoverConfig)
internal/controller/operator/factory/vmalertmanager/config.go:1252
↓ 1 callersFunctionbuildRB
buildRB builds the RoleBinding for ns. The subject always points to the vmagent service account in cr.Namespace. An owner reference is set only in cr'
internal/controller/operator/factory/vmagent/rbac.go:223
↓ 1 callersFunctionbuildReceiver
( cr *vmv1beta1.VMAlertmanagerConfig, receiver vmv1beta1.Receiver, globalCfg *globalAlertmanagerConfig, ac
internal/controller/operator/factory/vmalertmanager/config.go:349
↓ 1 callersFunctionbuildRelabelingsAssets
buildRelabelingsAssets combines all possible relabeling config configuration and adding it to the configmap.
internal/controller/operator/factory/vmagent/vmagent.go:736
↓ 1 callersMethodbuildRocketchat
(rc vmv1beta1.RocketchatConfig)
internal/controller/operator/factory/vmalertmanager/config.go:795
↓ 1 callersFunctionbuildRole
(cr *vmv1beta1.VMAlertmanager)
internal/controller/operator/factory/vmalertmanager/rbac.go:44
↓ 1 callersFunctionbuildRole
buildRole builds the Role for ns. In cr's own namespace: includes the scoped secrets rule (for config-reloader) plus SD rules, with an owner reference
internal/controller/operator/factory/vmagent/rbac.go:202
↓ 1 callersFunctionbuildRole
(cr *vmv1beta1.VMAuth)
internal/controller/operator/factory/vmauth/rbac.go:44
↓ 1 callersFunctionbuildRoleBinding
(cr *vmv1beta1.VMAlertmanager)
internal/controller/operator/factory/vmalertmanager/rbac.go:63
↓ 1 callersFunctionbuildRoleBinding
(cr *vmv1beta1.VMAuth)
internal/controller/operator/factory/vmauth/rbac.go:63
↓ 1 callersFunctionbuildRoute
(cr *vmv1beta1.VMAlertmanagerConfig, cfgRoute *vmv1beta1.Route, topLevel bool, alertmanagerCR *vmv1beta1.VMAle
internal/controller/operator/factory/vmalertmanager/config.go:208
↓ 1 callersMethodbuildSNS
(sns vmv1beta1.SnsConfig)
internal/controller/operator/factory/vmalertmanager/config.go:607
↓ 1 callersFunctionbuildSTSServiceName
(cr *vmv1beta1.VMAgent)
internal/controller/operator/factory/vmagent/vmagent.go:473
↓ 1 callersFunctionbuildScrape
(cr *vmv1beta1.VMAlertmanager, svc *corev1.Service)
internal/controller/operator/factory/vmalertmanager/statefulset.go:112
↓ 1 callersFunctionbuildScrape
(cr *vmv1beta1.VMAlert, svc *corev1.Service)
internal/controller/operator/factory/vmalert/vmalert.go:38
↓ 1 callersFunctionbuildScrape
(cr *vmv1.VTSingle, svc *corev1.Service)
internal/controller/operator/factory/vtsingle/vtsingle.go:275
↓ 1 callersFunctionbuildScrape
(cr *vmv1.VLSingle, svc *corev1.Service)
internal/controller/operator/factory/vlsingle/vlsingle.go:284
↓ 1 callersFunctionbuildScrape
(cr *vmv1.VLAgent)
internal/controller/operator/factory/vlagent/vlagent.go:77
↓ 1 callersFunctionbuildScrape
(cr *vmv1.VMAnomaly)
internal/controller/operator/factory/vmanomaly/statefulset.go:27
↓ 1 callersFunctionbuildScrape
(cr *vmv1beta1.VMAuth, svc *corev1.Service)
internal/controller/operator/factory/vmauth/vmauth.go:668
↓ 1 callersFunctionbuildScrape
(cr *vmv1beta1.VMSingle, svc *corev1.Service)
internal/controller/operator/factory/vmsingle/vmsingle.go:322
↓ 1 callersFunctionbuildService
(cr *vmv1beta1.VMAlertmanager)
internal/controller/operator/factory/vmalertmanager/statefulset.go:86
↓ 1 callersMethodbuildSlack
(slack vmv1beta1.SlackConfig)
internal/controller/operator/factory/vmalertmanager/config.go:950
↓ 1 callersFunctionbuildStatusPatch
(currentStatus any)
internal/controller/operator/factory/reconcile/status.go:240
↓ 1 callersFunctionbuildStreamAggrConfig
buildStreamAggrConfig combines all possible stream aggregation configs and adding it to the configmap.
internal/controller/operator/factory/vmagent/vmagent.go:807
↓ 1 callersFunctionbuildStreamAggrConfig
buildStreamAggrConfig build configmap with stream aggregation config for vmsingle.
internal/controller/operator/factory/vmsingle/vmsingle.go:392
↓ 1 callersMethodbuildTeams
(ms vmv1beta1.MSTeamsConfig)
internal/controller/operator/factory/vmalertmanager/config.go:530
↓ 1 callersMethodbuildTeamsV2
(mstCfg vmv1beta1.MSTeamsV2Config)
internal/controller/operator/factory/vmalertmanager/config.go:1058
↓ 1 callersMethodbuildTelegram
(tg vmv1beta1.TelegramConfig)
internal/controller/operator/factory/vmalertmanager/config.go:910
↓ 1 callersFunctionbuildTracingConfig
builds configuration according to https://prometheus.io/docs/alerting/latest/configuration/#tracing-configuration
internal/controller/operator/factory/vmalertmanager/config.go:1586
↓ 1 callersFunctionbuildUnauthorizedConfig
(cr *vmv1beta1.VMAuth, crdURLCache map[string]string, ac *build.AssetsCache)
internal/controller/operator/factory/vmauth/vmusers_config.go:395
↓ 1 callersFunctionbuildUserSecret
note, username and password must be filled by operator with default values if need.
internal/controller/operator/factory/vmauth/vmusers_config.go:882
↓ 1 callersFunctionbuildVLInsertDeployment
(cr *vmv1.VLCluster)
internal/controller/operator/factory/vlcluster/vlinsert.go:89
↓ 1 callersFunctionbuildVLInsertPodSpec
(cr *vmv1.VLCluster)
internal/controller/operator/factory/vlcluster/vlinsert.go:126
↓ 1 callersFunctionbuildVLInsertScrape
(cr *vmv1.VLCluster, svc *corev1.Service)
internal/controller/operator/factory/vlcluster/vlinsert.go:304
↓ 1 callersFunctionbuildVLInsertService
(cr *vmv1.VLCluster)
internal/controller/operator/factory/vlcluster/vlinsert.go:367
↓ 1 callersFunctionbuildVLSelectDeployment
(cr *vmv1.VLCluster)
internal/controller/operator/factory/vlcluster/vlselect.go:200
↓ 1 callersFunctionbuildVLSelectPodSpec
(cr *vmv1.VLCluster)
internal/controller/operator/factory/vlcluster/vlselect.go:232
↓ 1 callersFunctionbuildVLSelectScrape
(cr *vmv1.VLCluster, svc *corev1.Service)
internal/controller/operator/factory/vlcluster/vlselect.go:101
↓ 1 callersFunctionbuildVLSelectService
(cr *vmv1.VLCluster)
internal/controller/operator/factory/vlcluster/vlselect.go:160
↓ 1 callersFunctionbuildVLStoragePodSpec
(cr *vmv1.VLCluster)
internal/controller/operator/factory/vlcluster/vlstorage.go:222
↓ 1 callersFunctionbuildVLStorageSTSSpec
(cr *vmv1.VLCluster)
internal/controller/operator/factory/vlcluster/vlstorage.go:183
↓ 1 callersFunctionbuildVLStorageScrape
(cr *vmv1.VLCluster, svc *corev1.Service)
internal/controller/operator/factory/vlcluster/vlstorage.go:61
↓ 1 callersFunctionbuildVMAgentPodScrape
(cr *vmv1beta1.VMAgent)
internal/controller/operator/factory/vmagent/vmagent.go:59
↓ 1 callersFunctionbuildVMAgentServiceScrape
(cr *vmv1beta1.VMAgent, svc *corev1.Service)
internal/controller/operator/factory/vmagent/vmagent.go:52
↓ 1 callersFunctionbuildVMAuthLBDeployment
(cr *vmv1beta1.VMCluster)
internal/controller/operator/factory/vmcluster/vmcluster.go:1481
← previousnext →901–1,000 of 3,239, ranked by callers