MCPcopy Create free account

hub / github.com/VictoriaMetrics/operator / functions

Functions3,858 in github.com/VictoriaMetrics/operator

↓ 3 callersMethodIDs
IDs returns the list of currently tracked IDs.
internal/podutil/util.go:164
↓ 3 callersFunctionInitOperatorProcess
InitOperatorProcess prepares operator process for usage, must be called once
test/e2e/suite/suite.go:182
↓ 3 callersMethodKeepNetworkPolicy
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 callersFunctionMergeValues
MergeValues deep-merges base and override YAML, with override taking precedence.
internal/converter/converter.go:587
↓ 3 callersFunctionNewActionRecordingInterceptor
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 callersFunctionNewManager
NewManager creates a Manager that is a child of ctx.
internal/podutil/util.go:92
↓ 3 callersFunctionNewVLAgentInformerWithOptions
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 callersFunctionNewVLClusterInformerWithOptions
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 callersFunctionNewVLDistributedInformerWithOptions
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 callersFunctionNewVLSingleInformerWithOptions
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 callersFunctionNewVLogsInformerWithOptions
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 callersFunctionNewVMAgentInformerWithOptions
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 callersFunctionNewVMAlertInformerWithOptions
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 callersFunctionNewVMAlertmanagerConfigInformerWithOptions
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 callersFunctionNewVMAlertmanagerInformerWithOptions
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 callersFunctionNewVMAnomalyInformerWithOptions
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 callersFunctionNewVMAuthInformerWithOptions
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 callersFunctionNewVMClusterInformerWithOptions
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 callersFunctionNewVMDistributedInformerWithOptions
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 callersFunctionNewVMNodeScrapeInformerWithOptions
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 callersFunctionNewVMPodScrapeInformerWithOptions
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 callersFunctionNewVMProbeInformerWithOptions
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 callersFunctionNewVMRuleInformerWithOptions
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 callersFunctionNewVMScrapeConfigInformerWithOptions
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 callersFunctionNewVMServiceScrapeInformerWithOptions
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 callersFunctionNewVMSingleInformerWithOptions
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 callersFunctionNewVMStaticScrapeInformerWithOptions
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 callersFunctionNewVMUserInformerWithOptions
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 callersFunctionNewVTClusterInformerWithOptions
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 callersFunctionNewVTSingleInformerWithOptions
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 callersMethodOrDefault
OrDefault returns d if non-nil, otherwise returns fallback.
api/operator/v1beta1/vmcluster_types.go:126
↓ 3 callersFunctionPodMonitor
PodMonitor create VMPodScrape from PodMonitor
internal/controller/operator/factory/converter/apis.go:385
↓ 3 callersMethodPort
Port returns port for accessing alertmanager
api/operator/v1beta1/vmalertmanager_types.go:396
↓ 3 callersFunctionRemoveOrphanedDeployments
RemoveOrphanedDeployments removes Deployments detached from given object
internal/controller/operator/factory/finalize/orphaned.go:19
↓ 3 callersFunctionRemoveOrphanedVMPodScrapes
RemoveOrphanedVMPodScrapes removes VMPodScrapes detached from given object
internal/controller/operator/factory/finalize/orphaned.go:116
↓ 3 callersFunctionRemoveOrphanedVPAs
RemoveOrphanedVPAs removes VPAs detached from given object
internal/controller/operator/factory/finalize/orphaned.go:78
↓ 3 callersFunctionRun
Run executes the provided command within this context
test/utils/utils.go:38
↓ 3 callersMethodSelectorLabels
()
api/operator/v1beta1/vmalert_types.go:424
↓ 3 callersMethodSelectorLabels
()
api/operator/v1beta1/vmsingle_types.go:299
↓ 3 callersMethodSelectorLabels
SelectorLabels returns selector labels for vmanomaly
api/operator/v1/vmanomaly_types.go:376
↓ 3 callersFunctionShutdownOperatorProcess
ShutdownOperatorProcess stops operator process and cleanup resources
test/e2e/suite/suite.go:205
↓ 3 callersFunctionUpdateObjectStatus
UpdateStatus reconcile provided object status with given actualStatus status
internal/controller/operator/factory/reconcile/status.go:399
↓ 3 callersMethodUseTLS
UseTLS returns true if TLS is enabled
api/operator/v1/vlagent_types.go:459
↓ 3 callersMethodVLAuthName
VLAuthName returns the name of the VMAuth resource to be created/managed.
api/operator/v1alpha1/vldistributed_types.go:405
↓ 3 callersMethodValidate
Validate performs semantic validation of object
api/operator/v1beta1/vmrule_types.go:161
↓ 3 callersMethodValidate
()
api/operator/v1beta1/vmauth_types.go:447
↓ 3 callersMethodValidateArbitraryFSAccess
()
api/operator/v1beta1/vmuser_types.go:313
↓ 3 callersFunctionWaitForConfigReloadHash
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 callersMethodaddLabel
(name string, value string)
test/e2e/suite/allure/result.go:72
↓ 3 callersMethodasSpec
asSpec merges the flat tls* keys into TLSConfig, unless it was already set explicitly.
internal/converter/converter.go:448
↓ 3 callersFunctionassertStrictSecurity
(podSpec corev1.PodSpec)
test/e2e/vmcluster_test.go:1961
↓ 3 callersFunctionbuildCRPrefixedName
(cr *vmv1beta1.VMAlertmanagerConfig, name string)
internal/controller/operator/factory/vmalertmanager/config.go:385
↓ 3 callersFunctionbuildRemoteWriteArgs
(cr *vmv1beta1.VMAgent, ac *build.AssetsCache)
internal/controller/operator/factory/vmagent/vmagent.go:1003
↓ 3 callersMethodconfirmReload
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 callersFunctionconvertBearerToken
(src *corev1.SecretKeySelector)
internal/controller/operator/factory/converter/apis.go:196
↓ 3 callersFunctionconvertSecretOrConfigmap
(promSCM promv1.SecretOrConfigMap)
internal/controller/operator/factory/converter/apis.go:297
↓ 3 callersFunctioncreateOrUpdateConfig
createOrUpdateConfig reconcile configuration for vmanomaly and returns configuration consistent hash
internal/controller/operator/factory/vmanomaly/config.go:33
↓ 3 callersFunctioncreateOrUpdateStreamAggrConfig
createOrUpdateStreamAggrConfig builds stream aggregation configs for vmagent at separate configmap, serialized as yaml.
internal/controller/operator/factory/vmagent/vmagent.go:970
↓ 3 callersFunctiondiffDeepInternal
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 callersFunctionexpectHTTPRequestToSucceed
(ctx context.Context, opts httpRequestOpts)
test/e2e/utils_test.go:134
↓ 3 callersFunctionfetchLatestChartVersion
fetchLatestChartVersion fetches the latest version of chart from the helm-charts repository.
internal/converter/converter.go:529
↓ 3 callersFunctiongetAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAlert)
internal/controller/operator/factory/vmalert/vmalert.go:90
↓ 3 callersFunctiongetEnvOpts
()
internal/config/config.go:46
↓ 3 callersFunctiongetNamespacesFromNamespaceSelector
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 callersFunctiongetTimestampMsFromTime
(t time.Time)
test/e2e/suite/allure/misc.go:29
↓ 3 callersFunctiongetZones
getZones builds desired zones
internal/controller/operator/factory/vmdistributed/zone.go:104
↓ 3 callersFunctionisStorageEmpty
(pvc *corev1.PersistentVolumeClaimSpec)
internal/controller/operator/factory/vtsingle/vtsingle.go:35
↓ 3 callersFunctionisStorageEmpty
(pvc *corev1.PersistentVolumeClaimSpec)
internal/controller/operator/factory/vlsingle/vlsingle.go:35
↓ 3 callersFunctionisStorageEmpty
(pvc *corev1.PersistentVolumeClaimSpec)
internal/controller/operator/factory/vmsingle/vmsingle.go:45
↓ 3 callersFunctionmergeMapsWithStrategy
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 callersFunctionnewCollector
()
internal/controller/operator/objects_stat.go:97
↓ 3 callersFunctionnewContentHashRegistry
(set *metrics.Set)
cmd/config-reloader/content_hash.go:21
↓ 3 callersFunctionnewPodSpec
(cr *vmv1beta1.VMAgent, ac *build.AssetsCache, extraConfigSecretCount int)
internal/controller/operator/factory/vmagent/vmagent.go:539
↓ 3 callersFunctionnewTestLBZones
(vmAgents []*vmv1beta1.VMAgent, vmClusters []*vmv1beta1.VMCluster, vmSingles []*vmv1beta1.VMSingle)
internal/controller/operator/factory/vmdistributed/vmauth_test.go:14
↓ 3 callersFunctionnewTestLBZones
(vlAgents []*vmv1.VLAgent, vlClusters []*vmv1.VLCluster, vlSingles []*vmv1.VLSingle)
internal/controller/operator/factory/vldistributed/vmauth_test.go:15
↓ 3 callersFunctionpatchReplaceFinalizers
(ctx context.Context, rclient client.Client, instance client.Object)
internal/controller/operator/factory/finalize/common.go:23
↓ 3 callersFunctionreadFileContent
(src string)
cmd/config-reloader/file_watch.go:116
↓ 3 callersFunctionreportFirstNotReadyPodOnError
(ctx context.Context, rclient client.Client, origin error, ns string, selector labels.Selector, minReadySecond
internal/controller/operator/factory/reconcile/deploy.go:153
↓ 3 callersFunctionselectUsers
selects vmusers for given vmauth.
internal/controller/operator/factory/vmauth/vmusers_config.go:1004
↓ 3 callersFunctionvalidateHTTPHeaders
(headerValues []string)
api/operator/v1beta1/vmauth_types.go:436
↓ 3 callersFunctionvalidateStatefulSet
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 callersFunctionvalidateTargetDirCount
(targetCount, watchedCount int)
cmd/config-reloader/main.go:400
↓ 3 callersFunctionvmAlertSecretName
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 callersFunctionvmAuthUserSelectorLabels
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 callersFunctionwriteAggregatedStatus
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 callersFunctionAddClusterLabels
AddClusterLabels adds to given labels cluster specific labels
api/operator/v1beta1/vmextra_types.go:138
↓ 2 callersFunctionAddRelabelConfigs
AddRelabelConfigs adds relabel configuration to yaml
internal/controller/operator/factory/vmscrapes/vmscrapes.go:161
↓ 2 callersMethodAsConfigMapKey
AsConfigMapKey key for kubernetes configmap
api/operator/v1beta1/vmagent_types.go:432
↓ 2 callersMethodAsKey
AsKey returns unique key for object
api/operator/v1beta1/vmrule_types.go:156
↓ 2 callersMethodAsOwner
AsOwner returns owner references with current object as owner
api/operator/v1beta1/vmagent_types.go:494
↓ 2 callersMethodAsURL
(isExtra bool)
internal/controller/operator/factory/vmauth/vmusers_config.go:176
↓ 2 callersMethodAvailableStorageNodeIDs
AvailableStorageNodeIDs returns ids of the storage nodes for the provided component
api/operator/v1beta1/vmcluster_types.go:899
↓ 2 callersFunctionBuildExtraConfigSecret
BuildExtraConfigSecret creates a Secret with gzip-compressed YAML for one overflow bucket.
internal/controller/operator/factory/vmscrapes/extra_config.go:29
↓ 2 callersFunctionClusterPrefixedName
ClusterPrefixedName defines prefixed name for given cluster component kind
api/operator/v1beta1/vmextra_types.go:173
↓ 2 callersFunctionClusterSuffixedName
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 callersMethodConfigSecretName
ConfigSecretName returns configuration secret name for alertmanager
api/operator/v1beta1/vmalertmanager_types.go:372
↓ 2 callersFunctionConvertTLSConfig
ConvertTLSConfig converts Prometheus TLS config to VM one
internal/controller/operator/factory/converter/apis.go:255
↓ 2 callersFunctionConvertVMAlertRules
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 callersFunctionCreateObjects
(objects ...client.Object)
test/e2e/watchnamespace/utils_test.go:13
↓ 2 callersFunctionCreateOrUpdateConfig
CreateOrUpdateConfig configuration secret for vmauth.
internal/controller/operator/factory/vmauth/vmauth.go:404
← previousnext →301–400 of 3,858, ranked by callers