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
↓ 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:273
↓ 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
VMAgentName
VMAgentName returns the name of the VMAgent for zone.
api/operator/v1alpha1/vmdistributed_types.go:140
↓ 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:152
↓ 5 callers
Function
VMPodScrape
VMPodScrape creates or updates given object
internal/controller/operator/factory/reconcile/vmpodscrape.go:19
↓ 5 callers
Function
buildVMAuthLB
(cr *vmv1alpha1.VMDistributed, zs *zones, excludeIds ...int)
internal/controller/operator/factory/vmdistributed/vmauth.go:33
↓ 5 callers
Method
close
()
cmd/config-reloader/main.go:299
↓ 5 callers
Method
close
()
cmd/config-reloader/main.go:325
↓ 5 callers
Function
getAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAlertmanager)
internal/controller/operator/factory/vmalertmanager/statefulset.go:454
↓ 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
↓ 5 callers
Function
newDirWatchers
newDirWatchers watches dirs; targetDirs is paired by index with dirs (dirs[i] → targetDirs[i]). If non-empty, targetDirs must have the same length as
cmd/config-reloader/file_watch.go:186
↓ 5 callers
Method
start
(ctx context.Context, updates chan struct{})
cmd/config-reloader/main.go:324
↓ 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:466
↓ 4 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLDistributed.
api/operator/v1alpha1/zz_generated.deepcopy.go:42
↓ 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:529
↓ 4 callers
Function
GetTestClientWithOptsActionsAndObjects
GetTestClientWithOptsActionsAndObjects returns a client that tracks actions and updates status/objects
internal/controller/operator/factory/k8stools/test_helpers.go:183
↓ 4 callers
Method
GetVolumeName
GetVolumeName returns volume name for persistent storage
api/operator/v1/vmanomaly_types.go:459
↓ 4 callers
Method
HasAnyRelabellingConfigs
HasAnyRelabellingConfigs checks if vmagent has any defined relabeling rules
api/operator/v1beta1/vmagent_types.go:684
↓ 4 callers
Method
HasAnyStreamAggrRule
HasAnyStreamAggrRule checks if vmagent has any defined aggregation rules
api/operator/v1beta1/vmagent_types.go:698
↓ 4 callers
Method
Init
(string, client.Client, logr.Logger, *runtime.Scheme, *config.BaseOperatorConf)
internal/manager/manager.go:495
↓ 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
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
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
Method
PrefixedName
()
api/operator/v1/vlsingle_types.go:282
↓ 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
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
Method
SelectorLabels
()
api/operator/v1beta1/vmauth_types.go:689
↓ 4 callers
Method
SelectorLabels
()
api/operator/v1beta1/vmagent_types.go:531
↓ 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
↓ 4 callers
Method
SubResource
(subResource string)
internal/manager/client.go:49
↓ 4 callers
Method
VLAgentName
VLAgentName returns the name of the VLAgent for zone.
api/operator/v1alpha1/vldistributed_types.go:137
↓ 4 callers
Method
VLClusterName
VLClusterName return cluster name for zone
api/operator/v1alpha1/vldistributed_types.go:149
↓ 4 callers
Method
VLSingleName
VLSingleName returns single name for zone
api/operator/v1alpha1/vldistributed_types.go:161
↓ 4 callers
Method
VMAuthName
VMAuthName returns the name of the VMAuth resource to be created/managed.
api/operator/v1alpha1/vmdistributed_types.go:426
↓ 4 callers
Method
Validate
()
api/operator/v1beta1/vmalertmanagerconfig_types.go:215
↓ 4 callers
Method
accessScheme
()
api/operator/v1beta1/vmalertmanager_types.go:484
↓ 4 callers
Function
addSelectorToRelabelingFor
(relabelings []yaml.MapSlice, typeName string, selector metav1.LabelSelector, mustSkipAdd bool)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:426
↓ 4 callers
Method
appendForbiddenProperties
(props []string)
api/operator/v1beta1/vmextra_types.go:1144
↓ 4 callers
Function
appendIfNotEmpty
(src []string, key string, origin yaml.MapSlice)
internal/controller/operator/factory/vmauth/vmusers_config.go:441
↓ 4 callers
Function
buildVMAuthLB
(cr *vmv1alpha1.VLDistributed, zs *zones, excludeIds ...int)
internal/controller/operator/factory/vldistributed/vmauth.go:33
↓ 4 callers
Function
checkRelabelConfigs
(src []*RelabelConfig)
api/operator/v1beta1/vmagent_types.go:740
↓ 4 callers
Function
createOrUpdateScrapeConfig
createOrUpdateScrapeConfig reconciles the main scrape config.
internal/controller/operator/factory/vmagent/vmagent.go:1342
↓ 4 callers
Function
createOrUpdateScrapeConfig
createOrUpdateScrapeConfig reconciles the main scrape config.
internal/controller/operator/factory/vmsingle/vmsingle.go:780
↓ 4 callers
Function
generateK8SSDConfig
(ac *build.AssetsCache, opts ...generateK8SSDConfigOptions)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:256
↓ 4 callers
Function
getAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAuth)
internal/controller/operator/factory/vmauth/vmauth.go:393
↓ 4 callers
Function
getAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMSingle)
internal/controller/operator/factory/vmsingle/vmsingle.go:753
↓ 4 callers
Function
getZones
getZones builds desired zones
internal/controller/operator/factory/vldistributed/zone.go:103
↓ 4 callers
Function
hashBytes
(data []byte)
cmd/config-reloader/content_hash.go:35
↓ 4 callers
Function
listObjectsByListProto
(namespace string, listProto client.ObjectList)
test/e2e/watchnamespace/utils_test.go:99
↓ 4 callers
Function
mergeMaps
(existingMap, newMap, prevMap map[string]string)
internal/controller/operator/factory/reconcile/reconcile.go:53
↓ 4 callers
Function
mustGetFirstPod
nolint:dupl,lll
test/e2e/utils_test.go:262
↓ 4 callers
Method
observe
(key string, hash uint32)
cmd/config-reloader/content_hash.go:29
↓ 4 callers
Function
parseRange
(s string)
api/operator/v1beta1/vmalertmanagerconfig_types.go:1960
↓ 4 callers
Function
sanitizeLabelName
(name string)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:80
↓ 4 callers
Function
validateURLPrefix
(urlPrefixStr string)
api/operator/v1beta1/vmauth_types.go:266
↓ 4 callers
Function
writeNewContent
(data []byte)
cmd/config-reloader/main.go:380
↓ 3 callers
Method
AsOwner
AsOwner returns owner references with current object as owner
api/operator/v1alpha1/vmdistributed_types.go:436
↓ 3 callers
Method
AsOwner
AsOwner returns owner references with current object as owner
api/operator/v1alpha1/vldistributed_types.go:415
↓ 3 callers
Method
BuildScrapeJobsConfig
BuildScrapeJobsConfig returns the global config section (without scrape_configs) and the flat list of individual scrape job configs. Callers that need
internal/controller/operator/factory/vmscrapes/objects.go:383
↓ 3 callers
Function
ConvertVMAlert
ConvertVMAlert converts Helm values into a VMAlert CR and the Secrets generated for plaintext auth credentials found in it, in a single conversion pas
internal/converter/converter.go:1832
↓ 3 callers
Function
CreateOrUpdate
CreateOrUpdate performs an update for vlsingle resource
internal/controller/operator/factory/vlsingle/vlsingle.go:70
↓ 3 callers
Function
CreateOrUpdate
CreateOrUpdate creates deployment for vlagent and configures it waits for healthy state
internal/controller/operator/factory/vlagent/vlagent.go:89
↓ 3 callers
Method
Ctx
Ctx returns the manager's context.
internal/podutil/util.go:102
↓ 3 callers
Function
DaemonSet
DaemonSet performs an update or create operator for daemonset and waits until it finishes update rollout
internal/controller/operator/factory/reconcile/daemonset.go:21
↓ 3 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMAgent.
api/operator/v1beta1/zz_generated.deepcopy.go:4641
↓ 3 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMAlert.
api/operator/v1beta1/zz_generated.deepcopy.go:4997
↓ 3 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMAuth.
api/operator/v1beta1/zz_generated.deepcopy.go:5700
↓ 3 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMSingle.
api/operator/v1beta1/zz_generated.deepcopy.go:7352
↓ 3 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMDistributed.
api/operator/v1alpha1/zz_generated.deepcopy.go:398
↓ 3 callers
Method
DefaultStatusFields
(ST)
internal/controller/operator/factory/reconcile/status.go:390
↓ 3 callers
Method
Delete
Delete cancels and removes id.
internal/podutil/util.go:139
↓ 3 callers
Function
ExtraConfigSecretName
ExtraConfigSecretName returns the name of the Nth overflow secret for cr.
internal/controller/operator/factory/vmscrapes/extra_config.go:24
↓ 3 callers
Function
FetchChartDefaults
FetchChartDefaults fetches chart's default values.yaml at its latest released version.
internal/converter/converter.go:560
↓ 3 callers
Function
GetInterceptorsWithObjects
GetInterceptorsWithObjects returns interceptors for objects
internal/controller/operator/factory/k8stools/interceptors.go:70
↓ 3 callers
Method
GetMinReplicas
GetMinReplicas returns default minReplicas value
api/operator/v1beta1/vmextra_types.go:511
↓ 3 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:493
← previous
next →
201–300 of 3,858, ranked by callers