MCPcopy Create free account

hub / github.com/VictoriaMetrics/operator / functions

Functions4,346 in github.com/VictoriaMetrics/operator

FunctionSetupVTClusterWebhookWithManager
SetupVTClusterWebhookWithManager will setup the manager to manage the webhooks
internal/webhook/operator/v1/vtcluster_webhook.go:32
FunctionSetupVTSingleWebhookWithManager
SetupVTSingleWebhookWithManager will setup the manager to manage the webhooks
internal/webhook/operator/v1/vtsingle_webhook.go:32
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/promscrapeconfig_controller.go:99
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/vmrule_controller.go:144
MethodSetupWithManager
SetupWithManager sets up the controller with the Manager.
internal/controller/operator/vtsingle_controller.go:109
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/prompodmonitor_controller.go:94
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/promservicemonitor_controller.go:94
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/vmcluster_controller.go:98
MethodSetupWithManager
SetupWithManager - setups manager for VMNodeScrape
internal/controller/operator/vmnodescrape_controller.go:96
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/vmservicescrape_controller.go:93
MethodSetupWithManager
SetupWithManager sets up the controller with the Manager.
internal/controller/operator/vtcluster_controller.go:108
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/vmsingle_controller.go:134
MethodSetupWithManager
SetupWithManager sets up the controller with the Manager.
internal/controller/operator/vlsingle_controller.go:109
MethodSetupWithManager
SetupWithManager sets up the controller with the Manager.
internal/controller/operator/vldistributed_controller.go:112
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/vmagent_controller.go:142
MethodSetupWithManager
SetupWithManager inits object.
internal/controller/operator/vmauth_controller.go:129
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/promprobe_controller.go:94
MethodSetupWithManager
SetupWithManager sets up the controller with the Manager.
internal/controller/operator/vmdistributed_controller.go:112
MethodSetupWithManager
SetupWithManager sets up the controller with the Manager.
internal/controller/operator/vlcluster_controller.go:108
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/vmalertmanager_controller.go:131
MethodSetupWithManager
SetupWithManager sets up the controller with the Manager.
internal/controller/operator/vmanomaly_controller.go:127
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/vmscrapeconfig_controller.go:93
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/vtagent_controller.go:120
MethodSetupWithManager
SetupWithManager setups reconciler.
internal/controller/operator/vmstaticscrape_controller.go:72
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/vmalert_controller.go:130
MethodSetupWithManager
SetupWithManager - setups VMProbe manager
internal/controller/operator/vmprobe_controller.go:93
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/vmpodscrape_controller.go:93
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/vlagent_controller.go:120
MethodSetupWithManager
SetupWithManager configures reconcile
internal/controller/operator/vmalertmanagerconfig_controller.go:144
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/promrule_controller.go:94
MethodSetupWithManager
SetupWithManager sets up the controller with the Manager.
internal/controller/operator/vlogs_controller.go:96
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/promalertmanagerconfig_controller.go:99
MethodSetupWithManager
SetupWithManager general setup method
internal/controller/operator/vmanomalyconfig_controller.go:132
MethodSetupWithManager
SetupWithManager inits object
internal/controller/operator/vmuser_controller.go:156
MethodShutdown
()
api/client/informers/externalversions/factory.go:164
MethodShutdown
Shutdown marks a factory as shutting down. At that point no new informers can be started anymore and Start will return without doing anything. In add
api/client/informers/externalversions/factory.go:308
MethodStart
(stopCh <-chan struct{})
api/client/informers/externalversions/factory.go:142
MethodStart
Start initializes all requested informers. They are handled in goroutines which run until the stop channel gets closed. Warning: Start does not block.
api/client/informers/externalversions/factory.go:291
MethodStartWithContext
StartWithContext initializes all requested informers. They are handled in goroutines which run until the context gets canceled. Warning: StartWithCont
api/client/informers/externalversions/factory.go:296
MethodStorageNodeIDsUnderMaintenance
StorageNodeIDsUnderMaintenance returns the vlstorage pod ordinals excluded from both insert and select routing via MaintenanceInsertNodeIDs and Mainte
api/operator/v1/vlcluster_types.go:919
MethodSwap
(i, j int)
internal/controller/operator/factory/vmdistributed/zone.go:72
MethodSwap
(i, j int)
internal/controller/operator/factory/vldistributed/zone.go:71
FunctionTestAPIs
(t *testing.T)
test/e2e/watchnamespace/suite_test.go:21
FunctionTestAPIs
(t *testing.T)
test/e2e/childobjects/suite_test.go:20
FunctionTestAddConfigTemplates
(t *testing.T)
internal/controller/operator/factory/vmalertmanager/config_test.go:1640
FunctionTestAddFinalizer
(t *testing.T)
internal/controller/operator/factory/finalize/common_test.go:18
FunctionTestAutoPeerModelRoundTrip
(t *testing.T)
internal/controller/operator/factory/vmanomaly/config/models_test.go:48
FunctionTestBuildConfig
nolint:gofmt
internal/controller/operator/factory/vmalertmanager/config_test.go:32
FunctionTestBuildConfig_UnauthorizedUserAccessLog
(t *testing.T)
internal/controller/operator/factory/vmauth/vmusers_config_test.go:3437
FunctionTestBuildGossipConfig
(t *testing.T)
internal/controller/operator/factory/vmalertmanager/config_test.go:2444
FunctionTestBuildIngressForAuthOk
(t *testing.T)
internal/controller/operator/factory/vmauth/vmauth_test.go:971
FunctionTestBuildNotifiers
(t *testing.T)
internal/controller/operator/factory/vmalert/vmalert_test.go:529
FunctionTestBuildRemoteWriteArgs
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_test.go:954
FunctionTestBuildRemoteWriteArgs
(t *testing.T)
internal/controller/operator/factory/vlagent/vlagent_test.go:489
FunctionTestBuildRemoteWriteArgs
(t *testing.T)
internal/controller/operator/factory/vtagent/vtagent_test.go:679
FunctionTestBuildVMAgentServiceScrapeConfigReloaderPort
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_test.go:2113
FunctionTestBuildVMAuthLBForcesWaitForConfigReload
(t *testing.T)
internal/controller/operator/factory/vmdistributed/vmauth_test.go:263
FunctionTestBuildVMAuthLBVLSingleBackend
(t *testing.T)
internal/controller/operator/factory/vldistributed/vmauth_test.go:224
FunctionTestBuildVMAuthLBVMSingleBackend
(t *testing.T)
internal/controller/operator/factory/vmdistributed/vmauth_test.go:223
FunctionTestBuildVMAuthLBZoneOrder
(t *testing.T)
internal/controller/operator/factory/vmdistributed/vmauth_test.go:123
FunctionTestBuildVMAuthLBZoneOrder
(t *testing.T)
internal/controller/operator/factory/vldistributed/vmauth_test.go:124
FunctionTestBuildVTInsertPodSpec_GRPC
(t *testing.T)
internal/controller/operator/factory/vtcluster/insert_test.go:15
FunctionTestBuildVTInsertService_GRPC
(t *testing.T)
internal/controller/operator/factory/vtcluster/insert_test.go:57
FunctionTestBuildWebConfig
(t *testing.T)
internal/controller/operator/factory/vmalertmanager/config_test.go:2289
FunctionTestCfgWatcherDelayIntervalCancelledContext
TestCfgWatcherDelayIntervalCancelledContext verifies that cancelling context during delay window prevents reloader from being called.
cmd/config-reloader/main_test.go:199
FunctionTestCfgWatcherDelayIntervalDebouncesUpdates
TestCfgWatcherDelayIntervalDebouncesUpdates verifies that multiple updates arriving within the delay window are coalesced into a single reload call.
cmd/config-reloader/main_test.go:157
FunctionTestCfgWatcherDelayIntervalHonoured
TestCfgWatcherDelayIntervalHonoured verifies that the reloader is not called before delayInterval elapses after an update signal.
cmd/config-reloader/main_test.go:120
FunctionTestCfgWatcherRetriesFailedReload
TestCfgWatcherRetriesFailedReload verifies that a failed reload call is retried until it succeeds, e.g. when the application's reload endpoint is not
cmd/config-reloader/main_test.go:80
FunctionTestCfgWatcherSignalSentOnce
TestCfgWatcherSignalSentOnce verifies that a burst of updates results in exactly one reloader call (channel drained before reload).
cmd/config-reloader/main_test.go:42
FunctionTestCfgWatcherSuccessTimestampUsesSeconds
(t *testing.T)
cmd/config-reloader/main_test.go:230
FunctionTestChangedKeysWithSizes
(t *testing.T)
internal/controller/operator/factory/reconcile/configmap_test.go:17
FunctionTestChildCleaner
(t *testing.T)
internal/controller/operator/factory/finalize/cluster_test.go:331
FunctionTestClusterRoleBindingReconcile
(t *testing.T)
internal/controller/operator/factory/reconcile/rbac_test.go:172
FunctionTestClusterRoleReconcile
(t *testing.T)
internal/controller/operator/factory/reconcile/rbac_test.go:251
FunctionTestClusterVersionChange
TestClusterVersionChange reproduces the exact conditions of Test_CreateOrUpdate_Actions case 4 to diagnose why 9 actions are produced instead of 13.
internal/controller/operator/factory/vldistributed/test_clusterversion_test.go:29
FunctionTestCommonAppsParamsValidate
(t *testing.T)
api/operator/v1beta1/vmextra_types_test.go:313
FunctionTestConfigMapReconcile
(t *testing.T)
internal/controller/operator/factory/reconcile/configmap_test.go:53
FunctionTestConfigReloaderImageVersion
(t *testing.T)
internal/config/config_test.go:84
FunctionTestConfigReloaderMetricsURL
(t *testing.T)
internal/controller/operator/factory/reconcile/config_reload_test.go:22
FunctionTestContentHashRegistry_ConfirmReload
(t *testing.T)
cmd/config-reloader/content_hash_test.go:13
FunctionTestContentHashRegistry_KeysAreIndependent
(t *testing.T)
cmd/config-reloader/content_hash_test.go:45
FunctionTestConvertAlertmanagerConfig
(t *testing.T)
internal/controller/operator/factory/converter/v1alpha1/apis_test.go:18
FunctionTestConvertEndpoint
(t *testing.T)
internal/controller/operator/factory/converter/apis_test.go:111
FunctionTestConvertLicense
(t *testing.T)
internal/converter/converter_test.go:2033
FunctionTestConvertPodEndpoints
(t *testing.T)
internal/controller/operator/factory/converter/apis_test.go:227
FunctionTestConvertProbe
(t *testing.T)
internal/controller/operator/factory/converter/apis_test.go:345
FunctionTestConvertRelabelConfig
(t *testing.T)
internal/controller/operator/factory/converter/apis_test.go:65
FunctionTestConvertScrapeConfig
(t *testing.T)
internal/controller/operator/factory/converter/v1alpha1/apis_test.go:89
FunctionTestConvertTlsConfig
(t *testing.T)
internal/controller/operator/factory/converter/apis_test.go:18
FunctionTestConvertVLAgent
(t *testing.T)
internal/converter/converter_test.go:1000
FunctionTestConvertVLCluster
(t *testing.T)
internal/converter/converter_test.go:1050
FunctionTestConvertVLCollector
(t *testing.T)
internal/converter/converter_test.go:1200
FunctionTestConvertVLogs
(t *testing.T)
internal/converter/converter_test.go:1255
FunctionTestConvertVMAgent
(t *testing.T)
internal/converter/converter_test.go:486
FunctionTestConvertVMAlert
(t *testing.T)
internal/converter/converter_test.go:564
FunctionTestConvertVMAlertAlertingRulesNeedNotifier
Alerting rules without a notifier must fail the conversion: the operator would silently drop them, while the chart's vmalert refuses to start.
internal/converter/converter_test.go:1962
FunctionTestConvertVMAlertRules
(t *testing.T)
internal/converter/converter_test.go:835
FunctionTestConvertVMAlertSecrets
(t *testing.T)
internal/converter/converter_test.go:784
FunctionTestConvertVMAnomaly
(t *testing.T)
internal/converter/converter_test.go:905
FunctionTestConvertVMAuth
(t *testing.T)
internal/converter/converter_test.go:1422
← previousnext →3,201–3,300 of 4,346, ranked by callers