MCPcopy Create free account

hub / github.com/VictoriaMetrics/operator / functions

Functions4,346 in github.com/VictoriaMetrics/operator

↓ 12 callersFunctionStatefulSet
StatefulSet performs create and update operations for given statefulSet with STSOptions
internal/controller/operator/factory/reconcile/statefulset.go:113
↓ 12 callersMethodStop
Stop marks id as finished and triggers self-cancel when all goroutines are done.
internal/podutil/util.go:118
↓ 12 callersMethodThrottle
Throttle registers reconcile event and checks if it must be throttled
internal/controller/operator/factory/limiter/limiter.go:28
↓ 12 callersFunctionVisitSelected
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 callersFunctionconvertCommonConfig
(values ServerValues, global GlobalValues)
internal/converter/converter.go:1165
↓ 12 callersFunctionhandleConfigReconcileErrWithStatus
handleConfigReconcileErrWithStatus is for a config-kind object like VMRule, VMServiceScrape, VMUser, VMAlertmanagerConfig. Its status.updateStatus is
internal/controller/operator/controllers.go:199
↓ 11 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMCluster.
api/operator/v1beta1/zz_generated.deepcopy.go:6172
↓ 11 callersFunctionRemoveOrphanedServices
RemoveOrphanedServices removes Services detached from given object
internal/controller/operator/factory/finalize/orphaned.go:58
↓ 11 callersMethodStatus
()
internal/manager/client.go:78
↓ 11 callersFunctionStatusForChildObjects
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 callersMethodstart
(ctx context.Context, updates chan struct{})
cmd/config-reloader/main.go:340
↓ 10 callersMethodGetNamespace
()
api/operator/v1beta1/vmservicescrape_types.go:103
↓ 10 callersFunctionSecret
Secret reconciles secret object.
internal/controller/operator/factory/reconcile/secret.go:18
↓ 10 callersFunctionUseTLS
UseTLS returns true if TLS is enabled
api/operator/v1beta1/vmextra_types.go:469
↓ 10 callersMethodclose
()
cmd/config-reloader/main.go:341
↓ 10 callersFunctionnewDirWatchers
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 callersFunctionparseURL
(s string)
internal/controller/operator/factory/vmalertmanager/config.go:1586
↓ 10 callersFunctionremoveOrphaned
removeOrphaned removes orphaned resources
internal/controller/operator/factory/finalize/orphaned.go:129
↓ 10 callersFunctionwaitForStatus
waitForStatus waits till obj reaches defined status
internal/controller/operator/factory/reconcile/reconcile.go:219
↓ 9 callersFunctionConvertVMAlert
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 callersMethodIntoSTSVolume
IntoSTSVolume converts storageSpec into proper volume for statefulsetSpec by default, it adds emptyDir volume.
api/operator/v1beta1/vmextra_types.go:251
↓ 9 callersMethodPrefixedName
()
api/operator/v1beta1/vmsingle_types.go:344
↓ 9 callersFunctionUseProxyProtocol
UseProxyProtocol is a helper for build.probeCRD interface implementations
api/operator/v1beta1/vmextra_types.go:202
↓ 9 callersFunctionchangelog
(*, front_matter="---\ntitle: x\n---\n", tip="tip body", versions)
hack/merge_changelog_test.py:11
↓ 9 callersFunctiondiffDeep
(desired, current any, root string)
internal/controller/operator/factory/reconcile/diff.go:117
↓ 9 callersFunctiongenerateRelabelConfig
(rc *vmv1beta1.RelabelConfig)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:172
↓ 9 callersFunctionhandleReconcileErr
+kubebuilder:rbac:groups="",resources=events,verbs=create
internal/controller/operator/controllers.go:234
↓ 9 callersFunctionlicenseSpec
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 callersFunctionCreateOrUpdate
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 callersMethodHasConfigReloader
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 callersFunctionListObjectsByNamespace
ListObjectsByNamespace performs object list for given namespaces
internal/controller/operator/factory/k8stools/client_utils.go:109
↓ 8 callersMethodLoad
Load returns vmanomaly config merged with provided secrets
internal/controller/operator/factory/vmanomaly/config/config.go:63
↓ 8 callersFunctionMergeSpecs
MergeSpecs substitutes ZonePlaceholder in a with name, then deep-merges b on top.
internal/podutil/util.go:257
↓ 8 callersMethodPrefixedName
()
api/operator/v1beta1/vmalertmanager_types.go:379
↓ 8 callersFunctionexpectPodCount
(ctx context.Context, rclient client.Client, obj client.Object, count int)
test/e2e/utils_test.go:102
↓ 7 callersMethodAvailableStorageNodeIDs
AvailableStorageNodeIDs returns ids of the storage nodes for the provided component
api/operator/v1/vtcluster_types.go:756
↓ 7 callersFunctionCreateOrUpdate
CreateOrUpdate creates vmanomaly and builds config for it
internal/controller/operator/factory/vmanomaly/statefulset.go:45
↓ 7 callersFunctionFetchMetricsValues
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 callersMethodGetRBACName
()
api/operator/v1beta1/vmagent_types.go:614
↓ 7 callersMethodGetStatusMetadata
()
internal/controller/operator/factory/reconcile/status.go:35
↓ 7 callersMethodGetStorageVolumeName
GetStorageVolumeName returns formatted name for vtstorage volume
api/operator/v1/vtcluster_types.go:542
↓ 7 callersMethodLen
()
internal/controller/operator/factory/vldistributed/zone.go:48
↓ 7 callersMethodOperatorV1
()
api/client/versioned/clientset.go:36
↓ 7 callersFunctionPodIsReady
PodIsReady check is pod is ready
internal/controller/operator/factory/reconcile/statefulset.go:462
↓ 7 callersMethodPrefixedName
PrefixedName format name of the component with hard-coded prefix
api/operator/v1/vmanomaly_types.go:436
↓ 7 callersMethodRESTClient
()
api/client/versioned/typed/operator/v1/operator_client.go:29
↓ 7 callersMethodString
String implements Stringer interface
api/operator/v1beta1/vmextra_types.go:1888
↓ 7 callersFunctiongetAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAgent)
internal/controller/operator/factory/vmagent/vmagent.go:1336
↓ 7 callersFunctionisSelectorsMatchesTargetCRD
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 callersMethodstart
(ctx context.Context)
cmd/config-reloader/main.go:277
↓ 6 callersFunctionBuildLocalURL
BuildLocalURL builds API path for given args
api/operator/v1beta1/vmextra_types.go:454
↓ 6 callersFunctionConfigMap
ConfigMap reconciles configmap object
internal/controller/operator/factory/reconcile/configmap.go:19
↓ 6 callersFunctionConvertVMAuthUsers
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 callersFunctionCreateOrUpdate
CreateOrUpdate creates vmalert deployment for given CRD
internal/controller/operator/factory/vmalert/vmalert.go:105
↓ 6 callersFunctionCreateOrUpdate
CreateOrUpdate handles VL deployment reconciliation.
internal/controller/operator/factory/vldistributed/vldistributed.go:25
↓ 6 callersFunctionCreateOrUpdateRuleConfigMaps
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 callersFunctionFilterPrefixes
FilterPrefixes filters given prefixes from src map
internal/controller/operator/factory/converter/apis.go:529
↓ 6 callersMethodGetRBACName
()
api/operator/v1beta1/vmsingle_types.go:383
↓ 6 callersMethodIsProvided
IsProvided returns true if license is provided.
api/operator/v1beta1/vmextra_types.go:1104
↓ 6 callersMethodIsSharded
IsSharded returns true if sharding is enabled
api/operator/v1/vmanomaly_types.go:555
↓ 6 callersFunctionMaybeAddArgoCDIgnoreAnnotations
MaybeAddArgoCDIgnoreAnnotations optionally adds ArgoCD annotations
internal/controller/operator/factory/converter/apis.go:89
↓ 6 callersFunctionNewReadyDeployment
NewReadyDeployment returns a new deployment with ready status condition
internal/controller/operator/factory/k8stools/test_helpers.go:234
↓ 6 callersFunctionNewReconcileRateLimiter
NewReconcileRateLimiter returns limiter with limit per 2 seconds
internal/controller/operator/factory/limiter/limiter.go:41
↓ 6 callersMethodPrefixedName
()
api/operator/v1beta1/vmauth_types.go:733
↓ 6 callersMethodPrefixedName
()
api/operator/v1beta1/vmalert_types.go:462
↓ 6 callersMethodPrefixedName
PrefixedName format name of the component with hard-coded prefix
api/operator/v1/vtsingle_types.go:290
↓ 6 callersMethodPrefixedName
PrefixedName returns name of resource with fixed prefix
api/operator/v1/vlagent_types.go:439
↓ 6 callersMethodPrefixedName
PrefixedName returns prefixed name for the given component kind
api/operator/v1/vtcluster_types.go:179
↓ 6 callersMethodPrefixedName
PrefixedName returns prefixed name for the given component kind
api/operator/v1/vlcluster_types.go:184
↓ 6 callersFunctionRemoveFinalizer
RemoveFinalizer removes finalizer from instance if needed.
internal/controller/operator/factory/finalize/common.go:63
↓ 6 callersFunctionResolveServiceURL
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 callersFunctionStatusForChildObject
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 callersFunctionVMPodScrape
VMPodScrape creates or updates given object
internal/controller/operator/factory/reconcile/vmpodscrape.go:19
↓ 6 callersMethodValidate
Validate checks if spec is correct
api/operator/v1beta1/vlogs_types.go:267
↓ 6 callersFunctionWatchUntilStatusReached
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 callersFunctionaddCommonScrapeParamsTo
(cfg yaml.MapSlice, cs vmv1beta1.EndpointScrapeParams, se *vmv1beta1.CommonScrapeSecurityEnforcements)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:477
↓ 6 callersFunctionaddEndpointAuthTo
(cfg yaml.MapSlice, ea *vmv1beta1.EndpointAuth, namespace string, ac *build.AssetsCache)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:552
↓ 6 callersFunctionaddMetricRelabelingsTo
(cfg yaml.MapSlice, src []*vmv1beta1.RelabelConfig, se *vmv1beta1.CommonScrapeSecurityEnforcements)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:532
↓ 6 callersFunctionassertAnnotationsOnObjects
nolint:dupl,lll
test/e2e/utils_test.go:196
↓ 6 callersFunctionbuildVMScrapeParams
(namespace string, cfg *vmv1beta1.VMScrapeParams, ac *build.AssetsCache)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:396
↓ 6 callersMethodclose
()
cmd/config-reloader/main.go:315
↓ 6 callersFunctioncollectVMAgentScrapes
(l logr.Logger, ctx context.Context, rclient client.Client, cfg *config.BaseOperatorConf, instance client.Obje
internal/controller/operator/vmagent_controller.go:158
↓ 6 callersFunctioncollectVMSingleScrapes
(l logr.Logger, ctx context.Context, rclient client.Client, cfg *config.BaseOperatorConf, instance client.Obje
internal/controller/operator/vmsingle_controller.go:148
↓ 6 callersFunctionconvertSliceStruct
(src []T, convert func(T) D)
internal/controller/operator/factory/converter/v1alpha1/apis.go:206
↓ 6 callersFunctionenforceNamespaceLabel
(relabelings []yaml.MapSlice, namespace, enforcedNamespaceLabel string)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:386
↓ 6 callersFunctiongetAssetsCache
(ctx context.Context, rclient client.Client)
internal/controller/operator/factory/vmscrapes/vmscrapes_test.go:91
↓ 6 callersFunctiongetScrapeClass
(name *string, sp *vmv1beta1.CommonScrapeParams)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:742
↓ 6 callersFunctionhasVolumeMount
nolint:dupl,lll,unparam
test/e2e/utils_test.go:249
↓ 6 callersFunctionmergeEndpointAuthWithScrapeClass
(authz *vmv1beta1.EndpointAuth, scrapeClass *vmv1beta1.ScrapeClass)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:599
↓ 6 callersFunctionmergeMetaWithConversion
(existingObj, newObj client.Object, prevMeta *metav1.ObjectMeta, owner *metav1.OwnerReference, shouldRemoveFin
internal/controller/operator/factory/reconcile/reconcile.go:104
↓ 6 callersFunctionsetScrapeIntervalToWithLimit
(ctx context.Context, dst *vmv1beta1.EndpointScrapeParams, sp *vmv1beta1.CommonScrapeParams)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:25
↓ 6 callersFunctionversion
(heading, body)
hack/merge_changelog_test.py:15
↓ 5 callersMethodAsOwner
AsOwner returns owner references with current object as owner
api/operator/v1beta1/vmcluster_types.go:302
↓ 5 callersFunctionConvertRelabelConfig
ConvertRelabelConfig converts Prometheus relabel config to VM one
internal/controller/operator/factory/converter/apis.go:305
↓ 5 callersFunctionCreateLicenseSecret
(ctx context.Context, k8sClient client.Client, namespace string)
test/e2e/common.go:16
↓ 5 callersFunctionCreateOrUpdate
CreateOrUpdate syncs VTCluster object to the desired state
internal/controller/operator/factory/vtcluster/cluster.go:21
↓ 5 callersFunctionCreateOrUpdate
CreateOrUpdate handles VM deployment reconciliation.
internal/controller/operator/factory/vmdistributed/vmdistributed.go:25
↓ 5 callersFunctionCreateOrUpdate
CreateOrUpdate - handles VMAuth deployment reconciliation.
internal/controller/operator/factory/vmauth/vmauth.go:46
↓ 5 callersFunctionCreateOrUpdate
CreateOrUpdate performs an update for single node resource
internal/controller/operator/factory/vmsingle/vmsingle.go:79
↓ 5 callersMethodDeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
api/operator/v1/zz_generated.deepcopy.go:240
← previousnext →101–200 of 4,346, ranked by callers