MCPcopy Create free account

hub / github.com/VictoriaMetrics/operator / functions

Functions4,346 in github.com/VictoriaMetrics/operator

↓ 5 callersFunctionGetClient
(data []byte)
test/e2e/suite/suite.go:53
↓ 5 callersFunctionGetMetricsAddrs
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 callersMethodGetRemoteWriteURL
()
internal/controller/operator/factory/vmdistributed/zone.go:30
↓ 5 callersMethodGetRemoteWriteURL
()
internal/controller/operator/factory/vldistributed/zone.go:31
↓ 5 callersMethodHasAnyRule
HasAnyRule returns true if there is at least one aggregation rule
api/operator/v1beta1/vmextra_types.go:759
↓ 5 callersMethodHasRemoteWriteSecrets
HasRemoteWriteSecrets reports whether any remoteWrite entry references a credential secret.
api/operator/v1beta1/vmagent_types.go:721
↓ 5 callersFunctionHasUnknownFields
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 callersFunctionNewTypedVLAgentInformerWithOptions
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 callersFunctionNewTypedVLClusterInformerWithOptions
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 callersFunctionNewTypedVLDistributedInformerWithOptions
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 callersFunctionNewTypedVLSingleInformerWithOptions
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 callersFunctionNewTypedVLogsInformerWithOptions
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 callersFunctionNewTypedVMAgentInformerWithOptions
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 callersFunctionNewTypedVMAlertInformerWithOptions
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 callersFunctionNewTypedVMAlertmanagerConfigInformerWithOptions
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 callersFunctionNewTypedVMAlertmanagerInformerWithOptions
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 callersFunctionNewTypedVMAnomalyInformerWithOptions
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 callersFunctionNewTypedVMAuthInformerWithOptions
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 callersFunctionNewTypedVMClusterInformerWithOptions
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 callersFunctionNewTypedVMDistributedInformerWithOptions
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 callersFunctionNewTypedVMNodeScrapeInformerWithOptions
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 callersFunctionNewTypedVMPodScrapeInformerWithOptions
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 callersFunctionNewTypedVMProbeInformerWithOptions
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 callersFunctionNewTypedVMRuleInformerWithOptions
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 callersFunctionNewTypedVMScrapeConfigInformerWithOptions
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 callersFunctionNewTypedVMServiceScrapeInformerWithOptions
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 callersFunctionNewTypedVMSingleInformerWithOptions
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 callersFunctionNewTypedVMStaticScrapeInformerWithOptions
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 callersFunctionNewTypedVMUserInformerWithOptions
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 callersFunctionNewTypedVTAgentInformerWithOptions
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 callersFunctionNewTypedVTClusterInformerWithOptions
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 callersFunctionNewTypedVTSingleInformerWithOptions
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 callersFunctionOnClusterLoadBalancerDelete
OnClusterLoadBalancerDelete removes vmauth loadbalancer components for cluster
internal/controller/operator/factory/finalize/cluster.go:139
↓ 5 callersFunctionOnInsertDelete
OnInsertDelete removes all objects related to insert component
internal/controller/operator/factory/finalize/cluster.go:54
↓ 5 callersFunctionOnSelectDelete
OnSelectDelete removes all objects related to select component
internal/controller/operator/factory/finalize/cluster.go:82
↓ 5 callersFunctionOnStorageDelete
OnStorageDelete removes all objects related to storage component
internal/controller/operator/factory/finalize/cluster.go:111
↓ 5 callersMethodPatch
(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...
api/client/versioned/typed/operator/v1/vlagent.go:48
↓ 5 callersMethodPort
Port returns port for accessing anomaly UI
api/operator/v1/vmanomaly_types.go:482
↓ 5 callersMethodPrefixedName
()
api/operator/v1/vlsingle_types.go:292
↓ 5 callersMethodPrefixedName
PrefixedName returns name of resource with fixed prefix
api/operator/v1/vtagent_types.go:380
↓ 5 callersFunctionRemoveOrphanedPDBs
RemoveOrphanedPDBs removes PDBs detached from given object
internal/controller/operator/factory/finalize/orphaned.go:48
↓ 5 callersMethodResourceLabels
ResourceLabels returns combination of selector, resource and managed labels
api/operator/v1/vlsingle_types.go:283
↓ 5 callersFunctionRole
Role reconciles role object
internal/controller/operator/factory/reconcile/rbac.go:57
↓ 5 callersFunctionRoleBinding
RoleBinding reconciles rolebindg object
internal/controller/operator/factory/reconcile/rbac.go:18
↓ 5 callersMethodSelectorLabels
()
api/operator/v1beta1/vmagent_types.go:535
↓ 5 callersMethodStorageNodeIDsUnderMaintenance
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 callersMethodVMAgentName
VMAgentName returns the name of the VMAgent for zone.
api/operator/v1alpha1/vmdistributed_types.go:142
↓ 5 callersFunctionVMAuth
VMAuth performs an update or create of VMAuth and till it's ready
internal/controller/operator/factory/reconcile/vmauth.go:18
↓ 5 callersMethodVMClusterName
VMClusterName return cluster name for zone
api/operator/v1alpha1/vmdistributed_types.go:154
↓ 5 callersFunctionbuildVMAuthLB
(cr *vmv1alpha1.VMDistributed, zs *zones, excludeIds ...int)
internal/controller/operator/factory/vmdistributed/vmauth.go:33
↓ 5 callersFunctioncomputeAggregatedStatus
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 callersFunctioncreateOrUpdateScrapeConfig
createOrUpdateScrapeConfig reconciles the main scrape config.
internal/controller/operator/factory/vmagent/vmagent.go:1367
↓ 5 callersFunctiongetAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAlertmanager)
internal/controller/operator/factory/vmalertmanager/statefulset.go:467
↓ 5 callersFunctiongetAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAuth)
internal/controller/operator/factory/vmauth/vmauth.go:402
↓ 5 callersFunctionhasVolume
nolint:dupl,lll,unparam
test/e2e/utils_test.go:236
↓ 5 callersFunctionmergeEndpointRelabelingsWithScrapeClass
(ers *vmv1beta1.EndpointRelabelings, scrapeClass *vmv1beta1.ScrapeClass)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:620
↓ 4 callersFunctionClusterRole
ClusterRole reconciles cluster role object
internal/controller/operator/factory/reconcile/rbac.go:132
↓ 4 callersFunctionClusterRoleBinding
ClusterRoleBinding reconciles cluster role binding object
internal/controller/operator/factory/reconcile/rbac.go:93
↓ 4 callersFunctionConvertAuthorization
ConvertAuthorization converts prometheus auth struct to VM one
internal/controller/operator/factory/converter/apis.go:179
↓ 4 callersFunctionConvertBasicAuth
ConvertBasicAuth converts Prometheus basic auth config to VM one
internal/controller/operator/factory/converter/apis.go:244
↓ 4 callersFunctionConvertOAuth
ConvertOAuth converts prometheus OAuth config to VM one
internal/controller/operator/factory/converter/apis.go:163
↓ 4 callersFunctionConvertSafeTLSConfig
ConvertSafeTLSConfig performs convert ConvertSafeTLSConfig to vm version
internal/controller/operator/factory/converter/apis.go:278
↓ 4 callersFunctionCreateOrUpdate
CreateOrUpdate performs an update for vtsingle resource
internal/controller/operator/factory/vtsingle/vtsingle.go:70
↓ 4 callersFunctionCreateOrUpdate
CreateOrUpdate syncs VLCluster object to the desired state
internal/controller/operator/factory/vlcluster/vlcluster.go:21
↓ 4 callersFunctionCreateOrUpdateAlertManager
CreateOrUpdateAlertManager creates alertmanager and builds config for it
internal/controller/operator/factory/vmalertmanager/alertmanager.go:28
↓ 4 callersFunctionCreateOrUpdateConfig
CreateOrUpdateConfig - check if secret with config exist, if not create with predefined or user value.
internal/controller/operator/factory/vmalertmanager/statefulset.go:479
↓ 4 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLDistributed.
api/operator/v1alpha1/zz_generated.deepcopy.go:63
↓ 4 callersFunctionDeleteLicenseSecret
(ctx context.Context, k8sClient client.Client, namespace string)
test/e2e/common.go:33
↓ 4 callersFunctionFromGinkgoReport
(report types.Report)
test/e2e/suite/allure/api.go:19
↓ 4 callersMethodGetShardCount
GetShardCount returns shard count for vmanomaly
api/operator/v1/vmanomaly_types.go:560
↓ 4 callersFunctionGetTestClientWithOptsActionsAndObjects
GetTestClientWithOptsActionsAndObjects returns a client that tracks actions and updates status/objects
internal/controller/operator/factory/k8stools/test_helpers.go:188
↓ 4 callersMethodGetVolumeName
GetVolumeName returns volume name for persistent storage
api/operator/v1/vmanomaly_types.go:490
↓ 4 callersMethodHasAnyRelabellingConfigs
HasAnyRelabellingConfigs checks if vmagent has any defined relabeling rules
api/operator/v1beta1/vmagent_types.go:688
↓ 4 callersMethodHasAnyStreamAggrRule
HasAnyStreamAggrRule checks if vmagent has any defined aggregation rules
api/operator/v1beta1/vmagent_types.go:702
↓ 4 callersMethodHasNotifiersConfigured
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 callersMethodInit
(string, client.Client, logr.Logger, *runtime.Scheme, *config.BaseOperatorConf)
internal/manager/manager.go:538
↓ 4 callersFunctionIsClusterWideAccessAllowed
IsClusterWideAccessAllowed checks if cluster wide access for components is needed
internal/config/config.go:998
↓ 4 callersMethodKeepHPA
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 callersMethodKeepPDB
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 callersMethodKeepScrape
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 callersMethodKeepService
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 callersMethodKeepVPA
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 callersFunctionMergeValues
MergeValues deep-merges base and override YAML, with override taking precedence.
internal/converter/converter.go:788
↓ 4 callersFunctionNewChildCleaner
NewChildCleaner initializes ChildCleaner
internal/controller/operator/factory/finalize/cluster.go:174
↓ 4 callersFunctionOnClusterDelete
(ctx context.Context, rclient client.Client, cr build.ParentOpts)
internal/controller/operator/factory/finalize/cluster.go:21
↓ 4 callersMethodOrDefault
OrDefault returns d if non-nil, otherwise returns fallback.
api/operator/v1beta1/vmcluster_types.go:126
↓ 4 callersFunctionPersistentVolumeClaim
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 callersMethodPrefixedName
()
api/operator/v1beta1/vlogs_types.go:249
↓ 4 callersFunctionProbe
Probe creates VMProbe from prometheus probe
internal/controller/operator/factory/converter/apis.go:430
↓ 4 callersFunctionPrometheusRule
PrometheusRule creates VMRule from PrometheusRule
internal/controller/operator/factory/converter/apis.go:24
↓ 4 callersMethodReconcile
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 callersMethodRemoveOrphaned
RemoveOrphaned removes cr dependent resources excluding ones, which are defined in cleaner's maps
internal/controller/operator/factory/finalize/cluster.go:216
↓ 4 callersFunctionRemoveOrphanedSTSs
RemoveOrphanedSTSs removes Deployments detached from given object
internal/controller/operator/factory/finalize/orphaned.go:29
↓ 4 callersFunctionRemoveOrphanedVMPodScrapes
RemoveOrphanedVMPodScrapes removes VMPodScrapes detached from given object
internal/controller/operator/factory/finalize/orphaned.go:116
↓ 4 callersFunctionSafeDeleteCrossNamespaceWithFinalizer
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 callersMethodSelectorLabels
()
api/operator/v1beta1/vmauth_types.go:692
↓ 4 callersMethodSelectorLabels
()
api/operator/v1beta1/vmsingle_types.go:303
↓ 4 callersMethodSelectorLabels
SelectorLabels returns selector labels for vmanomaly
api/operator/v1/vmanomaly_types.go:407
↓ 4 callersFunctionServiceMonitor
ServiceMonitor create VMServiceScrape from ServiceMonitor
internal/controller/operator/factory/converter/apis.go:103
↓ 4 callersMethodStart
(stopCh <-chan struct{})
api/client/informers/externalversions/internalinterfaces/factory_interfaces.go:34
← previousnext →201–300 of 4,346, ranked by callers