Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VictoriaMetrics/operator
/ functions
Functions
3,858 in github.com/VictoriaMetrics/operator
⨍
Functions
3,858
◇
Types & classes
1,072
↓ 10 callers
Method
AsOwner
()
internal/controller/operator/factory/finalize/common.go:18
↓ 10 callers
Method
GetNamespace
()
api/operator/v1beta1/vmservicescrape_types.go:103
↓ 10 callers
Function
RemoveOrphanedServices
RemoveOrphanedServices removes Services detached from given object
internal/controller/operator/factory/finalize/orphaned.go:58
↓ 10 callers
Function
Secret
Secret reconciles secret object.
internal/controller/operator/factory/reconcile/secret.go:18
↓ 10 callers
Method
Status
()
internal/manager/client.go:78
↓ 10 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:54
↓ 10 callers
Function
UseTLS
UseTLS returns true if TLS is enabled
api/operator/v1beta1/vmextra_types.go:443
↓ 10 callers
Function
parseURL
(s string)
internal/controller/operator/factory/vmalertmanager/config.go:1548
↓ 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:194
↓ 9 callers
Function
CreateOrUpdate
CreateOrUpdate creates deployment for vmagent and configures it waits for healthy state
internal/controller/operator/factory/vmagent/vmagent.go:130
↓ 9 callers
Function
StatefulSet
StatefulSet performs create and update operations for given statefulSet with STSOptions
internal/controller/operator/factory/reconcile/statefulset.go:76
↓ 9 callers
Function
UseProxyProtocol
UseProxyProtocol is a helper for build.probeCRD interface implementations
api/operator/v1beta1/vmextra_types.go:201
↓ 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
↓ 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
Function
GetTestClientWithObjectsAndInterceptors
GetTestClientWithObjectsAndInterceptors returns testing client with optional predefined objects and interceptors
internal/controller/operator/factory/k8stools/test_helpers.go:100
↓ 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:804
↓ 8 callers
Method
IntoSTSVolume
IntoSTSVolume converts storageSpec into proper volume for statefulsetSpec by default, it adds emptyDir volume.
api/operator/v1beta1/vmextra_types.go:250
↓ 8 callers
Function
ListObjectsByNamespace
ListObjectsByNamespace performs object list for given namespaces
internal/controller/operator/factory/k8stools/client_utils.go:109
↓ 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:376
↓ 8 callers
Method
PrefixedName
()
api/operator/v1beta1/vmsingle_types.go:340
↓ 8 callers
Function
handleReconcileErr
(ctx context.Context, rclient client.Client, object client.Object, originResult ctrl.Result, err error)
internal/controller/operator/controllers.go:146
↓ 7 callers
Method
AvailableStorageNodeIDs
AvailableStorageNodeIDs returns ids of the storage nodes for the provided component
api/operator/v1/vtcluster_types.go:725
↓ 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
GetStorageVolumeName
GetStorageVolumeName returns formatted name for vtstorage volume
api/operator/v1/vtcluster_types.go:518
↓ 7 callers
Method
Len
()
internal/controller/operator/factory/vldistributed/zone.go:48
↓ 7 callers
Method
Load
Load returns vmanomaly config merged with provided secrets
internal/controller/operator/factory/vmanomaly/config/config.go:63
↓ 7 callers
Function
expectPodCount
(ctx context.Context, rclient client.Client, obj client.Object, count int)
test/e2e/utils_test.go:102
↓ 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:242
↓ 6 callers
Function
BuildLocalURL
BuildLocalURL builds API path for given args
api/operator/v1beta1/vmextra_types.go:428
↓ 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:1770
↓ 6 callers
Function
CreateOrUpdate
CreateOrUpdate creates vmalert deployment for given CRD
internal/controller/operator/factory/vmalert/vmalert.go:105
↓ 6 callers
Function
CreateOrUpdate
CreateOrUpdate creates vmanomaly and builds config for it
internal/controller/operator/factory/vmanomaly/statefulset.go:45
↓ 6 callers
Function
CreateOrUpdate
CreateOrUpdate handles VL deployment reconciliation.
internal/controller/operator/factory/vldistributed/vldistributed.go:25
↓ 6 callers
Function
CreateOrUpdate
CreateOrUpdate performs an update for single node resource
internal/controller/operator/factory/vmsingle/vmsingle.go:79
↓ 6 callers
Function
FilterPrefixes
FilterPrefixes filters given prefixes from src map
internal/controller/operator/factory/converter/apis.go:529
↓ 6 callers
Method
GetStatusMetadata
()
internal/controller/operator/factory/reconcile/status.go:34
↓ 6 callers
Function
IsClusterWideAccessAllowed
IsClusterWideAccessAllowed checks if cluster wide access for components is needed
internal/config/config.go:957
↓ 6 callers
Method
IsProvided
IsProvided returns true if license is provided.
api/operator/v1beta1/vmextra_types.go:1078
↓ 6 callers
Method
IsSharded
IsSharded returns true if sharding is enabled
api/operator/v1/vmanomaly_types.go:524
↓ 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:200
↓ 6 callers
Function
NewReconcileRateLimiter
NewReconcileRateLimiter returns limiter with limit per 2 seconds
internal/controller/operator/factory/limiter/limiter.go:41
↓ 6 callers
Method
OperatorV1
()
api/client/versioned/clientset.go:36
↓ 6 callers
Function
PodIsReady
PodIsReady check is pod is ready
internal/controller/operator/factory/reconcile/statefulset.go:397
↓ 6 callers
Method
PrefixedName
()
api/operator/v1beta1/vmauth_types.go:730
↓ 6 callers
Method
PrefixedName
()
api/operator/v1beta1/vmalert_types.go:459
↓ 6 callers
Method
PrefixedName
PrefixedName format name of the component with hard-coded prefix
api/operator/v1/vtsingle_types.go:277
↓ 6 callers
Method
PrefixedName
PrefixedName returns name of resource with fixed prefix
api/operator/v1/vlagent_types.go:433
↓ 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
Method
RESTClient
()
api/client/versioned/typed/operator/v1/operator_client.go:29
↓ 6 callers
Function
RemoveFinalizer
RemoveFinalizer removes finalizer from instance if needed.
internal/controller/operator/factory/finalize/common.go:58
↓ 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:410
↓ 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:88
↓ 6 callers
Method
String
String implements Stringer interface
api/operator/v1beta1/vmextra_types.go:1839
↓ 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
Function
collectVMAgentScrapes
(l logr.Logger, ctx context.Context, rclient client.Client, watchNamespaces []string, instance client.Object)
internal/controller/operator/vmagent_controller.go:155
↓ 6 callers
Function
collectVMSingleScrapes
(l logr.Logger, ctx context.Context, rclient client.Client, watchNamespaces []string, instance client.Object)
internal/controller/operator/vmsingle_controller.go:145
↓ 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, cr *vmv1beta1.VMAgent)
internal/controller/operator/factory/vmagent/vmagent.go:1315
↓ 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:103
↓ 6 callers
Function
setScrapeIntervalToWithLimit
(ctx context.Context, dst *vmv1beta1.EndpointScrapeParams, sp *vmv1beta1.CommonScrapeParams)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:25
↓ 6 callers
Method
start
(ctx context.Context)
cmd/config-reloader/main.go:272
↓ 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
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
↓ 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:215
↓ 5 callers
Function
GetClient
(data []byte)
test/e2e/suite/suite.go:53
↓ 5 callers
Function
GetMetricsAddrs
GetMetricsAddrs discovers the agent's active endpoints from EndpointSlices and returns the full metrics URL for each ready endpoint.
internal/podutil/util.go:34
↓ 5 callers
Method
GetRemoteWriteURL
()
internal/controller/operator/factory/vmdistributed/zone.go:30
↓ 5 callers
Method
GetRemoteWriteURL
()
internal/controller/operator/factory/vldistributed/zone.go:31
↓ 5 callers
Method
HasAnyRule
HasAnyRule returns true if there is at least one aggregation rule
api/operator/v1beta1/vmextra_types.go:733
↓ 5 callers
Method
HasRemoteWriteSecrets
HasRemoteWriteSecrets reports whether any remoteWrite entry references a credential secret.
api/operator/v1beta1/vmagent_types.go:717
↓ 5 callers
Function
HasUnknownFields
HasUnknownFields reports whether a ParsingSpecError was caused by unknown spec fields. Webhook ValidateUpdate uses this to allow updates to CRs that c
api/operator/v1beta1/vmextra_types.go:1175
↓ 5 callers
Function
OnClusterLoadBalancerDelete
OnClusterLoadBalancerDelete removes vmauth loadbalancer components for cluster
internal/controller/operator/factory/finalize/cluster.go:139
↓ 5 callers
Function
OnInsertDelete
OnInsertDelete removes all objects related to insert component
internal/controller/operator/factory/finalize/cluster.go:54
↓ 5 callers
Function
OnSelectDelete
OnSelectDelete removes all objects related to select component
internal/controller/operator/factory/finalize/cluster.go:82
↓ 5 callers
Function
OnStorageDelete
OnStorageDelete removes all objects related to storage component
internal/controller/operator/factory/finalize/cluster.go:111
↓ 5 callers
Method
Patch
(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...
api/client/versioned/typed/operator/v1/vlagent.go:48
↓ 5 callers
Method
Port
Port returns port for accessing anomaly UI
api/operator/v1/vmanomaly_types.go:451
↓ 5 callers
Method
PrefixedName
PrefixedName format name of the component with hard-coded prefix
api/operator/v1/vmanomaly_types.go:405
← previous
next →
101–200 of 3,858, ranked by callers