MCPcopy Create free account

hub / github.com/VictoriaMetrics/operator / functions

Functions3,591 in github.com/VictoriaMetrics/operator

↓ 4 callersFunctionCreateOrUpdate
CreateOrUpdate creates vmanomaly and builds config for it
internal/controller/operator/factory/vmanomaly/statefulset.go:44
↓ 4 callersFunctionCreateOrUpdate
CreateOrUpdate - handles VMAuth deployment reconciliation.
internal/controller/operator/factory/vmauth/vmauth.go:44
↓ 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:27
↓ 4 callersFunctionCreateOrUpdateConfig
CreateOrUpdateConfig - check if secret with config exist, if not create with predefined or user value.
internal/controller/operator/factory/vmalertmanager/statefulset.go:460
↓ 4 callersFunctionCreateOrUpdateRuleConfigMaps
CreateOrUpdateRuleConfigMaps conditionally selects vmrules and stores content at configmaps
internal/controller/operator/factory/vmalert/rules.go:25
↓ 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 callersMethodGetRemoteWriteURL
()
internal/controller/operator/factory/vmdistributed/zone.go:36
↓ 4 callersMethodGetShardCount
GetShardCount returns shard count for vmanomaly
api/operator/v1/vmanomaly_types.go:513
↓ 4 callersMethodGetStatusMetadata
()
internal/controller/operator/factory/reconcile/status.go:31
↓ 4 callersMethodGetVolumeName
GetVolumeName returns volume name for persistent storage
api/operator/v1/vmanomaly_types.go:443
↓ 4 callersMethodInit
(string, client.Client, logr.Logger, *runtime.Scheme, *config.BaseOperatorConf)
internal/manager/manager.go:473
↓ 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:189
↓ 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:184
↓ 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:204
↓ 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:199
↓ 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:194
↓ 4 callersFunctionNewChildCleaner
NewChildCleaner initializes ChildCleaner
internal/controller/operator/factory/finalize/cluster.go:173
↓ 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:279
↓ 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:209
↓ 4 callersFunctionRemoveOrphanedSTSs
RemoveOrphanedSTSs removes Deployments detached from given object
internal/controller/operator/factory/finalize/orphaned.go:29
↓ 4 callersMethodSelectorLabels
()
api/operator/v1beta1/vmagent_types.go:528
↓ 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 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:481
↓ 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:1122
↓ 4 callersFunctionappendIfNotEmpty
(src []string, key string, origin yaml.MapSlice)
internal/controller/operator/factory/vmauth/vmusers_config.go:441
↓ 4 callersFunctionbuildVMAuthLB
(cr *vmv1alpha1.VMDistributed, zs *zones, excludeIds ...int)
internal/controller/operator/factory/vmdistributed/vmauth.go:99
↓ 4 callersFunctioncheckRelabelConfigs
(src []*RelabelConfig)
api/operator/v1beta1/vmagent_types.go:713
↓ 4 callersFunctioncreateOrUpdateScrapeConfig
(ctx context.Context, rclient client.Client, cr, prevCR *vmv1beta1.VMAgent, childObject client.Object, ac *bui
internal/controller/operator/factory/vmagent/vmagent.go:1354
↓ 4 callersFunctioncreateOrUpdateScrapeConfig
(ctx context.Context, rclient client.Client, cr, prevCR *vmv1beta1.VMSingle, childObject client.Object, ac *bu
internal/controller/operator/factory/vmsingle/vmsingle.go:764
↓ 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:382
↓ 4 callersFunctiongetAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMSingle)
internal/controller/operator/factory/vmsingle/vmsingle.go:736
↓ 4 callersFunctionhasRemoteWriteSecrets
(cr *vmv1beta1.VMAgent)
internal/controller/operator/factory/vmagent/vmagent.go:1002
↓ 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:52
↓ 4 callersFunctionmergeSpecs
(a, b *T, name string)
internal/controller/operator/factory/vmdistributed/util.go:261
↓ 4 callersFunctionmustGetFirstPod
nolint:dupl,lll
test/e2e/utils_test.go:259
↓ 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:256
↓ 4 callersFunctionwriteNewContent
(data []byte)
cmd/config-reloader/main.go:379
↓ 3 callersMethodAsOwner
AsOwner returns owner references with current object as owner
api/operator/v1alpha1/vmdistributed_types.go:436
↓ 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 callersFunctionCreateOrUpdate
CreateOrUpdate performs an update for vlsingle resource
internal/controller/operator/factory/vlsingle/vlsingle.go:69
↓ 3 callersFunctionCreateOrUpdate
CreateOrUpdate creates deployment for vlagent and configures it waits for healthy state
internal/controller/operator/factory/vlagent/vlagent.go:88
↓ 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:4577
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMAlert.
api/operator/v1beta1/zz_generated.deepcopy.go:4928
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMSingle.
api/operator/v1beta1/zz_generated.deepcopy.go:7243
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMDistributed.
api/operator/v1alpha1/zz_generated.deepcopy.go:41
↓ 3 callersMethodDefaultStatusFields
(ST)
internal/controller/operator/factory/reconcile/status.go:187
↓ 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 the default values.yaml for the given chart at its latest released version from the VictoriaMetrics helm-charts repository.
internal/converter/converter.go:319
↓ 3 callersFunctionGetInterceptorsWithObjects
GetInterceptorsWithObjects returns interceptors for objects
internal/controller/operator/factory/k8stools/interceptors.go:60
↓ 3 callersMethodGetMinReplicas
GetMinReplicas returns default minReplicas value
api/operator/v1beta1/vmextra_types.go:500
↓ 3 callersFunctionInitOperatorProcess
InitOperatorProcess prepares operator process for usage, must be called once
test/e2e/suite/suite.go:182
↓ 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:89
↓ 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 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:393
↓ 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:106
↓ 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:421
↓ 3 callersMethodSelectorLabels
()
api/operator/v1beta1/vmsingle_types.go:291
← previousnext →201–300 of 3,591, ranked by callers