MCPcopy Create free account

hub / github.com/VictoriaMetrics/operator / functions

Functions4,581 in github.com/VictoriaMetrics/operator

↓ 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 callersFunctionnewVMEstimators
newVMEstimators returns a VMEstimators
api/client/versioned/typed/operator/v1/vmestimator.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 string)
test/e2e/dryrun/dryrun_test.go:111
↓ 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:1884
↓ 1 callersMethodorigin
()
internal/controller/operator/factory/vmauth/vmusers_config.go:348
↓ 1 callersMethodoverride
(cr *vmv1.VMAnomaly, cfg *vmv1.VMAnomalyHTTPClientSpec, ac *build.AssetsCache)
internal/controller/operator/factory/vmanomaly/config/config.go:475
↓ 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:2152
↓ 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:281
↓ 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:84
↓ 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:379
↓ 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:296
↓ 1 callersFunctionresolveControllers
resolveControllers returns an error if an enabled controller CRD is missing or the operator has no list and watch access to it.
internal/manager/controllers.go:40
↓ 1 callersFunctionresolveExtension
(mimeType MimeType)
test/e2e/suite/allure/attachment.go:77
↓ 1 callersFunctionresolveLegacyNotifier
(notifier map[string]any)
internal/converter/converter.go:383
↓ 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:332
↓ 1 callersFunctionruleConfigMapName
(vmName string)
internal/controller/operator/factory/vmalert/rules.go:245
↓ 1 callersFunctionrunDryRunOperator
runDryRunOperator runs the operator in -dry-run mode until it reconciles existing objects and returns its logs.
test/e2e/dryrun/dryrun_test.go:77
↓ 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:2618
↓ 1 callersFunctionsaveAsJSONAttachment
(msg any)
test/e2e/suite/allure/attachment.go:34
↓ 1 callersFunctionscrapeContentHash
scrapeContentHash fetches the config-reloader sidecar's own metrics endpoint on the pod and returns the confirmed content hash it currently exposes, i
internal/controller/operator/factory/reconcile/config_reload.go:114
↓ 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 callersFunctionsendVMEstimatorSeries
sendVMEstimatorSeries sends the given number of unique series to vmestimator via Prometheus remote write API
test/e2e/vmestimator_test.go:70
↓ 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:212
↓ 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 callersFunctionsplitListenAddr
splitListenAddr returns the host and the port of a listen address such as `:8428`. An all-interfaces host is returned empty.
internal/converter/converter.go:1526
↓ 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:2605
↓ 1 callersFunctionstorageNodeURLs
storageNodeURLs returns urls of all storage nodes, which must be queried by select nodes
internal/controller/operator/factory/vmestimator/select.go:147
↓ 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 callersFunctiontestVPA
()
internal/controller/operator/factory/vmestimator/vmestimator_test.go:81
↓ 1 callersMethodtoCoreV1
()
internal/converter/converter.go:288
↓ 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:24
↓ 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 callersFunctionuseRestrictedOperatorIdentity
useRestrictedOperatorIdentity runs the operator as a ServiceAccount with operatorRules and returns its user name.
test/e2e/dryrun/dryrun_test.go:52
↓ 1 callersMethodvalidate
()
internal/controller/operator/factory/vmanomaly/config/config.go:344
↓ 1 callersMethodvalidate
()
api/operator/v1beta1/vmcluster_types.go:137
↓ 1 callersFunctionvalidateDoM
(s string)
api/operator/v1beta1/vmalertmanagerconfig_types.go:2055
↓ 1 callersFunctionvalidateHTTPHeaderNames
(headers map[string]HTTPHeaderConfig)
api/operator/v1beta1/vmalertmanagerconfig_types.go:1811
↓ 1 callersFunctionvalidateMonths
(s string)
api/operator/v1beta1/vmalertmanagerconfig_types.go:1964
↓ 1 callersFunctionvalidateRuleGroupTenantID
(id string)
api/operator/v1beta1/vmrule_types.go:217
← previousnext →1,801–1,900 of 4,581, ranked by callers