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
↓ 3 callers
Method
IDs
IDs returns the list of currently tracked IDs.
internal/podutil/util.go:164
↓ 3 callers
Function
InitOperatorProcess
InitOperatorProcess prepares operator process for usage, must be called once
test/e2e/suite/suite.go:182
↓ 3 callers
Method
KeepNetworkPolicy
KeepNetworkPolicy adds given NetworkPolicy's name to a map of resource names to be excluded from deletion
internal/controller/operator/factory/finalize/cluster.go:201
↓ 3 callers
Function
MergeValues
MergeValues deep-merges base and override YAML, with override taking precedence.
internal/converter/converter.go:587
↓ 3 callers
Function
NewActionRecordingInterceptor
NewActionRecordingInterceptor returns an interceptor that records actions to the provided slice pointer. It wraps an existing interceptorFuncs if prov
internal/controller/operator/factory/k8stools/interceptors.go:99
↓ 3 callers
Function
NewManager
NewManager creates a Manager that is a child of ctx.
internal/podutil/util.go:92
↓ 3 callers
Function
NewVLAgentInformerWithOptions
NewVLAgentInformerWithOptions constructs a new informer for VLAgent type with additional options. Always prefer using an informer factory to get a sha
api/client/informers/externalversions/operator/v1/vlagent.go:65
↓ 3 callers
Function
NewVLClusterInformerWithOptions
NewVLClusterInformerWithOptions constructs a new informer for VLCluster type with additional options. Always prefer using an informer factory to get a
api/client/informers/externalversions/operator/v1/vlcluster.go:65
↓ 3 callers
Function
NewVLDistributedInformerWithOptions
NewVLDistributedInformerWithOptions constructs a new informer for VLDistributed type with additional options. Always prefer using an informer factory
api/client/informers/externalversions/operator/v1alpha1/vldistributed.go:65
↓ 3 callers
Function
NewVLSingleInformerWithOptions
NewVLSingleInformerWithOptions constructs a new informer for VLSingle type with additional options. Always prefer using an informer factory to get a s
api/client/informers/externalversions/operator/v1/vlsingle.go:65
↓ 3 callers
Function
NewVLogsInformerWithOptions
NewVLogsInformerWithOptions constructs a new informer for VLogs type with additional options. Always prefer using an informer factory to get a shared
api/client/informers/externalversions/operator/v1beta1/vlogs.go:65
↓ 3 callers
Function
NewVMAgentInformerWithOptions
NewVMAgentInformerWithOptions constructs a new informer for VMAgent type with additional options. Always prefer using an informer factory to get a sha
api/client/informers/externalversions/operator/v1beta1/vmagent.go:65
↓ 3 callers
Function
NewVMAlertInformerWithOptions
NewVMAlertInformerWithOptions constructs a new informer for VMAlert type with additional options. Always prefer using an informer factory to get a sha
api/client/informers/externalversions/operator/v1beta1/vmalert.go:65
↓ 3 callers
Function
NewVMAlertmanagerConfigInformerWithOptions
NewVMAlertmanagerConfigInformerWithOptions constructs a new informer for VMAlertmanagerConfig type with additional options. Always prefer using an inf
api/client/informers/externalversions/operator/v1beta1/vmalertmanagerconfig.go:65
↓ 3 callers
Function
NewVMAlertmanagerInformerWithOptions
NewVMAlertmanagerInformerWithOptions constructs a new informer for VMAlertmanager type with additional options. Always prefer using an informer factor
api/client/informers/externalversions/operator/v1beta1/vmalertmanager.go:65
↓ 3 callers
Function
NewVMAnomalyInformerWithOptions
NewVMAnomalyInformerWithOptions constructs a new informer for VMAnomaly type with additional options. Always prefer using an informer factory to get a
api/client/informers/externalversions/operator/v1/vmanomaly.go:65
↓ 3 callers
Function
NewVMAuthInformerWithOptions
NewVMAuthInformerWithOptions constructs a new informer for VMAuth type with additional options. Always prefer using an informer factory to get a share
api/client/informers/externalversions/operator/v1beta1/vmauth.go:65
↓ 3 callers
Function
NewVMClusterInformerWithOptions
NewVMClusterInformerWithOptions constructs a new informer for VMCluster type with additional options. Always prefer using an informer factory to get a
api/client/informers/externalversions/operator/v1beta1/vmcluster.go:65
↓ 3 callers
Function
NewVMDistributedInformerWithOptions
NewVMDistributedInformerWithOptions constructs a new informer for VMDistributed type with additional options. Always prefer using an informer factory
api/client/informers/externalversions/operator/v1alpha1/vmdistributed.go:65
↓ 3 callers
Function
NewVMNodeScrapeInformerWithOptions
NewVMNodeScrapeInformerWithOptions constructs a new informer for VMNodeScrape type with additional options. Always prefer using an informer factory to
api/client/informers/externalversions/operator/v1beta1/vmnodescrape.go:65
↓ 3 callers
Function
NewVMPodScrapeInformerWithOptions
NewVMPodScrapeInformerWithOptions constructs a new informer for VMPodScrape type with additional options. Always prefer using an informer factory to g
api/client/informers/externalversions/operator/v1beta1/vmpodscrape.go:65
↓ 3 callers
Function
NewVMProbeInformerWithOptions
NewVMProbeInformerWithOptions constructs a new informer for VMProbe type with additional options. Always prefer using an informer factory to get a sha
api/client/informers/externalversions/operator/v1beta1/vmprobe.go:65
↓ 3 callers
Function
NewVMRuleInformerWithOptions
NewVMRuleInformerWithOptions constructs a new informer for VMRule type with additional options. Always prefer using an informer factory to get a share
api/client/informers/externalversions/operator/v1beta1/vmrule.go:65
↓ 3 callers
Function
NewVMScrapeConfigInformerWithOptions
NewVMScrapeConfigInformerWithOptions constructs a new informer for VMScrapeConfig type with additional options. Always prefer using an informer factor
api/client/informers/externalversions/operator/v1beta1/vmscrapeconfig.go:65
↓ 3 callers
Function
NewVMServiceScrapeInformerWithOptions
NewVMServiceScrapeInformerWithOptions constructs a new informer for VMServiceScrape type with additional options. Always prefer using an informer fact
api/client/informers/externalversions/operator/v1beta1/vmservicescrape.go:65
↓ 3 callers
Function
NewVMSingleInformerWithOptions
NewVMSingleInformerWithOptions constructs a new informer for VMSingle type with additional options. Always prefer using an informer factory to get a s
api/client/informers/externalversions/operator/v1beta1/vmsingle.go:65
↓ 3 callers
Function
NewVMStaticScrapeInformerWithOptions
NewVMStaticScrapeInformerWithOptions constructs a new informer for VMStaticScrape type with additional options. Always prefer using an informer factor
api/client/informers/externalversions/operator/v1beta1/vmstaticscrape.go:65
↓ 3 callers
Function
NewVMUserInformerWithOptions
NewVMUserInformerWithOptions constructs a new informer for VMUser type with additional options. Always prefer using an informer factory to get a share
api/client/informers/externalversions/operator/v1beta1/vmuser.go:65
↓ 3 callers
Function
NewVTClusterInformerWithOptions
NewVTClusterInformerWithOptions constructs a new informer for VTCluster type with additional options. Always prefer using an informer factory to get a
api/client/informers/externalversions/operator/v1/vtcluster.go:65
↓ 3 callers
Function
NewVTSingleInformerWithOptions
NewVTSingleInformerWithOptions constructs a new informer for VTSingle type with additional options. Always prefer using an informer factory to get a s
api/client/informers/externalversions/operator/v1/vtsingle.go:65
↓ 3 callers
Method
OrDefault
OrDefault returns d if non-nil, otherwise returns fallback.
api/operator/v1beta1/vmcluster_types.go:126
↓ 3 callers
Function
PodMonitor
PodMonitor create VMPodScrape from PodMonitor
internal/controller/operator/factory/converter/apis.go:385
↓ 3 callers
Method
Port
Port returns port for accessing alertmanager
api/operator/v1beta1/vmalertmanager_types.go:396
↓ 3 callers
Function
RemoveOrphanedDeployments
RemoveOrphanedDeployments removes Deployments detached from given object
internal/controller/operator/factory/finalize/orphaned.go:19
↓ 3 callers
Function
RemoveOrphanedVMPodScrapes
RemoveOrphanedVMPodScrapes removes VMPodScrapes detached from given object
internal/controller/operator/factory/finalize/orphaned.go:116
↓ 3 callers
Function
RemoveOrphanedVPAs
RemoveOrphanedVPAs removes VPAs detached from given object
internal/controller/operator/factory/finalize/orphaned.go:78
↓ 3 callers
Function
Run
Run executes the provided command within this context
test/utils/utils.go:38
↓ 3 callers
Method
SelectorLabels
()
api/operator/v1beta1/vmalert_types.go:424
↓ 3 callers
Method
SelectorLabels
()
api/operator/v1beta1/vmsingle_types.go:299
↓ 3 callers
Method
SelectorLabels
SelectorLabels returns selector labels for vmanomaly
api/operator/v1/vmanomaly_types.go:376
↓ 3 callers
Function
ShutdownOperatorProcess
ShutdownOperatorProcess stops operator process and cleanup resources
test/e2e/suite/suite.go:205
↓ 3 callers
Function
UpdateObjectStatus
UpdateStatus reconcile provided object status with given actualStatus status
internal/controller/operator/factory/reconcile/status.go:399
↓ 3 callers
Method
UseTLS
UseTLS returns true if TLS is enabled
api/operator/v1/vlagent_types.go:459
↓ 3 callers
Method
VLAuthName
VLAuthName returns the name of the VMAuth resource to be created/managed.
api/operator/v1alpha1/vldistributed_types.go:405
↓ 3 callers
Method
Validate
Validate performs semantic validation of object
api/operator/v1beta1/vmrule_types.go:161
↓ 3 callers
Method
Validate
()
api/operator/v1beta1/vmauth_types.go:447
↓ 3 callers
Method
ValidateArbitraryFSAccess
()
api/operator/v1beta1/vmuser_types.go:313
↓ 3 callers
Function
WaitForConfigReloadHash
WaitForConfigReloadHash verifies that every ready replica's config-reloader sidecar has confirmed applying content matching hash, an exact CRC32 match
internal/controller/operator/factory/reconcile/config_reload.go:45
↓ 3 callers
Method
addLabel
(name string, value string)
test/e2e/suite/allure/result.go:72
↓ 3 callers
Method
asSpec
asSpec merges the flat tls* keys into TLSConfig, unless it was already set explicitly.
internal/converter/converter.go:448
↓ 3 callers
Function
assertStrictSecurity
(podSpec corev1.PodSpec)
test/e2e/vmcluster_test.go:1961
↓ 3 callers
Function
buildCRPrefixedName
(cr *vmv1beta1.VMAlertmanagerConfig, name string)
internal/controller/operator/factory/vmalertmanager/config.go:385
↓ 3 callers
Function
buildRemoteWriteArgs
(cr *vmv1beta1.VMAgent, ac *build.AssetsCache)
internal/controller/operator/factory/vmagent/vmagent.go:1003
↓ 3 callers
Method
confirmReload
confirmReload publishes every pending hash as confirmed. Called only after a successful (HTTP 200/204) /-/reload call.
cmd/config-reloader/content_hash.go:41
↓ 3 callers
Function
convertBearerToken
(src *corev1.SecretKeySelector)
internal/controller/operator/factory/converter/apis.go:196
↓ 3 callers
Function
convertSecretOrConfigmap
(promSCM promv1.SecretOrConfigMap)
internal/controller/operator/factory/converter/apis.go:297
↓ 3 callers
Function
createOrUpdateConfig
createOrUpdateConfig reconcile configuration for vmanomaly and returns configuration consistent hash
internal/controller/operator/factory/vmanomaly/config.go:33
↓ 3 callers
Function
createOrUpdateStreamAggrConfig
createOrUpdateStreamAggrConfig builds stream aggregation configs for vmagent at separate configmap, serialized as yaml.
internal/controller/operator/factory/vmagent/vmagent.go:970
↓ 3 callers
Function
diffDeepInternal
diffDeepInternal is similar to diffDeep except that unset fields in desired are ignored (not compared). This allows us to focus on the fields that mat
internal/controller/operator/factory/reconcile/diff.go:132
↓ 3 callers
Function
expectHTTPRequestToSucceed
(ctx context.Context, opts httpRequestOpts)
test/e2e/utils_test.go:134
↓ 3 callers
Function
fetchLatestChartVersion
fetchLatestChartVersion fetches the latest version of chart from the helm-charts repository.
internal/converter/converter.go:529
↓ 3 callers
Function
getAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAlert)
internal/controller/operator/factory/vmalert/vmalert.go:90
↓ 3 callers
Function
getEnvOpts
()
internal/config/config.go:46
↓ 3 callers
Function
getNamespacesFromNamespaceSelector
getNamespacesFromNamespaceSelector gets a list of namespaces to select based on the given namespace selector, the given default namespace, and whether
internal/controller/operator/factory/vmscrapes/vmscrapes.go:232
↓ 3 callers
Function
getTimestampMsFromTime
(t time.Time)
test/e2e/suite/allure/misc.go:29
↓ 3 callers
Function
getZones
getZones builds desired zones
internal/controller/operator/factory/vmdistributed/zone.go:104
↓ 3 callers
Function
isStorageEmpty
(pvc *corev1.PersistentVolumeClaimSpec)
internal/controller/operator/factory/vtsingle/vtsingle.go:35
↓ 3 callers
Function
isStorageEmpty
(pvc *corev1.PersistentVolumeClaimSpec)
internal/controller/operator/factory/vlsingle/vlsingle.go:35
↓ 3 callers
Function
isStorageEmpty
(pvc *corev1.PersistentVolumeClaimSpec)
internal/controller/operator/factory/vmsingle/vmsingle.go:45
↓ 3 callers
Function
mergeMapsWithStrategy
mergeMapsWithStrategy performs maps merge depending on a given strategy: * prefer-vm: returns existing map * prefer-prom: returns new map * merge-vm-p
internal/controller/operator/factory/reconcile/reconcile.go:63
↓ 3 callers
Function
newCollector
()
internal/controller/operator/objects_stat.go:97
↓ 3 callers
Function
newContentHashRegistry
(set *metrics.Set)
cmd/config-reloader/content_hash.go:21
↓ 3 callers
Function
newPodSpec
(cr *vmv1beta1.VMAgent, ac *build.AssetsCache, extraConfigSecretCount int)
internal/controller/operator/factory/vmagent/vmagent.go:539
↓ 3 callers
Function
newTestLBZones
(vmAgents []*vmv1beta1.VMAgent, vmClusters []*vmv1beta1.VMCluster, vmSingles []*vmv1beta1.VMSingle)
internal/controller/operator/factory/vmdistributed/vmauth_test.go:14
↓ 3 callers
Function
newTestLBZones
(vlAgents []*vmv1.VLAgent, vlClusters []*vmv1.VLCluster, vlSingles []*vmv1.VLSingle)
internal/controller/operator/factory/vldistributed/vmauth_test.go:15
↓ 3 callers
Function
patchReplaceFinalizers
(ctx context.Context, rclient client.Client, instance client.Object)
internal/controller/operator/factory/finalize/common.go:23
↓ 3 callers
Function
readFileContent
(src string)
cmd/config-reloader/file_watch.go:116
↓ 3 callers
Function
reportFirstNotReadyPodOnError
(ctx context.Context, rclient client.Client, origin error, ns string, selector labels.Selector, minReadySecond
internal/controller/operator/factory/reconcile/deploy.go:153
↓ 3 callers
Function
selectUsers
selects vmusers for given vmauth.
internal/controller/operator/factory/vmauth/vmusers_config.go:1004
↓ 3 callers
Function
validateHTTPHeaders
(headerValues []string)
api/operator/v1beta1/vmauth_types.go:436
↓ 3 callers
Function
validateStatefulSet
validateStatefulSet performs validation Statefulset spec Kubernetes doesn't perform some checks and produces runtime error during Pod creation. Volume
internal/controller/operator/factory/reconcile/statefulset.go:549
↓ 3 callers
Function
validateTargetDirCount
(targetCount, watchedCount int)
cmd/config-reloader/main.go:400
↓ 3 callers
Function
vmAlertSecretName
vmAlertSecretName returns the deterministic name for a generated auth Secret, so ConvertVMAlertSecrets and convertVMAlertSpec always agree on it. Trun
internal/converter/converter.go:1264
↓ 3 callers
Function
vmAuthUserSelectorLabels
vmAuthUserSelectorLabels returns the labels shared by every VMUser ConvertVMAuthUsers generates for vmauthName and that VMAuth's own userSelector, key
internal/converter/converter.go:1761
↓ 3 callers
Function
writeAggregatedStatus
writeAggregatedStatus derives status from per-parent conditions; a child selected by multiple parents is only Failed if it fails on all of them, not j
internal/controller/operator/factory/reconcile/status.go:347
↓ 2 callers
Function
AddClusterLabels
AddClusterLabels adds to given labels cluster specific labels
api/operator/v1beta1/vmextra_types.go:138
↓ 2 callers
Function
AddRelabelConfigs
AddRelabelConfigs adds relabel configuration to yaml
internal/controller/operator/factory/vmscrapes/vmscrapes.go:161
↓ 2 callers
Method
AsConfigMapKey
AsConfigMapKey key for kubernetes configmap
api/operator/v1beta1/vmagent_types.go:432
↓ 2 callers
Method
AsKey
AsKey returns unique key for object
api/operator/v1beta1/vmrule_types.go:156
↓ 2 callers
Method
AsOwner
AsOwner returns owner references with current object as owner
api/operator/v1beta1/vmagent_types.go:494
↓ 2 callers
Method
AsURL
(isExtra bool)
internal/controller/operator/factory/vmauth/vmusers_config.go:176
↓ 2 callers
Method
AvailableStorageNodeIDs
AvailableStorageNodeIDs returns ids of the storage nodes for the provided component
api/operator/v1beta1/vmcluster_types.go:899
↓ 2 callers
Function
BuildExtraConfigSecret
BuildExtraConfigSecret creates a Secret with gzip-compressed YAML for one overflow bucket.
internal/controller/operator/factory/vmscrapes/extra_config.go:29
↓ 2 callers
Function
ClusterPrefixedName
ClusterPrefixedName defines prefixed name for given cluster component kind
api/operator/v1beta1/vmextra_types.go:173
↓ 2 callers
Function
ClusterSuffixedName
ClusterSuffixedName returns <name>-<prefix><kind> (or <name>-<prefix><kind>-internal), matching the suffix naming convention used by standalone Helm c
api/operator/v1beta1/vmextra_types.go:183
↓ 2 callers
Method
ConfigSecretName
ConfigSecretName returns configuration secret name for alertmanager
api/operator/v1beta1/vmalertmanager_types.go:372
↓ 2 callers
Function
ConvertTLSConfig
ConvertTLSConfig converts Prometheus TLS config to VM one
internal/controller/operator/factory/converter/apis.go:255
↓ 2 callers
Function
ConvertVMAlertRules
ConvertVMAlertRules converts a victoria-metrics-alert chart's server.config.alerts.groups into a standalone VMRule CR, selected by the generated VMAle
internal/converter/converter.go:1869
↓ 2 callers
Function
CreateObjects
(objects ...client.Object)
test/e2e/watchnamespace/utils_test.go:13
↓ 2 callers
Function
CreateOrUpdateConfig
CreateOrUpdateConfig configuration secret for vmauth.
internal/controller/operator/factory/vmauth/vmauth.go:404
← previous
next →
301–400 of 3,858, ranked by callers