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
↓ 12 callers
Function
StatefulSet
StatefulSet performs create and update operations for given statefulSet with STSOptions
internal/controller/operator/factory/reconcile/statefulset.go:113
↓ 12 callers
Method
Stop
Stop marks id as finished and triggers self-cancel when all goroutines are done.
internal/podutil/util.go:118
↓ 12 callers
Method
Throttle
Throttle registers reconcile event and checks if it must be throttled
internal/controller/operator/factory/limiter/limiter.go:28
↓ 12 callers
Function
VisitSelected
VisitSelected applies given function to any T child object matched by selectors defined in parent obj selectors
internal/controller/operator/factory/k8stools/selectors.go:36
↓ 12 callers
Function
convertCommonConfig
(values ServerValues, global GlobalValues)
internal/converter/converter.go:1165
↓ 12 callers
Function
handleConfigReconcileErrWithStatus
handleConfigReconcileErrWithStatus is for a config-kind object like VMRule, VMServiceScrape, VMUser, VMAlertmanagerConfig. Its status.updateStatus is
internal/controller/operator/controllers.go:199
↓ 11 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMCluster.
api/operator/v1beta1/zz_generated.deepcopy.go:6172
↓ 11 callers
Function
RemoveOrphanedServices
RemoveOrphanedServices removes Services detached from given object
internal/controller/operator/factory/finalize/orphaned.go:58
↓ 11 callers
Method
Status
()
internal/manager/client.go:78
↓ 11 callers
Function
StatusForChildObjects
StatusForChildObjects reconciles status sub-resources for the full, current set of child objects selected by a parent. Expects parentObjectName in the
internal/controller/operator/factory/reconcile/status.go:55
↓ 11 callers
Method
start
(ctx context.Context, updates chan struct{})
cmd/config-reloader/main.go:340
↓ 10 callers
Method
GetNamespace
()
api/operator/v1beta1/vmservicescrape_types.go:103
↓ 10 callers
Function
Secret
Secret reconciles secret object.
internal/controller/operator/factory/reconcile/secret.go:18
↓ 10 callers
Function
UseTLS
UseTLS returns true if TLS is enabled
api/operator/v1beta1/vmextra_types.go:469
↓ 10 callers
Method
close
()
cmd/config-reloader/main.go:341
↓ 10 callers
Function
newDirWatchers
newDirWatchers watches dirs; targetDirs is paired by index with dirs (dirs[i] → targetDirs[i]). If non-empty, targetDirs must have the same length as
cmd/config-reloader/file_watch.go:186
↓ 10 callers
Function
parseURL
(s string)
internal/controller/operator/factory/vmalertmanager/config.go:1586
↓ 10 callers
Function
removeOrphaned
removeOrphaned removes orphaned resources
internal/controller/operator/factory/finalize/orphaned.go:129
↓ 10 callers
Function
waitForStatus
waitForStatus waits till obj reaches defined status
internal/controller/operator/factory/reconcile/reconcile.go:219
↓ 9 callers
Function
ConvertVMAlert
ConvertVMAlert converts Helm values into a VMAlert CR and the Secrets generated for plaintext auth credentials found in it, in a single conversion pas
internal/converter/converter.go:2077
↓ 9 callers
Method
IntoSTSVolume
IntoSTSVolume converts storageSpec into proper volume for statefulsetSpec by default, it adds emptyDir volume.
api/operator/v1beta1/vmextra_types.go:251
↓ 9 callers
Method
PrefixedName
()
api/operator/v1beta1/vmsingle_types.go:344
↓ 9 callers
Function
UseProxyProtocol
UseProxyProtocol is a helper for build.probeCRD interface implementations
api/operator/v1beta1/vmextra_types.go:202
↓ 9 callers
Function
changelog
(*, front_matter="---\ntitle: x\n---\n", tip="tip body", versions)
hack/merge_changelog_test.py:11
↓ 9 callers
Function
diffDeep
(desired, current any, root string)
internal/controller/operator/factory/reconcile/diff.go:117
↓ 9 callers
Function
generateRelabelConfig
(rc *vmv1beta1.RelabelConfig)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:172
↓ 9 callers
Function
handleReconcileErr
+kubebuilder:rbac:groups="",resources=events,verbs=create
internal/controller/operator/controllers.go:234
↓ 9 callers
Function
licenseSpec
licenseSpec follows the charts' vm.license.* helpers: a plaintext key (component, then global) wins over any Secret reference, whose name and key are
internal/converter/converter.go:147
↓ 8 callers
Function
CreateOrUpdate
CreateOrUpdate reconciled cluster object with order first we check status of vmStorage and waiting for its readiness then vmSelect and wait for it rea
internal/controller/operator/factory/vmcluster/vmcluster.go:38
↓ 8 callers
Method
HasConfigReloader
HasConfigReloader reports whether vmauth's pod spec includes a config-reloader sidecar - only true when the operator itself owns and writes the auth c
api/operator/v1beta1/vmauth_types.go:807
↓ 8 callers
Function
ListObjectsByNamespace
ListObjectsByNamespace performs object list for given namespaces
internal/controller/operator/factory/k8stools/client_utils.go:109
↓ 8 callers
Method
Load
Load returns vmanomaly config merged with provided secrets
internal/controller/operator/factory/vmanomaly/config/config.go:63
↓ 8 callers
Function
MergeSpecs
MergeSpecs substitutes ZonePlaceholder in a with name, then deep-merges b on top.
internal/podutil/util.go:257
↓ 8 callers
Method
PrefixedName
()
api/operator/v1beta1/vmalertmanager_types.go:379
↓ 8 callers
Function
expectPodCount
(ctx context.Context, rclient client.Client, obj client.Object, count int)
test/e2e/utils_test.go:102
↓ 7 callers
Method
AvailableStorageNodeIDs
AvailableStorageNodeIDs returns ids of the storage nodes for the provided component
api/operator/v1/vtcluster_types.go:756
↓ 7 callers
Function
CreateOrUpdate
CreateOrUpdate creates vmanomaly and builds config for it
internal/controller/operator/factory/vmanomaly/statefulset.go:45
↓ 7 callers
Function
FetchMetricsValues
FetchMetricsValues issues a single HTTP GET to url and extracts every sample matching any of the given queries, returning metric name -> (dimension va
internal/podutil/prometheus.go:31
↓ 7 callers
Method
GetRBACName
()
api/operator/v1beta1/vmagent_types.go:614
↓ 7 callers
Method
GetStatusMetadata
()
internal/controller/operator/factory/reconcile/status.go:35
↓ 7 callers
Method
GetStorageVolumeName
GetStorageVolumeName returns formatted name for vtstorage volume
api/operator/v1/vtcluster_types.go:542
↓ 7 callers
Method
Len
()
internal/controller/operator/factory/vldistributed/zone.go:48
↓ 7 callers
Method
OperatorV1
()
api/client/versioned/clientset.go:36
↓ 7 callers
Function
PodIsReady
PodIsReady check is pod is ready
internal/controller/operator/factory/reconcile/statefulset.go:462
↓ 7 callers
Method
PrefixedName
PrefixedName format name of the component with hard-coded prefix
api/operator/v1/vmanomaly_types.go:436
↓ 7 callers
Method
RESTClient
()
api/client/versioned/typed/operator/v1/operator_client.go:29
↓ 7 callers
Method
String
String implements Stringer interface
api/operator/v1beta1/vmextra_types.go:1888
↓ 7 callers
Function
getAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAgent)
internal/controller/operator/factory/vmagent/vmagent.go:1336
↓ 7 callers
Function
isSelectorsMatchesTargetCRD
isSelectorsMatchesTargetCRD checks if targetCRD matches sourceCRD by entity selectors and selectAll. see https://docs.victoriametrics.com/operator/res
internal/controller/operator/controllers.go:335
↓ 7 callers
Method
start
(ctx context.Context)
cmd/config-reloader/main.go:277
↓ 6 callers
Function
BuildLocalURL
BuildLocalURL builds API path for given args
api/operator/v1beta1/vmextra_types.go:454
↓ 6 callers
Function
ConfigMap
ConfigMap reconciles configmap object
internal/controller/operator/factory/reconcile/configmap.go:19
↓ 6 callers
Function
ConvertVMAuthUsers
ConvertVMAuthUsers converts a victoria-metrics-auth chart's config.users entries into standalone VMUser CRs. Returned separately from Convert since ea
internal/converter/converter.go:2015
↓ 6 callers
Function
CreateOrUpdate
CreateOrUpdate creates vmalert deployment for given CRD
internal/controller/operator/factory/vmalert/vmalert.go:105
↓ 6 callers
Function
CreateOrUpdate
CreateOrUpdate handles VL deployment reconciliation.
internal/controller/operator/factory/vldistributed/vldistributed.go:25
↓ 6 callers
Function
CreateOrUpdateRuleConfigMaps
CreateOrUpdateRuleConfigMaps conditionally selects vmrules and stores content at configmaps. Alerting rules are dropped when hasNotifiers is false, si
internal/controller/operator/factory/vmalert/rules.go:27
↓ 6 callers
Function
FilterPrefixes
FilterPrefixes filters given prefixes from src map
internal/controller/operator/factory/converter/apis.go:529
↓ 6 callers
Method
GetRBACName
()
api/operator/v1beta1/vmsingle_types.go:383
↓ 6 callers
Method
IsProvided
IsProvided returns true if license is provided.
api/operator/v1beta1/vmextra_types.go:1104
↓ 6 callers
Method
IsSharded
IsSharded returns true if sharding is enabled
api/operator/v1/vmanomaly_types.go:555
↓ 6 callers
Function
MaybeAddArgoCDIgnoreAnnotations
MaybeAddArgoCDIgnoreAnnotations optionally adds ArgoCD annotations
internal/controller/operator/factory/converter/apis.go:89
↓ 6 callers
Function
NewReadyDeployment
NewReadyDeployment returns a new deployment with ready status condition
internal/controller/operator/factory/k8stools/test_helpers.go:234
↓ 6 callers
Function
NewReconcileRateLimiter
NewReconcileRateLimiter returns limiter with limit per 2 seconds
internal/controller/operator/factory/limiter/limiter.go:41
↓ 6 callers
Method
PrefixedName
()
api/operator/v1beta1/vmauth_types.go:733
↓ 6 callers
Method
PrefixedName
()
api/operator/v1beta1/vmalert_types.go:462
↓ 6 callers
Method
PrefixedName
PrefixedName format name of the component with hard-coded prefix
api/operator/v1/vtsingle_types.go:290
↓ 6 callers
Method
PrefixedName
PrefixedName returns name of resource with fixed prefix
api/operator/v1/vlagent_types.go:439
↓ 6 callers
Method
PrefixedName
PrefixedName returns prefixed name for the given component kind
api/operator/v1/vtcluster_types.go:179
↓ 6 callers
Method
PrefixedName
PrefixedName returns prefixed name for the given component kind
api/operator/v1/vlcluster_types.go:184
↓ 6 callers
Function
RemoveFinalizer
RemoveFinalizer removes finalizer from instance if needed.
internal/controller/operator/factory/finalize/common.go:63
↓ 6 callers
Function
ResolveServiceURL
ResolveServiceURL returns the service name and port for building a CR's URL. When isExtra is true it targets the additional service (spec.serviceSpec)
api/operator/v1beta1/vmextra_types.go:436
↓ 6 callers
Function
StatusForChildObject
StatusForChildObject is a fast path for updating a single child object that triggered the reconcile, bypassing the release-on-drop tracking used by St
internal/controller/operator/factory/reconcile/status.go:89
↓ 6 callers
Function
VMPodScrape
VMPodScrape creates or updates given object
internal/controller/operator/factory/reconcile/vmpodscrape.go:19
↓ 6 callers
Method
Validate
Validate checks if spec is correct
api/operator/v1beta1/vlogs_types.go:267
↓ 6 callers
Function
WatchUntilStatusReached
WatchUntilStatusReached starts a watch on the named object and waits until it reaches targetStatus. Uses minGen=0 (matches any generation), suitable w
test/e2e/suite/utils.go:130
↓ 6 callers
Function
addCommonScrapeParamsTo
(cfg yaml.MapSlice, cs vmv1beta1.EndpointScrapeParams, se *vmv1beta1.CommonScrapeSecurityEnforcements)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:477
↓ 6 callers
Function
addEndpointAuthTo
(cfg yaml.MapSlice, ea *vmv1beta1.EndpointAuth, namespace string, ac *build.AssetsCache)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:552
↓ 6 callers
Function
addMetricRelabelingsTo
(cfg yaml.MapSlice, src []*vmv1beta1.RelabelConfig, se *vmv1beta1.CommonScrapeSecurityEnforcements)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:532
↓ 6 callers
Function
assertAnnotationsOnObjects
nolint:dupl,lll
test/e2e/utils_test.go:196
↓ 6 callers
Function
buildVMScrapeParams
(namespace string, cfg *vmv1beta1.VMScrapeParams, ac *build.AssetsCache)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:396
↓ 6 callers
Method
close
()
cmd/config-reloader/main.go:315
↓ 6 callers
Function
collectVMAgentScrapes
(l logr.Logger, ctx context.Context, rclient client.Client, cfg *config.BaseOperatorConf, instance client.Obje
internal/controller/operator/vmagent_controller.go:158
↓ 6 callers
Function
collectVMSingleScrapes
(l logr.Logger, ctx context.Context, rclient client.Client, cfg *config.BaseOperatorConf, instance client.Obje
internal/controller/operator/vmsingle_controller.go:148
↓ 6 callers
Function
convertSliceStruct
(src []T, convert func(T) D)
internal/controller/operator/factory/converter/v1alpha1/apis.go:206
↓ 6 callers
Function
enforceNamespaceLabel
(relabelings []yaml.MapSlice, namespace, enforcedNamespaceLabel string)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:386
↓ 6 callers
Function
getAssetsCache
(ctx context.Context, rclient client.Client)
internal/controller/operator/factory/vmscrapes/vmscrapes_test.go:91
↓ 6 callers
Function
getScrapeClass
(name *string, sp *vmv1beta1.CommonScrapeParams)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:742
↓ 6 callers
Function
hasVolumeMount
nolint:dupl,lll,unparam
test/e2e/utils_test.go:249
↓ 6 callers
Function
mergeEndpointAuthWithScrapeClass
(authz *vmv1beta1.EndpointAuth, scrapeClass *vmv1beta1.ScrapeClass)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:599
↓ 6 callers
Function
mergeMetaWithConversion
(existingObj, newObj client.Object, prevMeta *metav1.ObjectMeta, owner *metav1.OwnerReference, shouldRemoveFin
internal/controller/operator/factory/reconcile/reconcile.go:104
↓ 6 callers
Function
setScrapeIntervalToWithLimit
(ctx context.Context, dst *vmv1beta1.EndpointScrapeParams, sp *vmv1beta1.CommonScrapeParams)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:25
↓ 6 callers
Function
version
(heading, body)
hack/merge_changelog_test.py:15
↓ 5 callers
Method
AsOwner
AsOwner returns owner references with current object as owner
api/operator/v1beta1/vmcluster_types.go:302
↓ 5 callers
Function
ConvertRelabelConfig
ConvertRelabelConfig converts Prometheus relabel config to VM one
internal/controller/operator/factory/converter/apis.go:305
↓ 5 callers
Function
CreateLicenseSecret
(ctx context.Context, k8sClient client.Client, namespace string)
test/e2e/common.go:16
↓ 5 callers
Function
CreateOrUpdate
CreateOrUpdate syncs VTCluster object to the desired state
internal/controller/operator/factory/vtcluster/cluster.go:21
↓ 5 callers
Function
CreateOrUpdate
CreateOrUpdate handles VM deployment reconciliation.
internal/controller/operator/factory/vmdistributed/vmdistributed.go:25
↓ 5 callers
Function
CreateOrUpdate
CreateOrUpdate - handles VMAuth deployment reconciliation.
internal/controller/operator/factory/vmauth/vmauth.go:46
↓ 5 callers
Function
CreateOrUpdate
CreateOrUpdate performs an update for single node resource
internal/controller/operator/factory/vmsingle/vmsingle.go:79
↓ 5 callers
Method
DeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
api/operator/v1/zz_generated.deepcopy.go:240
← previous
next →
101–200 of 4,346, ranked by callers