MCPcopy Create free account

hub / github.com/VictoriaMetrics/operator / functions

Functions3,853 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:86
↓ 1 callersMethodUseTLS
UseTLS returns true if TLS is enabled
api/operator/v1beta1/vmalertmanager_types.go:430
↓ 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 callersFunctionVLAgent
VLAgent performs an update or create of VLAgent and waits till it's ready
internal/controller/operator/factory/reconcile/vlagent.go:19
↓ 1 callersFunctionVLCluster
VLCluster performs an update or create of VLCluster and waits till it's ready
internal/controller/operator/factory/reconcile/vlcluster.go:19
↓ 1 callersFunctionVLSingle
VLSingle performs an update or create of VLSingle and waits till it's ready
internal/controller/operator/factory/reconcile/vlsingle.go:19
↓ 1 callersFunctionVMAlertmanagerConfig
VMAlertmanagerConfig creates or updates given object
internal/controller/operator/factory/reconcile/vmalertmanagerconfig.go:19
↓ 1 callersFunctionVMProbe
VMProbe creates or updates given object
internal/controller/operator/factory/reconcile/vmprobe.go:19
↓ 1 callersFunctionVMRule
VMRule performs an update or create of VMRule
internal/controller/operator/factory/reconcile/vmrule.go:18
↓ 1 callersFunctionVMScrapeConfig
VMScrapeConfig creates or updates given object
internal/controller/operator/factory/reconcile/vmscrapeconfig.go:19
↓ 1 callersFunctionVMSingle
VMSingle performs an update or create of VMSingle and waits till it's ready
internal/controller/operator/factory/reconcile/vmsingle.go:18
↓ 1 callersMethodValidate
()
api/operator/v1beta1/vmcluster_types.go:745
↓ 1 callersMethodValidate
()
api/operator/v1beta1/vmagent_types.go:154
↓ 1 callersMethodValidate
()
api/operator/v1beta1/vmsingle_types.go:407
↓ 1 callersMethodValidate
Validate validates the VMDistributed resource nolint:dupl
api/operator/v1alpha1/vmdistributed_types.go:508
↓ 1 callersFunctionValidateAlertmanagerConfigSpec
ValidateAlertmanagerConfigSpec verifies that provided raw alertmanger configuration is logically valid according to alertmanager config parser
api/operator/v1beta1/vmalertmanagerconfig_types.go:1854
↓ 1 callersMethodWaitForCacheSyncWithContext
(ctx context.Context)
api/client/informers/externalversions/factory.go:179
↓ 1 callersFunctionWatchUntilDeleted
WatchUntilDeleted reads events from w until it observes a DELETED event for the named object, or the context deadline is reached.
test/e2e/suite/utils.go:147
↓ 1 callersFunctionWithNamespace
WithNamespace limits the SharedInformerFactory to the specified namespace.
api/client/informers/externalversions/factory.go:79
↓ 1 callersFunctionWithTweakListOptions
WithTweakListOptions sets a custom filter on all listers of the configured SharedInformerFactory.
api/client/informers/externalversions/factory.go:71
↓ 1 callersMethodWorkloadKind
WorkloadKind returns the kind of workload deployed for VLAgent based on the current mode.
api/operator/v1/vlagent_types.go:441
↓ 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:640
↓ 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:625
↓ 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:238
↓ 1 callersMethodaddParentSuite
(parentSuite string)
test/e2e/suite/allure/result.go:51
↓ 1 callersMethodaddPrefix
(string)
internal/controller/operator/factory/vmanomaly/config/models.go:67
↓ 1 callersFunctionaddRemoteWriteAssetsToVolumes
(dstVolumes []corev1.Volume, dstMounts []corev1.VolumeMount, cr *vmv1.VLAgent)
internal/controller/operator/factory/vlagent/vlagent.go:503
↓ 1 callersMethodaddSuite
(suite string)
test/e2e/suite/allure/result.go:46
↓ 1 callersFunctionaddVMInsertPaths
(src []string)
internal/controller/operator/factory/vmauth/vmusers_config.go:1065
↓ 1 callersFunctionaddVMSelectPaths
(src []string)
internal/controller/operator/factory/vmauth/vmusers_config.go:1076
↓ 1 callersFunctionaddWebhooks
(mgr ctrl.Manager, baseConfig *config.BaseOperatorConf)
internal/manager/manager.go:373
↓ 1 callersMethodasPodFQDN
returns fqdn for direct pod access
api/operator/v1beta1/vmalertmanager_types.go:417
↓ 1 callersMethodasVLTLSConfig
asVLTLSConfig converts the flat tls* keys to the v1 API's nested TLSConfig, or nil if none were set.
internal/converter/converter.go:429
↓ 1 callersFunctionassertLabelsOnObjects
nolint:dupl,lll
test/e2e/utils_test.go:216
↓ 1 callersFunctionbeforeEach
(o opts)
internal/controller/operator/factory/vmdistributed/vmdistributed_test.go:96
↓ 1 callersFunctionbeforeEach
(o opts)
internal/controller/operator/factory/vldistributed/vldistributed_test.go:97
↓ 1 callersMethodbuild
(cr *vmv1.VMAnomaly, pos *ParsedObjects, ac *build.AssetsCache)
internal/controller/operator/factory/vmanomaly/config/config.go:174
↓ 1 callersFunctionbuildAuthArgs
(args []string, namespace, flagPrefix string, cfg vmv1beta1.HTTPAuth, ac *build.AssetsCache)
internal/controller/operator/factory/vmalert/vmalert.go:438
↓ 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 callersFunctionbuildCR
(cr *vmv1beta1.VMSingle)
internal/controller/operator/factory/vmsingle/rbac.go:152
↓ 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 callersFunctionbuildCRB
(cr *vmv1beta1.VMSingle)
internal/controller/operator/factory/vmsingle/rbac.go:129
↓ 1 callersMethodbuildConfig
(cr *vmv1beta1.VMAlertmanager, data []byte, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:107
↓ 1 callersFunctionbuildConfigSecretMeta
(cr *vmv1beta1.VMAlertmanager)
internal/controller/operator/factory/vmalertmanager/statefulset.go:568
↓ 1 callersFunctionbuildConfigSecretMeta
(cr *vmv1beta1.VMAuth)
internal/controller/operator/factory/vmauth/vmauth.go:485
↓ 1 callersFunctionbuildDescription
(specReport ginkgo.SpecReport)
test/e2e/suite/allure/result.go:215
↓ 1 callersFunctionbuildDiscord
(rc vmv1beta1.DiscordConfig, ns string, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:641
↓ 1 callersFunctionbuildEmail
(gc *globalConfig, rc vmv1beta1.EmailConfig, ns string, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:1299
↓ 1 callersFunctionbuildGlobalTimeIntervals
(cr *vmv1beta1.VMAlertmanagerConfig)
internal/controller/operator/factory/vmalertmanager/config.go:281
↓ 1 callersFunctionbuildHTTPClient
()
cmd/config-reloader/main.go:170
↓ 1 callersFunctionbuildHeadersArg
(flagName string, src []string, headers []string)
internal/controller/operator/factory/vmalert/vmalert.go:425
↓ 1 callersFunctionbuildIncidentio
(rc vmv1beta1.IncidentioConfig, ns string, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:794
↓ 1 callersFunctionbuildInhibitRule
(ns string, rule vmv1beta1.InhibitRule, mustAddNamespaceMatcher bool)
internal/controller/operator/factory/vmalertmanager/config.go:372
↓ 1 callersFunctionbuildJira
(gc *globalConfig, rc vmv1beta1.JiraConfig, ns string, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:748
↓ 1 callersFunctionbuildMSTeams
(rc vmv1beta1.MSTeamsConfig, ns string, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:528
↓ 1 callersFunctionbuildMSTeamsV2
(rc vmv1beta1.MSTeamsV2Config, ns string, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:1012
↓ 1 callersFunctionbuildMattermost
(rc vmv1beta1.MattermostConfig, ns string, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:557
↓ 1 callersFunctionbuildOpsGenie
(gc *globalConfig, rc vmv1beta1.OpsGenieConfig, ns string, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:1354
↓ 1 callersFunctionbuildPagerDuty
(rc vmv1beta1.PagerDutyConfig, ns string, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:1217
↓ 1 callersFunctionbuildProxyConfig
(proxyCfg *vmv1beta1.ProxyConfig, ns string, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:1474
↓ 1 callersFunctionbuildPushover
(rc vmv1beta1.PushoverConfig, ns string, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:1178
↓ 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 callersFunctionbuildRB
(cr *vmv1beta1.VMSingle, ns string)
internal/controller/operator/factory/vmsingle/rbac.go:211
↓ 1 callersFunctionbuildReceiver
( result *receiver, cr *vmv1beta1.VMAlertmanagerConfig, r vmv1beta1.Receiver, gc *globalConfig, ac *build
internal/controller/operator/factory/vmalertmanager/config.go:392
↓ 1 callersFunctionbuildRelabelingsAssets
buildRelabelingsAssets combines all possible relabeling config configuration and adding it to the configmap.
internal/controller/operator/factory/vmagent/vmagent.go:842
↓ 1 callersFunctionbuildRelabelingsAssets
buildRelabelingsAssets combines all possible relabeling config configuration and adding it to the configmap.
internal/controller/operator/factory/vmsingle/vmsingle.go:585
↓ 1 callersFunctionbuildRocketchat
(gc *globalConfig, rc vmv1beta1.RocketchatConfig, ns string, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:821
↓ 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 callersFunctionbuildRole
(cr *vmv1beta1.VMSingle, ns string)
internal/controller/operator/factory/vmsingle/rbac.go:192
↓ 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:320
↓ 1 callersFunctionbuildSNS
(rc vmv1beta1.SNSConfig, ns string, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:677
↓ 1 callersFunctionbuildSTSServiceName
(cr *vmv1beta1.VMAgent)
internal/controller/operator/factory/vmagent/vmagent.go:525
↓ 1 callersFunctionbuildScrape
(cr *vmv1beta1.VMAlertmanager, svc *corev1.Service)
internal/controller/operator/factory/vmalertmanager/statefulset.go:115
↓ 1 callersFunctionbuildScrape
(cr *vmv1beta1.VMAlert, svc *corev1.Service)
internal/controller/operator/factory/vmalert/vmalert.go:43
↓ 1 callersFunctionbuildScrape
(cr *vmv1.VTSingle, svc *corev1.Service)
internal/controller/operator/factory/vtsingle/vtsingle.go:316
↓ 1 callersFunctionbuildScrape
(cr *vmv1.VLSingle, svc *corev1.Service)
internal/controller/operator/factory/vlsingle/vlsingle.go:325
↓ 1 callersFunctionbuildScrape
(cr *vmv1.VLAgent)
internal/controller/operator/factory/vlagent/vlagent.go:80
↓ 1 callersFunctionbuildScrape
(cr *vmv1.VMAnomaly)
internal/controller/operator/factory/vmanomaly/statefulset.go:37
↓ 1 callersFunctionbuildScrape
(cr *vmv1beta1.VMAuth, svc *corev1.Service)
internal/controller/operator/factory/vmauth/vmauth.go:708
↓ 1 callersFunctionbuildScrape
(cr *vmv1beta1.VMSingle, svc *corev1.Service)
internal/controller/operator/factory/vmsingle/vmsingle.go:511
↓ 1 callersFunctionbuildService
(cr *vmv1beta1.VMAlertmanager)
internal/controller/operator/factory/vmalertmanager/statefulset.go:89
↓ 1 callersFunctionbuildService
(cr *vmv1.VMAnomaly)
internal/controller/operator/factory/vmanomaly/statefulset.go:30
↓ 1 callersFunctionbuildServiceProxyURL
buildServiceProxyURL converts a cluster-internal service URL to a Kubernetes API server proxy URL so tests can reach in-cluster services without a Job
test/e2e/utils_test.go:178
↓ 1 callersFunctionbuildSlack
(gc *globalConfig, rc vmv1beta1.SlackConfig, ns string, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:929
↓ 1 callersFunctionbuildStatusPatch
(currentStatus any)
internal/controller/operator/factory/reconcile/status.go:443
↓ 1 callersFunctionbuildStreamAggrConfig
buildStreamAggrConfig combines all possible stream aggregation configs and adding it to the configmap.
internal/controller/operator/factory/vmagent/vmagent.go:913
↓ 1 callersFunctionbuildStreamAggrConfig
buildStreamAggrConfig build configmap with stream aggregation config for vmsingle.
internal/controller/operator/factory/vmsingle/vmsingle.go:632
↓ 1 callersFunctionbuildTelegram
(rc vmv1beta1.TelegramConfig, ns string, ac *build.AssetsCache)
internal/controller/operator/factory/vmalertmanager/config.go:899
↓ 1 callersFunctionbuildTracingConfig
builds configuration according to https://prometheus.io/docs/alerting/latest/configuration/#tracing-configuration
internal/controller/operator/factory/vmalertmanager/config.go:1500
← previousnext →1,101–1,200 of 3,853, ranked by callers