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
↓ 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:759
↓ 5 callers
Method
HasRemoteWriteSecrets
HasRemoteWriteSecrets reports whether any remoteWrite entry references a credential secret.
api/operator/v1beta1/vmagent_types.go:721
↓ 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:1201
↓ 5 callers
Function
NewTypedVLAgentInformerWithOptions
NewTypedVLAgentInformerWithOptions constructs a new informer for VLAgent type with additional options. Always prefer using an informer factory to get
api/client/informers/externalversions/operator/v1/vlagent.go:117
↓ 5 callers
Function
NewTypedVLClusterInformerWithOptions
NewTypedVLClusterInformerWithOptions constructs a new informer for VLCluster type with additional options. Always prefer using an informer factory to
api/client/informers/externalversions/operator/v1/vlcluster.go:117
↓ 5 callers
Function
NewTypedVLDistributedInformerWithOptions
NewTypedVLDistributedInformerWithOptions constructs a new informer for VLDistributed type with additional options. Always prefer using an informer fac
api/client/informers/externalversions/operator/v1alpha1/vldistributed.go:117
↓ 5 callers
Function
NewTypedVLSingleInformerWithOptions
NewTypedVLSingleInformerWithOptions constructs a new informer for VLSingle type with additional options. Always prefer using an informer factory to ge
api/client/informers/externalversions/operator/v1/vlsingle.go:117
↓ 5 callers
Function
NewTypedVLogsInformerWithOptions
NewTypedVLogsInformerWithOptions constructs a new informer for VLogs type with additional options. Always prefer using an informer factory to get a sh
api/client/informers/externalversions/operator/v1beta1/vlogs.go:117
↓ 5 callers
Function
NewTypedVMAgentInformerWithOptions
NewTypedVMAgentInformerWithOptions constructs a new informer for VMAgent type with additional options. Always prefer using an informer factory to get
api/client/informers/externalversions/operator/v1beta1/vmagent.go:117
↓ 5 callers
Function
NewTypedVMAlertInformerWithOptions
NewTypedVMAlertInformerWithOptions constructs a new informer for VMAlert type with additional options. Always prefer using an informer factory to get
api/client/informers/externalversions/operator/v1beta1/vmalert.go:117
↓ 5 callers
Function
NewTypedVMAlertmanagerConfigInformerWithOptions
NewTypedVMAlertmanagerConfigInformerWithOptions constructs a new informer for VMAlertmanagerConfig type with additional options. Always prefer using a
api/client/informers/externalversions/operator/v1beta1/vmalertmanagerconfig.go:117
↓ 5 callers
Function
NewTypedVMAlertmanagerInformerWithOptions
NewTypedVMAlertmanagerInformerWithOptions constructs a new informer for VMAlertmanager type with additional options. Always prefer using an informer f
api/client/informers/externalversions/operator/v1beta1/vmalertmanager.go:117
↓ 5 callers
Function
NewTypedVMAnomalyInformerWithOptions
NewTypedVMAnomalyInformerWithOptions constructs a new informer for VMAnomaly type with additional options. Always prefer using an informer factory to
api/client/informers/externalversions/operator/v1/vmanomaly.go:117
↓ 5 callers
Function
NewTypedVMAuthInformerWithOptions
NewTypedVMAuthInformerWithOptions constructs a new informer for VMAuth type with additional options. Always prefer using an informer factory to get a
api/client/informers/externalversions/operator/v1beta1/vmauth.go:117
↓ 5 callers
Function
NewTypedVMClusterInformerWithOptions
NewTypedVMClusterInformerWithOptions constructs a new informer for VMCluster type with additional options. Always prefer using an informer factory to
api/client/informers/externalversions/operator/v1beta1/vmcluster.go:117
↓ 5 callers
Function
NewTypedVMDistributedInformerWithOptions
NewTypedVMDistributedInformerWithOptions constructs a new informer for VMDistributed type with additional options. Always prefer using an informer fac
api/client/informers/externalversions/operator/v1alpha1/vmdistributed.go:117
↓ 5 callers
Function
NewTypedVMNodeScrapeInformerWithOptions
NewTypedVMNodeScrapeInformerWithOptions constructs a new informer for VMNodeScrape type with additional options. Always prefer using an informer facto
api/client/informers/externalversions/operator/v1beta1/vmnodescrape.go:117
↓ 5 callers
Function
NewTypedVMPodScrapeInformerWithOptions
NewTypedVMPodScrapeInformerWithOptions constructs a new informer for VMPodScrape type with additional options. Always prefer using an informer factory
api/client/informers/externalversions/operator/v1beta1/vmpodscrape.go:117
↓ 5 callers
Function
NewTypedVMProbeInformerWithOptions
NewTypedVMProbeInformerWithOptions constructs a new informer for VMProbe type with additional options. Always prefer using an informer factory to get
api/client/informers/externalversions/operator/v1beta1/vmprobe.go:117
↓ 5 callers
Function
NewTypedVMRuleInformerWithOptions
NewTypedVMRuleInformerWithOptions constructs a new informer for VMRule type with additional options. Always prefer using an informer factory to get a
api/client/informers/externalversions/operator/v1beta1/vmrule.go:117
↓ 5 callers
Function
NewTypedVMScrapeConfigInformerWithOptions
NewTypedVMScrapeConfigInformerWithOptions constructs a new informer for VMScrapeConfig type with additional options. Always prefer using an informer f
api/client/informers/externalversions/operator/v1beta1/vmscrapeconfig.go:117
↓ 5 callers
Function
NewTypedVMServiceScrapeInformerWithOptions
NewTypedVMServiceScrapeInformerWithOptions constructs a new informer for VMServiceScrape type with additional options. Always prefer using an informer
api/client/informers/externalversions/operator/v1beta1/vmservicescrape.go:117
↓ 5 callers
Function
NewTypedVMSingleInformerWithOptions
NewTypedVMSingleInformerWithOptions constructs a new informer for VMSingle type with additional options. Always prefer using an informer factory to ge
api/client/informers/externalversions/operator/v1beta1/vmsingle.go:117
↓ 5 callers
Function
NewTypedVMStaticScrapeInformerWithOptions
NewTypedVMStaticScrapeInformerWithOptions constructs a new informer for VMStaticScrape type with additional options. Always prefer using an informer f
api/client/informers/externalversions/operator/v1beta1/vmstaticscrape.go:117
↓ 5 callers
Function
NewTypedVMUserInformerWithOptions
NewTypedVMUserInformerWithOptions constructs a new informer for VMUser type with additional options. Always prefer using an informer factory to get a
api/client/informers/externalversions/operator/v1beta1/vmuser.go:117
↓ 5 callers
Function
NewTypedVTAgentInformerWithOptions
NewTypedVTAgentInformerWithOptions constructs a new informer for VTAgent type with additional options. Always prefer using an informer factory to get
api/client/informers/externalversions/operator/v1/vtagent.go:117
↓ 5 callers
Function
NewTypedVTClusterInformerWithOptions
NewTypedVTClusterInformerWithOptions constructs a new informer for VTCluster type with additional options. Always prefer using an informer factory to
api/client/informers/externalversions/operator/v1/vtcluster.go:117
↓ 5 callers
Function
NewTypedVTSingleInformerWithOptions
NewTypedVTSingleInformerWithOptions constructs a new informer for VTSingle type with additional options. Always prefer using an informer factory to ge
api/client/informers/externalversions/operator/v1/vtsingle.go:117
↓ 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:482
↓ 5 callers
Method
PrefixedName
()
api/operator/v1/vlsingle_types.go:292
↓ 5 callers
Method
PrefixedName
PrefixedName returns name of resource with fixed prefix
api/operator/v1/vtagent_types.go:380
↓ 5 callers
Function
RemoveOrphanedPDBs
RemoveOrphanedPDBs removes PDBs detached from given object
internal/controller/operator/factory/finalize/orphaned.go:48
↓ 5 callers
Method
ResourceLabels
ResourceLabels returns combination of selector, resource and managed labels
api/operator/v1/vlsingle_types.go:283
↓ 5 callers
Function
Role
Role reconciles role object
internal/controller/operator/factory/reconcile/rbac.go:57
↓ 5 callers
Function
RoleBinding
RoleBinding reconciles rolebindg object
internal/controller/operator/factory/reconcile/rbac.go:18
↓ 5 callers
Method
SelectorLabels
()
api/operator/v1beta1/vmagent_types.go:535
↓ 5 callers
Method
StorageNodeIDsUnderMaintenance
StorageNodeIDsUnderMaintenance returns the storage pod ordinals excluded from both insert and select routing via MaintenanceInsertNodeIDs and Maintena
api/operator/v1/vtcluster_types.go:787
↓ 5 callers
Method
VMAgentName
VMAgentName returns the name of the VMAgent for zone.
api/operator/v1alpha1/vmdistributed_types.go:142
↓ 5 callers
Function
VMAuth
VMAuth performs an update or create of VMAuth and till it's ready
internal/controller/operator/factory/reconcile/vmauth.go:18
↓ 5 callers
Method
VMClusterName
VMClusterName return cluster name for zone
api/operator/v1alpha1/vmdistributed_types.go:154
↓ 5 callers
Function
buildVMAuthLB
(cr *vmv1alpha1.VMDistributed, zs *zones, excludeIds ...int)
internal/controller/operator/factory/vmdistributed/vmauth.go:33
↓ 5 callers
Function
computeAggregatedStatus
computeAggregatedStatus derives a config-kind object's status from its per-parent conditions. The per-parent `<parent>.victoriametrics.com/Applied` c
internal/controller/operator/factory/reconcile/status.go:409
↓ 5 callers
Function
createOrUpdateScrapeConfig
createOrUpdateScrapeConfig reconciles the main scrape config.
internal/controller/operator/factory/vmagent/vmagent.go:1367
↓ 5 callers
Function
getAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAlertmanager)
internal/controller/operator/factory/vmalertmanager/statefulset.go:467
↓ 5 callers
Function
getAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAuth)
internal/controller/operator/factory/vmauth/vmauth.go:402
↓ 5 callers
Function
hasVolume
nolint:dupl,lll,unparam
test/e2e/utils_test.go:236
↓ 5 callers
Function
mergeEndpointRelabelingsWithScrapeClass
(ers *vmv1beta1.EndpointRelabelings, scrapeClass *vmv1beta1.ScrapeClass)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:620
↓ 4 callers
Function
ClusterRole
ClusterRole reconciles cluster role object
internal/controller/operator/factory/reconcile/rbac.go:132
↓ 4 callers
Function
ClusterRoleBinding
ClusterRoleBinding reconciles cluster role binding object
internal/controller/operator/factory/reconcile/rbac.go:93
↓ 4 callers
Function
ConvertAuthorization
ConvertAuthorization converts prometheus auth struct to VM one
internal/controller/operator/factory/converter/apis.go:179
↓ 4 callers
Function
ConvertBasicAuth
ConvertBasicAuth converts Prometheus basic auth config to VM one
internal/controller/operator/factory/converter/apis.go:244
↓ 4 callers
Function
ConvertOAuth
ConvertOAuth converts prometheus OAuth config to VM one
internal/controller/operator/factory/converter/apis.go:163
↓ 4 callers
Function
ConvertSafeTLSConfig
ConvertSafeTLSConfig performs convert ConvertSafeTLSConfig to vm version
internal/controller/operator/factory/converter/apis.go:278
↓ 4 callers
Function
CreateOrUpdate
CreateOrUpdate performs an update for vtsingle resource
internal/controller/operator/factory/vtsingle/vtsingle.go:70
↓ 4 callers
Function
CreateOrUpdate
CreateOrUpdate syncs VLCluster object to the desired state
internal/controller/operator/factory/vlcluster/vlcluster.go:21
↓ 4 callers
Function
CreateOrUpdateAlertManager
CreateOrUpdateAlertManager creates alertmanager and builds config for it
internal/controller/operator/factory/vmalertmanager/alertmanager.go:28
↓ 4 callers
Function
CreateOrUpdateConfig
CreateOrUpdateConfig - check if secret with config exist, if not create with predefined or user value.
internal/controller/operator/factory/vmalertmanager/statefulset.go:479
↓ 4 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLDistributed.
api/operator/v1alpha1/zz_generated.deepcopy.go:63
↓ 4 callers
Function
DeleteLicenseSecret
(ctx context.Context, k8sClient client.Client, namespace string)
test/e2e/common.go:33
↓ 4 callers
Function
FromGinkgoReport
(report types.Report)
test/e2e/suite/allure/api.go:19
↓ 4 callers
Method
GetShardCount
GetShardCount returns shard count for vmanomaly
api/operator/v1/vmanomaly_types.go:560
↓ 4 callers
Function
GetTestClientWithOptsActionsAndObjects
GetTestClientWithOptsActionsAndObjects returns a client that tracks actions and updates status/objects
internal/controller/operator/factory/k8stools/test_helpers.go:188
↓ 4 callers
Method
GetVolumeName
GetVolumeName returns volume name for persistent storage
api/operator/v1/vmanomaly_types.go:490
↓ 4 callers
Method
HasAnyRelabellingConfigs
HasAnyRelabellingConfigs checks if vmagent has any defined relabeling rules
api/operator/v1beta1/vmagent_types.go:688
↓ 4 callers
Method
HasAnyStreamAggrRule
HasAnyStreamAggrRule checks if vmagent has any defined aggregation rules
api/operator/v1beta1/vmagent_types.go:702
↓ 4 callers
Method
HasNotifiersConfigured
HasNotifiersConfigured reports whether the spec declares any notifier target: static entries, a selector-based entry (resolved at runtime), a notifier
api/operator/v1beta1/vmalert_types.go:496
↓ 4 callers
Method
Init
(string, client.Client, logr.Logger, *runtime.Scheme, *config.BaseOperatorConf)
internal/manager/manager.go:538
↓ 4 callers
Function
IsClusterWideAccessAllowed
IsClusterWideAccessAllowed checks if cluster wide access for components is needed
internal/config/config.go:998
↓ 4 callers
Method
KeepHPA
KeepHPA adds given HorizontalPodAutoscaler's name to a map of resource names to be excluded from deletion
internal/controller/operator/factory/finalize/cluster.go:191
↓ 4 callers
Method
KeepPDB
KeepPDB adds given PodDisruptionBudget's name to a map of resource names to be excluded from deletion
internal/controller/operator/factory/finalize/cluster.go:186
↓ 4 callers
Method
KeepScrape
KeepScrape adds given VMServiceScrape's name to a map of resource names to be excluded from deletion
internal/controller/operator/factory/finalize/cluster.go:211
↓ 4 callers
Method
KeepService
KeepService adds given HorizontalPodAutoscaler's name to a map of resource names to be excluded from deletion
internal/controller/operator/factory/finalize/cluster.go:206
↓ 4 callers
Method
KeepVPA
KeepVPA adds given VerticalPodAutoscaler's name to a map of resource names to be excluded from deletion
internal/controller/operator/factory/finalize/cluster.go:196
↓ 4 callers
Function
MergeValues
MergeValues deep-merges base and override YAML, with override taking precedence.
internal/converter/converter.go:788
↓ 4 callers
Function
NewChildCleaner
NewChildCleaner initializes ChildCleaner
internal/controller/operator/factory/finalize/cluster.go:174
↓ 4 callers
Function
OnClusterDelete
(ctx context.Context, rclient client.Client, cr build.ParentOpts)
internal/controller/operator/factory/finalize/cluster.go:21
↓ 4 callers
Method
OrDefault
OrDefault returns d if non-nil, otherwise returns fallback.
api/operator/v1beta1/vmcluster_types.go:126
↓ 4 callers
Function
PersistentVolumeClaim
PersistentVolumeClaim reconciles PVC object It updates only resource spec other fields are ignored Makes attempt to resize pvc if needed in case of de
internal/controller/operator/factory/reconcile/pvc.go:24
↓ 4 callers
Method
PrefixedName
()
api/operator/v1beta1/vlogs_types.go:249
↓ 4 callers
Function
Probe
Probe creates VMProbe from prometheus probe
internal/controller/operator/factory/converter/apis.go:430
↓ 4 callers
Function
PrometheusRule
PrometheusRule creates VMRule from PrometheusRule
internal/controller/operator/factory/converter/apis.go:24
↓ 4 callers
Method
Reconcile
Reconcile general reconcile method +kubebuilder:rbac:groups=operator.victoriametrics.com,resources=vmagents,verbs=get;list;watch;create;update;patch;d
internal/controller/operator/vmagent_controller.go:86
↓ 4 callers
Method
RemoveOrphaned
RemoveOrphaned removes cr dependent resources excluding ones, which are defined in cleaner's maps
internal/controller/operator/factory/finalize/cluster.go:216
↓ 4 callers
Function
RemoveOrphanedSTSs
RemoveOrphanedSTSs removes Deployments detached from given object
internal/controller/operator/factory/finalize/orphaned.go:29
↓ 4 callers
Function
RemoveOrphanedVMPodScrapes
RemoveOrphanedVMPodScrapes removes VMPodScrapes detached from given object
internal/controller/operator/factory/finalize/orphaned.go:116
↓ 4 callers
Function
SafeDeleteCrossNamespaceWithFinalizer
SafeDeleteCrossNamespaceWithFinalizer removes objects created for cr outside of its namespace, such as the service discovery Role and RoleBinding at t
internal/controller/operator/factory/finalize/common.go:129
↓ 4 callers
Method
SelectorLabels
()
api/operator/v1beta1/vmauth_types.go:692
↓ 4 callers
Method
SelectorLabels
()
api/operator/v1beta1/vmsingle_types.go:303
↓ 4 callers
Method
SelectorLabels
SelectorLabels returns selector labels for vmanomaly
api/operator/v1/vmanomaly_types.go:407
↓ 4 callers
Function
ServiceMonitor
ServiceMonitor create VMServiceScrape from ServiceMonitor
internal/controller/operator/factory/converter/apis.go:103
↓ 4 callers
Method
Start
(stopCh <-chan struct{})
api/client/informers/externalversions/internalinterfaces/factory_interfaces.go:34
← previous
next →
201–300 of 4,346, ranked by callers