MCPcopy Create free account

hub / github.com/VictoriaMetrics/operator / functions

Functions4,346 in github.com/VictoriaMetrics/operator

↓ 1 callersFunctionnewVMAgent
(name, namespace string, owner metav1.OwnerReference)
internal/controller/operator/factory/vmdistributed/vmdistributed_test.go:24
↓ 1 callersFunctionnewVMAgents
newVMAgents returns a VMAgents
api/client/versioned/typed/operator/v1beta1/vmagent.go:58
↓ 1 callersFunctionnewVMAlertmanagerConfigs
newVMAlertmanagerConfigs returns a VMAlertmanagerConfigs
api/client/versioned/typed/operator/v1beta1/vmalertmanagerconfig.go:58
↓ 1 callersFunctionnewVMAlertmanagers
newVMAlertmanagers returns a VMAlertmanagers
api/client/versioned/typed/operator/v1beta1/vmalertmanager.go:58
↓ 1 callersFunctionnewVMAlerts
newVMAlerts returns a VMAlerts
api/client/versioned/typed/operator/v1beta1/vmalert.go:58
↓ 1 callersFunctionnewVMAnomalies
newVMAnomalies returns a VMAnomalies
api/client/versioned/typed/operator/v1/vmanomaly.go:58
↓ 1 callersFunctionnewVMAuths
newVMAuths returns a VMAuths
api/client/versioned/typed/operator/v1beta1/vmauth.go:58
↓ 1 callersFunctionnewVMCluster
(name, namespace, version string, owner metav1.OwnerReference)
internal/controller/operator/factory/vmdistributed/vmdistributed_test.go:40
↓ 1 callersFunctionnewVMClusters
newVMClusters returns a VMClusters
api/client/versioned/typed/operator/v1beta1/vmcluster.go:58
↓ 1 callersFunctionnewVMDistributed
newVMDistributed returns a VMDistributed
api/client/versioned/typed/operator/v1alpha1/vmdistributed.go:58
↓ 1 callersFunctionnewVMNodeScrapes
newVMNodeScrapes returns a VMNodeScrapes
api/client/versioned/typed/operator/v1beta1/vmnodescrape.go:58
↓ 1 callersFunctionnewVMPodScrapes
newVMPodScrapes returns a VMPodScrapes
api/client/versioned/typed/operator/v1beta1/vmpodscrape.go:58
↓ 1 callersFunctionnewVMProbes
newVMProbes returns a VMProbes
api/client/versioned/typed/operator/v1beta1/vmprobe.go:58
↓ 1 callersFunctionnewVMRules
newVMRules returns a VMRules
api/client/versioned/typed/operator/v1beta1/vmrule.go:58
↓ 1 callersFunctionnewVMScrapeConfigs
newVMScrapeConfigs returns a VMScrapeConfigs
api/client/versioned/typed/operator/v1beta1/vmscrapeconfig.go:58
↓ 1 callersFunctionnewVMServiceScrapes
newVMServiceScrapes returns a VMServiceScrapes
api/client/versioned/typed/operator/v1beta1/vmservicescrape.go:58
↓ 1 callersFunctionnewVMSingle
(name, namespace string, owner metav1.OwnerReference)
internal/controller/operator/factory/vmdistributed/vmdistributed_test.go:70
↓ 1 callersFunctionnewVMSingles
newVMSingles returns a VMSingles
api/client/versioned/typed/operator/v1beta1/vmsingle.go:58
↓ 1 callersFunctionnewVMStaticScrapes
newVMStaticScrapes returns a VMStaticScrapes
api/client/versioned/typed/operator/v1beta1/vmstaticscrape.go:58
↓ 1 callersFunctionnewVMUsers
newVMUsers returns a VMUsers
api/client/versioned/typed/operator/v1beta1/vmuser.go:58
↓ 1 callersFunctionnewVTAgents
newVTAgents returns a VTAgents
api/client/versioned/typed/operator/v1/vtagent.go:58
↓ 1 callersFunctionnewVTClusters
newVTClusters returns a VTClusters
api/client/versioned/typed/operator/v1/vtcluster.go:58
↓ 1 callersFunctionnewVTSingles
newVTSingles returns a VTSingles
api/client/versioned/typed/operator/v1/vtsingle.go:58
↓ 1 callersFunctionoperatorEnvVars
operatorEnvVars builds the env var list for the operator pod, TODO[vrutkovs]: do we need to copy it?
test/e2e/upgrade/utils.go:50
↓ 1 callersFunctionorderedYAMLMap
(src map[string]string)
internal/controller/operator/factory/vmalertmanager/config.go:1754
↓ 1 callersMethodorigin
()
internal/controller/operator/factory/vmauth/vmusers_config.go:347
↓ 1 callersMethodoverride
(cr *vmv1.VMAnomaly, cfg *vmv1.VMAnomalyHTTPClientSpec, ac *build.AssetsCache)
internal/controller/operator/factory/vmanomaly/config/config.go:463
↓ 1 callersFunctionpackRuleGroups
packRuleGroups packs groups into buckets that each fit within limit bytes when gzip-compressed. Groups with the same name must not appear in the same
internal/controller/operator/factory/vmalert/rules.go:180
↓ 1 callersFunctionparse
(data)
hack/merge_changelog.py:66
↓ 1 callersFunctionparseTime
Converts a string of the form "HH:MM" into the number of minutes elapsed in the day.
api/operator/v1beta1/vmalertmanagerconfig_types.go:2149
↓ 1 callersFunctionparse_version
(heading)
hack/merge_changelog.py:32
↓ 1 callersFunctionparse_version
Parses a version string into a tuple of integers.
hack/compare_versions.py:5
↓ 1 callersFunctionpatchSTSCurrentRevision
patchSTSCurrentRevision patches statefulset status.currentRevision to match status.updateRevision after all pods are updated. This is needed because K
internal/controller/operator/factory/reconcile/statefulset.go:278
↓ 1 callersFunctionpatchShardContainers
(containers []corev1.Container, shardNum, shardCount int32)
internal/controller/operator/factory/vmagent/vmagent.go:817
↓ 1 callersFunctionpatchShardContainers
(containers []corev1.Container, shardNum, shardCount int32)
internal/controller/operator/factory/vmanomaly/statefulset.go:123
↓ 1 callersFunctionprevBackslashesCount
(s string)
internal/podutil/prometheus.go:277
↓ 1 callersFunctionreadyPod
(name, namespace, ip string, labels map[string]string)
internal/controller/operator/factory/reconcile/config_reload_test.go:40
↓ 1 callersFunctionreconcileConfigsData
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAlert, groups []vmv1beta1.RuleGroup)
internal/controller/operator/factory/vmalert/rules.go:35
↓ 1 callersFunctionreconcileService
(ctx context.Context, rclient client.Client, newObj, prevObj *corev1.Service, owner *metav1.OwnerReference)
internal/controller/operator/factory/reconcile/service.go:32
↓ 1 callersFunctionreconcileVMAlertConfig
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAlert, childCR *vmv1beta1.VMRule, hasNotifiers bo
internal/controller/operator/factory/vmalert/rules.go:64
↓ 1 callersMethodregister
(name, ns, controller string)
internal/controller/operator/objects_stat.go:42
↓ 1 callersFunctionregisterChildConditionIndexers
registerChildConditionIndexers registers k8stools.ChildConditionIndexerFunc for every CRD kind in k8stools.ChildConditionIndexedKinds, skipping kinds
internal/manager/manager.go:371
↓ 1 callersMethodregisterMetricLocked
registerMetricLocked must be called with r.mu held.
cmd/config-reloader/content_hash.go:53
↓ 1 callersFunctionregisterObjectByCollector
registerObject registers given CR object name with namespace for controller
internal/controller/operator/objects_stat.go:133
↓ 1 callersFunctionreleaseChildStatusCondition
(ctx context.Context, rclient client.Client, nsn types.NamespacedName, typeName string)
internal/controller/operator/factory/reconcile/status.go:227
↓ 1 callersFunctionreleaseDroppedChildren
releaseDroppedChildren releases typeName's condition from every object of kind T that still carries it but isn't in current. It queries via ChildCondi
internal/controller/operator/factory/reconcile/status.go:134
↓ 1 callersFunctionremoveConditionByType
(conds []vmv1beta1.Condition, condType string)
internal/controller/operator/factory/reconcile/status.go:257
↓ 1 callersFunctionremoveNamespace
(ctx context.Context, k8sClient client.Client, watchNamespace string)
test/e2e/upgrade/utils.go:249
↓ 1 callersFunctionremoveOperator
(ctx context.Context, k8sClient client.Client, watchNamespace string)
test/e2e/upgrade/utils.go:224
↓ 1 callersFunctionremoveStaleConditionsBySuffix
(src []vmv1beta1.Condition, domainTypeSuffix string)
internal/controller/operator/factory/reconcile/status.go:329
↓ 1 callersMethodreset
()
internal/controller/operator/factory/vmalertmanager/config.go:277
↓ 1 callersFunctionresolveExtension
(mimeType MimeType)
test/e2e/suite/allure/attachment.go:77
↓ 1 callersFunctionresolveLegacyNotifier
(notifier map[string]any)
internal/converter/converter.go:376
↓ 1 callersFunctionresolveVMAlertLegacyValues
resolveVMAlertLegacyValues rewrites the victoria-metrics-alert chart's legacy value aliases into their current form, the way the chart's vmalert.args
internal/converter/converter.go:325
↓ 1 callersFunctionruleConfigMapName
(vmName string)
internal/controller/operator/factory/vmalert/rules.go:245
↓ 1 callersFunctionsanitizeK8sName
sanitizeK8sName converts an arbitrary vmauth username into a valid Kubernetes resource name (lowercase alphanumeric and '-', not starting/ending with
internal/converter/converter.go:2192
↓ 1 callersFunctionsaveAsJSONAttachment
(msg any)
test/e2e/suite/allure/attachment.go:34
↓ 1 callersFunctionscrapeContentHash
scrapeContentHash fetches the config-reloader sidecar's own metrics endpoint on podIP and returns the confirmed content hash it currently exposes, if
internal/controller/operator/factory/reconcile/config_reload.go:98
↓ 1 callersFunctionselectConfigs
(ctx context.Context, rclient client.Client, cr *vmv1.VMAnomaly)
internal/controller/operator/factory/vmanomaly/config/config.go:28
↓ 1 callersMethodselectNodeScrapes
(ctx context.Context, rclient client.Client, sp *vmv1beta1.CommonScrapeParams)
internal/controller/operator/factory/vmscrapes/objects.go:145
↓ 1 callersMethodselectScrapeConfigs
(ctx context.Context, rclient client.Client, sp *vmv1beta1.CommonScrapeParams)
internal/controller/operator/factory/vmscrapes/objects.go:64
↓ 1 callersMethodselectStaticScrapes
(ctx context.Context, rclient client.Client, sp *vmv1beta1.CommonScrapeParams)
internal/controller/operator/factory/vmscrapes/objects.go:178
↓ 1 callersMethodsetClass
(string)
internal/controller/operator/factory/vmanomaly/config/models.go:65
↓ 1 callersFunctionsetConditionTo
(dst []vmv1beta1.Condition, cond vmv1beta1.Condition)
internal/controller/operator/factory/reconcile/status.go:302
↓ 1 callersMethodsetDefaultLabels
(report ginkgo.SpecReport)
test/e2e/suite/allure/result.go:232
↓ 1 callersFunctionsetInternalSvcPort
(cr *vmv1beta1.VMAuth)
internal/controller/operator/factory/vmauth/vmauth.go:587
↓ 1 callersMethodsetStatusDetails
(details statusDetails)
test/e2e/suite/allure/result.go:79
↓ 1 callersFunctionshutdownOperatorProcess
()
test/e2e/suite/suite.go:210
↓ 1 callersMethodsingleObjects
()
internal/controller/operator/factory/vmdistributed/zone.go:91
↓ 1 callersMethodsingleObjects
()
internal/controller/operator/factory/vldistributed/zone.go:90
↓ 1 callersFunctionskipTrailingWhitespace
(s string)
internal/podutil/prometheus.go:196
↓ 1 callersFunctionsortMap
(m map[string]string)
internal/controller/operator/factory/vmalert/rules.go:299
↓ 1 callersFunctionsortMap
(m map[string]string)
internal/controller/operator/factory/vmagent/vmagent.go:990
↓ 1 callersFunctionsplit_front_matter
(data)
hack/merge_changelog.py:56
↓ 1 callersFunctionstaticRefFromURLPrefix
staticRefFromURLPrefix converts url_prefix into a StaticRef. StaticRef.URL/.URLs are mutually exclusive, so a single-entry prefix uses URL and a multi
internal/converter/converter.go:2179
↓ 1 callersFunctionsubPathForStorage
(s *vmv1beta1.StorageSpec)
internal/controller/operator/factory/vmalertmanager/statefulset.go:640
↓ 1 callersFunctiontestGetScheme
()
internal/controller/operator/factory/k8stools/test_helpers.go:28
↓ 1 callersMethodtoCoreV1
()
internal/converter/converter.go:281
↓ 1 callersFunctiontoInterface
(v reflect.Value)
internal/controller/operator/factory/reconcile/diff.go:104
↓ 1 callersFunctionunescapeValue
(s string)
internal/podutil/prometheus.go:221
↓ 1 callersFunctionunmarshalMetrics
unmarshalMetrics scans r line by line rather than buffering it in full, so a large metrics response never inflates controller memory - only one line i
internal/podutil/prometheus.go:61
↓ 1 callersFunctionunmarshalQuotedString
(s string)
internal/podutil/prometheus.go:210
↓ 1 callersFunctionunmarshalTags
(s string)
internal/podutil/prometheus.go:122
↓ 1 callersFunctionunmarshalYAML
(t *testing.T, data []byte)
internal/converter/converter_test.go:23
↓ 1 callersMethodupdateLB
(ctx context.Context, rclient client.Client, cr *vmv1alpha1.VMDistributed, excludeIds ...int)
internal/controller/operator/factory/vmdistributed/zone.go:361
↓ 1 callersMethodupdateLB
(ctx context.Context, rclient client.Client, cr *vmv1alpha1.VLDistributed, excludeIds ...int)
internal/controller/operator/factory/vldistributed/zone.go:358
↓ 1 callersMethodupdateMetrics
(ctx context.Context)
internal/controller/operator/factory/vmscrapes/objects.go:33
↓ 1 callersFunctionupdateOperator
(ctx context.Context, k8sClient client.Client, operatorImage, watchNamespace string, envs map[string]string)
test/e2e/upgrade/utils.go:105
↓ 1 callersFunctionupdateStatus
(ctx context.Context, cl client.WithWatch, obj client.Object, o *ClientOpts)
internal/controller/operator/factory/k8stools/interceptors.go:23
↓ 1 callersMethodupgrade
(ctx context.Context, rclient client.Client, cr *vmv1alpha1.VMDistributed, i int)
internal/controller/operator/factory/vmdistributed/zone.go:287
↓ 1 callersMethodupgrade
(ctx context.Context, rclient client.Client, cr *vmv1alpha1.VLDistributed, i int)
internal/controller/operator/factory/vldistributed/zone.go:280
↓ 1 callersMethodvalidate
()
internal/controller/operator/factory/vmanomaly/config/config.go:332
↓ 1 callersMethodvalidate
()
api/operator/v1beta1/vmcluster_types.go:137
↓ 1 callersFunctionvalidateDoM
(s string)
api/operator/v1beta1/vmalertmanagerconfig_types.go:2052
↓ 1 callersFunctionvalidateHTTPHeaderNames
(headers map[string]HTTPHeaderConfig)
api/operator/v1beta1/vmalertmanagerconfig_types.go:1811
↓ 1 callersFunctionvalidateMonths
(s string)
api/operator/v1beta1/vmalertmanagerconfig_types.go:1961
↓ 1 callersFunctionvalidateRuleGroupTenantID
(id string)
api/operator/v1beta1/vmrule_types.go:217
↓ 1 callersFunctionvalidateScrapeClassExists
(scrapeClassName *string, sp *vmv1beta1.CommonScrapeParams)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:587
↓ 1 callersFunctionvalidateTimeIntervals
(timeIntervals []TimeIntervals)
api/operator/v1beta1/vmalertmanagerconfig_types.go:2173
↓ 1 callersFunctionvalidateTimeIntervalsEntry
(ti *TimeIntervals)
api/operator/v1beta1/vmalertmanagerconfig_types.go:2220
← previousnext →1,701–1,800 of 4,346, ranked by callers