Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VictoriaMetrics/operator
/ functions
Functions
4,346 in github.com/VictoriaMetrics/operator
⨍
Functions
4,346
◇
Types & classes
1,182
↓ 1 callers
Function
newVMAgent
(name, namespace string, owner metav1.OwnerReference)
internal/controller/operator/factory/vmdistributed/vmdistributed_test.go:24
↓ 1 callers
Function
newVMAgents
newVMAgents returns a VMAgents
api/client/versioned/typed/operator/v1beta1/vmagent.go:58
↓ 1 callers
Function
newVMAlertmanagerConfigs
newVMAlertmanagerConfigs returns a VMAlertmanagerConfigs
api/client/versioned/typed/operator/v1beta1/vmalertmanagerconfig.go:58
↓ 1 callers
Function
newVMAlertmanagers
newVMAlertmanagers returns a VMAlertmanagers
api/client/versioned/typed/operator/v1beta1/vmalertmanager.go:58
↓ 1 callers
Function
newVMAlerts
newVMAlerts returns a VMAlerts
api/client/versioned/typed/operator/v1beta1/vmalert.go:58
↓ 1 callers
Function
newVMAnomalies
newVMAnomalies returns a VMAnomalies
api/client/versioned/typed/operator/v1/vmanomaly.go:58
↓ 1 callers
Function
newVMAuths
newVMAuths returns a VMAuths
api/client/versioned/typed/operator/v1beta1/vmauth.go:58
↓ 1 callers
Function
newVMCluster
(name, namespace, version string, owner metav1.OwnerReference)
internal/controller/operator/factory/vmdistributed/vmdistributed_test.go:40
↓ 1 callers
Function
newVMClusters
newVMClusters returns a VMClusters
api/client/versioned/typed/operator/v1beta1/vmcluster.go:58
↓ 1 callers
Function
newVMDistributed
newVMDistributed returns a VMDistributed
api/client/versioned/typed/operator/v1alpha1/vmdistributed.go:58
↓ 1 callers
Function
newVMNodeScrapes
newVMNodeScrapes returns a VMNodeScrapes
api/client/versioned/typed/operator/v1beta1/vmnodescrape.go:58
↓ 1 callers
Function
newVMPodScrapes
newVMPodScrapes returns a VMPodScrapes
api/client/versioned/typed/operator/v1beta1/vmpodscrape.go:58
↓ 1 callers
Function
newVMProbes
newVMProbes returns a VMProbes
api/client/versioned/typed/operator/v1beta1/vmprobe.go:58
↓ 1 callers
Function
newVMRules
newVMRules returns a VMRules
api/client/versioned/typed/operator/v1beta1/vmrule.go:58
↓ 1 callers
Function
newVMScrapeConfigs
newVMScrapeConfigs returns a VMScrapeConfigs
api/client/versioned/typed/operator/v1beta1/vmscrapeconfig.go:58
↓ 1 callers
Function
newVMServiceScrapes
newVMServiceScrapes returns a VMServiceScrapes
api/client/versioned/typed/operator/v1beta1/vmservicescrape.go:58
↓ 1 callers
Function
newVMSingle
(name, namespace string, owner metav1.OwnerReference)
internal/controller/operator/factory/vmdistributed/vmdistributed_test.go:70
↓ 1 callers
Function
newVMSingles
newVMSingles returns a VMSingles
api/client/versioned/typed/operator/v1beta1/vmsingle.go:58
↓ 1 callers
Function
newVMStaticScrapes
newVMStaticScrapes returns a VMStaticScrapes
api/client/versioned/typed/operator/v1beta1/vmstaticscrape.go:58
↓ 1 callers
Function
newVMUsers
newVMUsers returns a VMUsers
api/client/versioned/typed/operator/v1beta1/vmuser.go:58
↓ 1 callers
Function
newVTAgents
newVTAgents returns a VTAgents
api/client/versioned/typed/operator/v1/vtagent.go:58
↓ 1 callers
Function
newVTClusters
newVTClusters returns a VTClusters
api/client/versioned/typed/operator/v1/vtcluster.go:58
↓ 1 callers
Function
newVTSingles
newVTSingles returns a VTSingles
api/client/versioned/typed/operator/v1/vtsingle.go:58
↓ 1 callers
Function
operatorEnvVars
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 callers
Function
orderedYAMLMap
(src map[string]string)
internal/controller/operator/factory/vmalertmanager/config.go:1754
↓ 1 callers
Method
origin
()
internal/controller/operator/factory/vmauth/vmusers_config.go:347
↓ 1 callers
Method
override
(cr *vmv1.VMAnomaly, cfg *vmv1.VMAnomalyHTTPClientSpec, ac *build.AssetsCache)
internal/controller/operator/factory/vmanomaly/config/config.go:463
↓ 1 callers
Function
packRuleGroups
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 callers
Function
parse
(data)
hack/merge_changelog.py:66
↓ 1 callers
Function
parseTime
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 callers
Function
parse_version
(heading)
hack/merge_changelog.py:32
↓ 1 callers
Function
parse_version
Parses a version string into a tuple of integers.
hack/compare_versions.py:5
↓ 1 callers
Function
patchSTSCurrentRevision
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 callers
Function
patchShardContainers
(containers []corev1.Container, shardNum, shardCount int32)
internal/controller/operator/factory/vmagent/vmagent.go:817
↓ 1 callers
Function
patchShardContainers
(containers []corev1.Container, shardNum, shardCount int32)
internal/controller/operator/factory/vmanomaly/statefulset.go:123
↓ 1 callers
Function
prevBackslashesCount
(s string)
internal/podutil/prometheus.go:277
↓ 1 callers
Function
readyPod
(name, namespace, ip string, labels map[string]string)
internal/controller/operator/factory/reconcile/config_reload_test.go:40
↓ 1 callers
Function
reconcileConfigsData
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAlert, groups []vmv1beta1.RuleGroup)
internal/controller/operator/factory/vmalert/rules.go:35
↓ 1 callers
Function
reconcileService
(ctx context.Context, rclient client.Client, newObj, prevObj *corev1.Service, owner *metav1.OwnerReference)
internal/controller/operator/factory/reconcile/service.go:32
↓ 1 callers
Function
reconcileVMAlertConfig
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAlert, childCR *vmv1beta1.VMRule, hasNotifiers bo
internal/controller/operator/factory/vmalert/rules.go:64
↓ 1 callers
Method
register
(name, ns, controller string)
internal/controller/operator/objects_stat.go:42
↓ 1 callers
Function
registerChildConditionIndexers
registerChildConditionIndexers registers k8stools.ChildConditionIndexerFunc for every CRD kind in k8stools.ChildConditionIndexedKinds, skipping kinds
internal/manager/manager.go:371
↓ 1 callers
Method
registerMetricLocked
registerMetricLocked must be called with r.mu held.
cmd/config-reloader/content_hash.go:53
↓ 1 callers
Function
registerObjectByCollector
registerObject registers given CR object name with namespace for controller
internal/controller/operator/objects_stat.go:133
↓ 1 callers
Function
releaseChildStatusCondition
(ctx context.Context, rclient client.Client, nsn types.NamespacedName, typeName string)
internal/controller/operator/factory/reconcile/status.go:227
↓ 1 callers
Function
releaseDroppedChildren
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 callers
Function
removeConditionByType
(conds []vmv1beta1.Condition, condType string)
internal/controller/operator/factory/reconcile/status.go:257
↓ 1 callers
Function
removeNamespace
(ctx context.Context, k8sClient client.Client, watchNamespace string)
test/e2e/upgrade/utils.go:249
↓ 1 callers
Function
removeOperator
(ctx context.Context, k8sClient client.Client, watchNamespace string)
test/e2e/upgrade/utils.go:224
↓ 1 callers
Function
removeStaleConditionsBySuffix
(src []vmv1beta1.Condition, domainTypeSuffix string)
internal/controller/operator/factory/reconcile/status.go:329
↓ 1 callers
Method
reset
()
internal/controller/operator/factory/vmalertmanager/config.go:277
↓ 1 callers
Function
resolveExtension
(mimeType MimeType)
test/e2e/suite/allure/attachment.go:77
↓ 1 callers
Function
resolveLegacyNotifier
(notifier map[string]any)
internal/converter/converter.go:376
↓ 1 callers
Function
resolveVMAlertLegacyValues
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 callers
Function
ruleConfigMapName
(vmName string)
internal/controller/operator/factory/vmalert/rules.go:245
↓ 1 callers
Function
sanitizeK8sName
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 callers
Function
saveAsJSONAttachment
(msg any)
test/e2e/suite/allure/attachment.go:34
↓ 1 callers
Function
scrapeContentHash
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 callers
Function
selectConfigs
(ctx context.Context, rclient client.Client, cr *vmv1.VMAnomaly)
internal/controller/operator/factory/vmanomaly/config/config.go:28
↓ 1 callers
Method
selectNodeScrapes
(ctx context.Context, rclient client.Client, sp *vmv1beta1.CommonScrapeParams)
internal/controller/operator/factory/vmscrapes/objects.go:145
↓ 1 callers
Method
selectScrapeConfigs
(ctx context.Context, rclient client.Client, sp *vmv1beta1.CommonScrapeParams)
internal/controller/operator/factory/vmscrapes/objects.go:64
↓ 1 callers
Method
selectStaticScrapes
(ctx context.Context, rclient client.Client, sp *vmv1beta1.CommonScrapeParams)
internal/controller/operator/factory/vmscrapes/objects.go:178
↓ 1 callers
Method
setClass
(string)
internal/controller/operator/factory/vmanomaly/config/models.go:65
↓ 1 callers
Function
setConditionTo
(dst []vmv1beta1.Condition, cond vmv1beta1.Condition)
internal/controller/operator/factory/reconcile/status.go:302
↓ 1 callers
Method
setDefaultLabels
(report ginkgo.SpecReport)
test/e2e/suite/allure/result.go:232
↓ 1 callers
Function
setInternalSvcPort
(cr *vmv1beta1.VMAuth)
internal/controller/operator/factory/vmauth/vmauth.go:587
↓ 1 callers
Method
setStatusDetails
(details statusDetails)
test/e2e/suite/allure/result.go:79
↓ 1 callers
Function
shutdownOperatorProcess
()
test/e2e/suite/suite.go:210
↓ 1 callers
Method
singleObjects
()
internal/controller/operator/factory/vmdistributed/zone.go:91
↓ 1 callers
Method
singleObjects
()
internal/controller/operator/factory/vldistributed/zone.go:90
↓ 1 callers
Function
skipTrailingWhitespace
(s string)
internal/podutil/prometheus.go:196
↓ 1 callers
Function
sortMap
(m map[string]string)
internal/controller/operator/factory/vmalert/rules.go:299
↓ 1 callers
Function
sortMap
(m map[string]string)
internal/controller/operator/factory/vmagent/vmagent.go:990
↓ 1 callers
Function
split_front_matter
(data)
hack/merge_changelog.py:56
↓ 1 callers
Function
staticRefFromURLPrefix
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 callers
Function
subPathForStorage
(s *vmv1beta1.StorageSpec)
internal/controller/operator/factory/vmalertmanager/statefulset.go:640
↓ 1 callers
Function
testGetScheme
()
internal/controller/operator/factory/k8stools/test_helpers.go:28
↓ 1 callers
Method
toCoreV1
()
internal/converter/converter.go:281
↓ 1 callers
Function
toInterface
(v reflect.Value)
internal/controller/operator/factory/reconcile/diff.go:104
↓ 1 callers
Function
unescapeValue
(s string)
internal/podutil/prometheus.go:221
↓ 1 callers
Function
unmarshalMetrics
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 callers
Function
unmarshalQuotedString
(s string)
internal/podutil/prometheus.go:210
↓ 1 callers
Function
unmarshalTags
(s string)
internal/podutil/prometheus.go:122
↓ 1 callers
Function
unmarshalYAML
(t *testing.T, data []byte)
internal/converter/converter_test.go:23
↓ 1 callers
Method
updateLB
(ctx context.Context, rclient client.Client, cr *vmv1alpha1.VMDistributed, excludeIds ...int)
internal/controller/operator/factory/vmdistributed/zone.go:361
↓ 1 callers
Method
updateLB
(ctx context.Context, rclient client.Client, cr *vmv1alpha1.VLDistributed, excludeIds ...int)
internal/controller/operator/factory/vldistributed/zone.go:358
↓ 1 callers
Method
updateMetrics
(ctx context.Context)
internal/controller/operator/factory/vmscrapes/objects.go:33
↓ 1 callers
Function
updateOperator
(ctx context.Context, k8sClient client.Client, operatorImage, watchNamespace string, envs map[string]string)
test/e2e/upgrade/utils.go:105
↓ 1 callers
Function
updateStatus
(ctx context.Context, cl client.WithWatch, obj client.Object, o *ClientOpts)
internal/controller/operator/factory/k8stools/interceptors.go:23
↓ 1 callers
Method
upgrade
(ctx context.Context, rclient client.Client, cr *vmv1alpha1.VMDistributed, i int)
internal/controller/operator/factory/vmdistributed/zone.go:287
↓ 1 callers
Method
upgrade
(ctx context.Context, rclient client.Client, cr *vmv1alpha1.VLDistributed, i int)
internal/controller/operator/factory/vldistributed/zone.go:280
↓ 1 callers
Method
validate
()
internal/controller/operator/factory/vmanomaly/config/config.go:332
↓ 1 callers
Method
validate
()
api/operator/v1beta1/vmcluster_types.go:137
↓ 1 callers
Function
validateDoM
(s string)
api/operator/v1beta1/vmalertmanagerconfig_types.go:2052
↓ 1 callers
Function
validateHTTPHeaderNames
(headers map[string]HTTPHeaderConfig)
api/operator/v1beta1/vmalertmanagerconfig_types.go:1811
↓ 1 callers
Function
validateMonths
(s string)
api/operator/v1beta1/vmalertmanagerconfig_types.go:1961
↓ 1 callers
Function
validateRuleGroupTenantID
(id string)
api/operator/v1beta1/vmrule_types.go:217
↓ 1 callers
Function
validateScrapeClassExists
(scrapeClassName *string, sp *vmv1beta1.CommonScrapeParams)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:587
↓ 1 callers
Function
validateTimeIntervals
(timeIntervals []TimeIntervals)
api/operator/v1beta1/vmalertmanagerconfig_types.go:2173
↓ 1 callers
Function
validateTimeIntervalsEntry
(ti *TimeIntervals)
api/operator/v1beta1/vmalertmanagerconfig_types.go:2220
← previous
next →
1,701–1,800 of 4,346, ranked by callers