MCPcopy Create free account

hub / github.com/VictoriaMetrics/operator / functions

Functions3,858 in github.com/VictoriaMetrics/operator

↓ 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:273
↓ 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 callersMethodVMAgentName
VMAgentName returns the name of the VMAgent for zone.
api/operator/v1alpha1/vmdistributed_types.go:140
↓ 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:152
↓ 5 callersFunctionVMPodScrape
VMPodScrape creates or updates given object
internal/controller/operator/factory/reconcile/vmpodscrape.go:19
↓ 5 callersFunctionbuildVMAuthLB
(cr *vmv1alpha1.VMDistributed, zs *zones, excludeIds ...int)
internal/controller/operator/factory/vmdistributed/vmauth.go:33
↓ 5 callersMethodclose
()
cmd/config-reloader/main.go:299
↓ 5 callersMethodclose
()
cmd/config-reloader/main.go:325
↓ 5 callersFunctiongetAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAlertmanager)
internal/controller/operator/factory/vmalertmanager/statefulset.go:454
↓ 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
↓ 5 callersFunctionnewDirWatchers
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 callersMethodstart
(ctx context.Context, updates chan struct{})
cmd/config-reloader/main.go:324
↓ 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:466
↓ 4 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLDistributed.
api/operator/v1alpha1/zz_generated.deepcopy.go:42
↓ 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:529
↓ 4 callersFunctionGetTestClientWithOptsActionsAndObjects
GetTestClientWithOptsActionsAndObjects returns a client that tracks actions and updates status/objects
internal/controller/operator/factory/k8stools/test_helpers.go:183
↓ 4 callersMethodGetVolumeName
GetVolumeName returns volume name for persistent storage
api/operator/v1/vmanomaly_types.go:459
↓ 4 callersMethodHasAnyRelabellingConfigs
HasAnyRelabellingConfigs checks if vmagent has any defined relabeling rules
api/operator/v1beta1/vmagent_types.go:684
↓ 4 callersMethodHasAnyStreamAggrRule
HasAnyStreamAggrRule checks if vmagent has any defined aggregation rules
api/operator/v1beta1/vmagent_types.go:698
↓ 4 callersMethodInit
(string, client.Client, logr.Logger, *runtime.Scheme, *config.BaseOperatorConf)
internal/manager/manager.go:495
↓ 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 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 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 callersMethodPrefixedName
()
api/operator/v1/vlsingle_types.go:282
↓ 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 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 callersMethodSelectorLabels
()
api/operator/v1beta1/vmauth_types.go:689
↓ 4 callersMethodSelectorLabels
()
api/operator/v1beta1/vmagent_types.go:531
↓ 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
↓ 4 callersMethodSubResource
(subResource string)
internal/manager/client.go:49
↓ 4 callersMethodVLAgentName
VLAgentName returns the name of the VLAgent for zone.
api/operator/v1alpha1/vldistributed_types.go:137
↓ 4 callersMethodVLClusterName
VLClusterName return cluster name for zone
api/operator/v1alpha1/vldistributed_types.go:149
↓ 4 callersMethodVLSingleName
VLSingleName returns single name for zone
api/operator/v1alpha1/vldistributed_types.go:161
↓ 4 callersMethodVMAuthName
VMAuthName returns the name of the VMAuth resource to be created/managed.
api/operator/v1alpha1/vmdistributed_types.go:426
↓ 4 callersMethodValidate
()
api/operator/v1beta1/vmalertmanagerconfig_types.go:215
↓ 4 callersMethodaccessScheme
()
api/operator/v1beta1/vmalertmanager_types.go:484
↓ 4 callersFunctionaddSelectorToRelabelingFor
(relabelings []yaml.MapSlice, typeName string, selector metav1.LabelSelector, mustSkipAdd bool)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:426
↓ 4 callersMethodappendForbiddenProperties
(props []string)
api/operator/v1beta1/vmextra_types.go:1144
↓ 4 callersFunctionappendIfNotEmpty
(src []string, key string, origin yaml.MapSlice)
internal/controller/operator/factory/vmauth/vmusers_config.go:441
↓ 4 callersFunctionbuildVMAuthLB
(cr *vmv1alpha1.VLDistributed, zs *zones, excludeIds ...int)
internal/controller/operator/factory/vldistributed/vmauth.go:33
↓ 4 callersFunctioncheckRelabelConfigs
(src []*RelabelConfig)
api/operator/v1beta1/vmagent_types.go:740
↓ 4 callersFunctioncreateOrUpdateScrapeConfig
createOrUpdateScrapeConfig reconciles the main scrape config.
internal/controller/operator/factory/vmagent/vmagent.go:1342
↓ 4 callersFunctioncreateOrUpdateScrapeConfig
createOrUpdateScrapeConfig reconciles the main scrape config.
internal/controller/operator/factory/vmsingle/vmsingle.go:780
↓ 4 callersFunctiongenerateK8SSDConfig
(ac *build.AssetsCache, opts ...generateK8SSDConfigOptions)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:256
↓ 4 callersFunctiongetAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAuth)
internal/controller/operator/factory/vmauth/vmauth.go:393
↓ 4 callersFunctiongetAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMSingle)
internal/controller/operator/factory/vmsingle/vmsingle.go:753
↓ 4 callersFunctiongetZones
getZones builds desired zones
internal/controller/operator/factory/vldistributed/zone.go:103
↓ 4 callersFunctionhashBytes
(data []byte)
cmd/config-reloader/content_hash.go:35
↓ 4 callersFunctionlistObjectsByListProto
(namespace string, listProto client.ObjectList)
test/e2e/watchnamespace/utils_test.go:99
↓ 4 callersFunctionmergeMaps
(existingMap, newMap, prevMap map[string]string)
internal/controller/operator/factory/reconcile/reconcile.go:53
↓ 4 callersFunctionmustGetFirstPod
nolint:dupl,lll
test/e2e/utils_test.go:262
↓ 4 callersMethodobserve
(key string, hash uint32)
cmd/config-reloader/content_hash.go:29
↓ 4 callersFunctionparseRange
(s string)
api/operator/v1beta1/vmalertmanagerconfig_types.go:1960
↓ 4 callersFunctionsanitizeLabelName
(name string)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:80
↓ 4 callersFunctionvalidateURLPrefix
(urlPrefixStr string)
api/operator/v1beta1/vmauth_types.go:266
↓ 4 callersFunctionwriteNewContent
(data []byte)
cmd/config-reloader/main.go:380
↓ 3 callersMethodAsOwner
AsOwner returns owner references with current object as owner
api/operator/v1alpha1/vmdistributed_types.go:436
↓ 3 callersMethodAsOwner
AsOwner returns owner references with current object as owner
api/operator/v1alpha1/vldistributed_types.go:415
↓ 3 callersMethodBuildScrapeJobsConfig
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 callersFunctionConvertVMAlert
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 callersFunctionCreateOrUpdate
CreateOrUpdate performs an update for vlsingle resource
internal/controller/operator/factory/vlsingle/vlsingle.go:70
↓ 3 callersFunctionCreateOrUpdate
CreateOrUpdate creates deployment for vlagent and configures it waits for healthy state
internal/controller/operator/factory/vlagent/vlagent.go:89
↓ 3 callersMethodCtx
Ctx returns the manager's context.
internal/podutil/util.go:102
↓ 3 callersFunctionDaemonSet
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 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMAgent.
api/operator/v1beta1/zz_generated.deepcopy.go:4641
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMAlert.
api/operator/v1beta1/zz_generated.deepcopy.go:4997
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMAuth.
api/operator/v1beta1/zz_generated.deepcopy.go:5700
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMSingle.
api/operator/v1beta1/zz_generated.deepcopy.go:7352
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMDistributed.
api/operator/v1alpha1/zz_generated.deepcopy.go:398
↓ 3 callersMethodDefaultStatusFields
(ST)
internal/controller/operator/factory/reconcile/status.go:390
↓ 3 callersMethodDelete
Delete cancels and removes id.
internal/podutil/util.go:139
↓ 3 callersFunctionExtraConfigSecretName
ExtraConfigSecretName returns the name of the Nth overflow secret for cr.
internal/controller/operator/factory/vmscrapes/extra_config.go:24
↓ 3 callersFunctionFetchChartDefaults
FetchChartDefaults fetches chart's default values.yaml at its latest released version.
internal/converter/converter.go:560
↓ 3 callersFunctionGetInterceptorsWithObjects
GetInterceptorsWithObjects returns interceptors for objects
internal/controller/operator/factory/k8stools/interceptors.go:70
↓ 3 callersMethodGetMinReplicas
GetMinReplicas returns default minReplicas value
api/operator/v1beta1/vmextra_types.go:511
↓ 3 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:493
← previousnext →201–300 of 3,858, ranked by callers