Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VictoriaMetrics/operator
/ functions
Functions
4,581 in github.com/VictoriaMetrics/operator
⨍
Functions
4,581
◇
Types & classes
1,226
↓ 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
newVMEstimators
newVMEstimators returns a VMEstimators
api/client/versioned/typed/operator/v1/vmestimator.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 string)
test/e2e/dryrun/dryrun_test.go:111
↓ 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:1884
↓ 1 callers
Method
origin
()
internal/controller/operator/factory/vmauth/vmusers_config.go:348
↓ 1 callers
Method
override
(cr *vmv1.VMAnomaly, cfg *vmv1.VMAnomalyHTTPClientSpec, ac *build.AssetsCache)
internal/controller/operator/factory/vmanomaly/config/config.go:475
↓ 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:2152
↓ 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:281
↓ 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:84
↓ 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:379
↓ 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:296
↓ 1 callers
Function
resolveControllers
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 callers
Function
resolveExtension
(mimeType MimeType)
test/e2e/suite/allure/attachment.go:77
↓ 1 callers
Function
resolveLegacyNotifier
(notifier map[string]any)
internal/converter/converter.go:383
↓ 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:332
↓ 1 callers
Function
ruleConfigMapName
(vmName string)
internal/controller/operator/factory/vmalert/rules.go:245
↓ 1 callers
Function
runDryRunOperator
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 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:2618
↓ 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 the pod and returns the confirmed content hash it currently exposes, i
internal/controller/operator/factory/reconcile/config_reload.go:114
↓ 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
Function
sendVMEstimatorSeries
sendVMEstimatorSeries sends the given number of unique series to vmestimator via Prometheus remote write API
test/e2e/vmestimator_test.go:70
↓ 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:212
↓ 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
splitListenAddr
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 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:2605
↓ 1 callers
Function
storageNodeURLs
storageNodeURLs returns urls of all storage nodes, which must be queried by select nodes
internal/controller/operator/factory/vmestimator/select.go:147
↓ 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
Function
testVPA
()
internal/controller/operator/factory/vmestimator/vmestimator_test.go:81
↓ 1 callers
Method
toCoreV1
()
internal/converter/converter.go:288
↓ 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:24
↓ 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
Function
useRestrictedOperatorIdentity
useRestrictedOperatorIdentity runs the operator as a ServiceAccount with operatorRules and returns its user name.
test/e2e/dryrun/dryrun_test.go:52
↓ 1 callers
Method
validate
()
internal/controller/operator/factory/vmanomaly/config/config.go:344
↓ 1 callers
Method
validate
()
api/operator/v1beta1/vmcluster_types.go:137
↓ 1 callers
Function
validateDoM
(s string)
api/operator/v1beta1/vmalertmanagerconfig_types.go:2055
↓ 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:1964
↓ 1 callers
Function
validateRuleGroupTenantID
(id string)
api/operator/v1beta1/vmrule_types.go:217
← previous
next →
1,801–1,900 of 4,581, ranked by callers