Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VictoriaMetrics/operator
/ functions
Functions
4,581 in github.com/VictoriaMetrics/operator
⨍
Functions
4,581
◇
Types & classes
1,226
Method
SetupWithManager
SetupWithManager inits object
internal/controller/operator/vmuser_controller.go:156
Method
Shutdown
()
api/client/informers/externalversions/factory.go:164
Method
Shutdown
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
Method
Start
(stopCh <-chan struct{})
api/client/informers/externalversions/factory.go:142
Method
Start
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
Method
StartWithContext
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
Method
StorageNodeIDsUnderMaintenance
StorageNodeIDsUnderMaintenance returns the vlstorage pod ordinals excluded from both insert and select routing via MaintenanceInsertNodeIDs and Mainte
api/operator/v1/vlcluster_types.go:919
Method
Swap
(i, j int)
internal/controller/operator/factory/vmdistributed/zone.go:72
Method
Swap
(i, j int)
internal/controller/operator/factory/vldistributed/zone.go:71
Function
TestAPIs
(t *testing.T)
test/e2e/watchnamespace/suite_test.go:21
Function
TestAPIs
(t *testing.T)
test/e2e/childobjects/suite_test.go:20
Function
TestAddComponent
(t *testing.T)
internal/controller/operator/factory/vtcluster/component_update_test.go:22
Function
TestAddComponent
(t *testing.T)
internal/controller/operator/factory/vmcluster/component_update_test.go:21
Function
TestAddComponent
(t *testing.T)
internal/controller/operator/factory/vlcluster/component_update_test.go:22
Function
TestAddConfigTemplates
(t *testing.T)
internal/controller/operator/factory/vmalertmanager/config_test.go:1941
Function
TestAddFinalizer
(t *testing.T)
internal/controller/operator/factory/finalize/common_test.go:21
Function
TestAddOwnerReferenceIfAbsent
(t *testing.T)
internal/controller/operator/factory/reconcile/reconcile_test.go:211
Function
TestAutoPeerModelRoundTrip
(t *testing.T)
internal/controller/operator/factory/vmanomaly/config/models_test.go:48
Function
TestBuildConfig
nolint:gofmt
internal/controller/operator/factory/vmalertmanager/config_test.go:32
Function
TestBuildConfig
(t *testing.T)
internal/controller/operator/factory/vmestimator/vmestimator_test.go:100
Function
TestBuildConfig_UnauthorizedUserAccessLog
(t *testing.T)
internal/controller/operator/factory/vmauth/vmusers_config_test.go:3648
Function
TestBuildGossipConfig
(t *testing.T)
internal/controller/operator/factory/vmalertmanager/config_test.go:2745
Function
TestBuildIngressForAuthOk
(t *testing.T)
internal/controller/operator/factory/vmauth/vmauth_test.go:971
Function
TestBuildNotifiers
(t *testing.T)
internal/controller/operator/factory/vmalert/vmalert_test.go:529
Function
TestBuildRemoteWriteArgs
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_test.go:954
Function
TestBuildRemoteWriteArgs
(t *testing.T)
internal/controller/operator/factory/vlagent/vlagent_test.go:489
Function
TestBuildRemoteWriteArgs
(t *testing.T)
internal/controller/operator/factory/vtagent/vtagent_test.go:708
Function
TestBuildVMAgentServiceScrapeConfigReloaderPort
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_test.go:2113
Function
TestBuildVMAuthLBDeployment_SecretsAndConfigMaps
(t *testing.T)
internal/controller/operator/factory/vtcluster/vmauth_lb_test.go:14
Function
TestBuildVMAuthLBDeployment_SecretsAndConfigMaps
(t *testing.T)
internal/controller/operator/factory/vmcluster/vmcluster_test.go:2075
Function
TestBuildVMAuthLBDeployment_SecretsAndConfigMaps
(t *testing.T)
internal/controller/operator/factory/vlcluster/vmauth_lb_test.go:14
Function
TestBuildVMAuthLBForcesWaitForConfigReload
(t *testing.T)
internal/controller/operator/factory/vmdistributed/vmauth_test.go:263
Function
TestBuildVMAuthLBVLSingleBackend
(t *testing.T)
internal/controller/operator/factory/vldistributed/vmauth_test.go:224
Function
TestBuildVMAuthLBVMSingleBackend
(t *testing.T)
internal/controller/operator/factory/vmdistributed/vmauth_test.go:223
Function
TestBuildVMAuthLBZoneOrder
(t *testing.T)
internal/controller/operator/factory/vmdistributed/vmauth_test.go:123
Function
TestBuildVMAuthLBZoneOrder
(t *testing.T)
internal/controller/operator/factory/vldistributed/vmauth_test.go:124
Function
TestBuildVTInsertPodSpec_GRPC
(t *testing.T)
internal/controller/operator/factory/vtcluster/insert_test.go:15
Function
TestBuildVTInsertService_GRPC
(t *testing.T)
internal/controller/operator/factory/vtcluster/insert_test.go:57
Function
TestBuildWebConfig
(t *testing.T)
internal/controller/operator/factory/vmalertmanager/config_test.go:2590
Function
TestCfgWatcherDelayIntervalCancelledContext
TestCfgWatcherDelayIntervalCancelledContext verifies that cancelling context during delay window prevents reloader from being called.
cmd/config-reloader/main_test.go:199
Function
TestCfgWatcherDelayIntervalDebouncesUpdates
TestCfgWatcherDelayIntervalDebouncesUpdates verifies that multiple updates arriving within the delay window are coalesced into a single reload call.
cmd/config-reloader/main_test.go:157
Function
TestCfgWatcherDelayIntervalHonoured
TestCfgWatcherDelayIntervalHonoured verifies that the reloader is not called before delayInterval elapses after an update signal.
cmd/config-reloader/main_test.go:120
Function
TestCfgWatcherRetriesFailedReload
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
Function
TestCfgWatcherSignalSentOnce
TestCfgWatcherSignalSentOnce verifies that a burst of updates results in exactly one reloader call (channel drained before reload).
cmd/config-reloader/main_test.go:42
Function
TestCfgWatcherSuccessTimestampUsesSeconds
(t *testing.T)
cmd/config-reloader/main_test.go:230
Function
TestChangedKeysWithSizes
(t *testing.T)
internal/controller/operator/factory/reconcile/configmap_test.go:17
Function
TestChildCleaner
(t *testing.T)
internal/controller/operator/factory/finalize/cluster_test.go:331
Function
TestClusterRoleBindingReconcile
(t *testing.T)
internal/controller/operator/factory/reconcile/rbac_test.go:172
Function
TestClusterRoleReconcile
(t *testing.T)
internal/controller/operator/factory/reconcile/rbac_test.go:251
Function
TestClusterVersionChange
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
Function
TestCommonAppsParamsValidate
(t *testing.T)
api/operator/v1beta1/vmextra_types_test.go:314
Function
TestConfigMapReconcile
(t *testing.T)
internal/controller/operator/factory/reconcile/configmap_test.go:53
Function
TestConfigReloaderImageVersion
(t *testing.T)
internal/config/config_test.go:84
Function
TestConfigReloaderMetricsURL
(t *testing.T)
internal/controller/operator/factory/reconcile/config_reload_test.go:22
Function
TestConfigReloaderPortFromPod
(t *testing.T)
internal/controller/operator/factory/reconcile/config_reload_test.go:29
Function
TestContentHashRegistry_ConfirmReload
(t *testing.T)
cmd/config-reloader/content_hash_test.go:13
Function
TestContentHashRegistry_KeysAreIndependent
(t *testing.T)
cmd/config-reloader/content_hash_test.go:45
Function
TestConvertAlertmanagerConfig
(t *testing.T)
internal/controller/operator/factory/converter/v1alpha1/apis_test.go:18
Function
TestConvertEndpoint
(t *testing.T)
internal/controller/operator/factory/converter/apis_test.go:111
Function
TestConvertHTTPListeners
(t *testing.T)
internal/converter/converter_test.go:2181
Function
TestConvertImageVariant
(t *testing.T)
internal/converter/converter_test.go:2170
Function
TestConvertLicense
(t *testing.T)
internal/converter/converter_test.go:2141
Function
TestConvertPodEndpoints
(t *testing.T)
internal/controller/operator/factory/converter/apis_test.go:227
Function
TestConvertProbe
(t *testing.T)
internal/controller/operator/factory/converter/apis_test.go:345
Function
TestConvertRelabelConfig
(t *testing.T)
internal/controller/operator/factory/converter/apis_test.go:65
Function
TestConvertScrapeConfig
(t *testing.T)
internal/controller/operator/factory/converter/v1alpha1/apis_test.go:89
Function
TestConvertServiceDefaults
(t *testing.T)
internal/converter/converter_test.go:2356
Function
TestConvertTlsConfig
(t *testing.T)
internal/controller/operator/factory/converter/apis_test.go:18
Function
TestConvertVLAgent
(t *testing.T)
internal/converter/converter_test.go:1001
Function
TestConvertVLCluster
(t *testing.T)
internal/converter/converter_test.go:1158
Function
TestConvertVLCollector
(t *testing.T)
internal/converter/converter_test.go:1308
Function
TestConvertVLSingle
(t *testing.T)
internal/converter/converter_test.go:1363
Function
TestConvertVMAgent
(t *testing.T)
internal/converter/converter_test.go:487
Function
TestConvertVMAlert
(t *testing.T)
internal/converter/converter_test.go:565
Function
TestConvertVMAlertAlertingRulesNeedNotifier
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:2070
Function
TestConvertVMAlertRules
(t *testing.T)
internal/converter/converter_test.go:836
Function
TestConvertVMAlertSecrets
(t *testing.T)
internal/converter/converter_test.go:785
Function
TestConvertVMAnomaly
(t *testing.T)
internal/converter/converter_test.go:906
Function
TestConvertVMAuth
(t *testing.T)
internal/converter/converter_test.go:1530
Function
TestConvertVMAuthUsers_Errors
(t *testing.T)
internal/converter/converter_test.go:1636
Function
TestConvertVMAuthUsers_ExplicitName
TestConvertVMAuthUsers_ExplicitName covers a user config that sets name distinctly from username.
internal/converter/converter_test.go:1669
Function
TestConvertVMAuthUsers_NoConfig
(t *testing.T)
internal/converter/converter_test.go:1685
Function
TestConvertVMAuthUsers_UsernameAndBearerToken
TestConvertVMAuthUsers_UsernameAndBearerToken reproduces #2441.
internal/converter/converter_test.go:1649
Function
TestConvertVMCluster
(t *testing.T)
internal/converter/converter_test.go:416
Function
TestConvertVMSingle
(t *testing.T)
internal/converter/converter_test.go:276
Function
TestConvertVTAgent
(t *testing.T)
internal/converter/converter_test.go:1051
Function
TestConvertVTAgentAnnotations
(t *testing.T)
internal/converter/converter_test.go:1131
Function
TestConvertVTAgentOTLPGRPCErrors
(t *testing.T)
internal/converter/converter_test.go:1115
Function
TestConvertVTCluster
(t *testing.T)
internal/converter/converter_test.go:1451
Function
TestConvertVTSingle
(t *testing.T)
internal/converter/converter_test.go:1407
Function
TestCreatOrUpdateClusterServices
(t *testing.T)
internal/controller/operator/factory/vmcluster/vmcluster_test.go:864
Function
TestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vtcluster/cluster_test.go:28
Function
TestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vmalert/vmalert_test.go:24
Function
TestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vtsingle/vtsingle_test.go:26
Function
TestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vmdistributed/vmdistributed_test.go:158
Function
TestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_test.go:30
Function
TestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vlagent/vlagent_test.go:28
Function
TestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vmanomaly/statefulset_test.go:27
Function
TestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vldistributed/vldistributed_test.go:159
Function
TestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vmcluster/vmcluster_test.go:33
← previous
next →
3,401–3,500 of 4,581, ranked by callers