MCPcopy Create free account

hub / github.com/VictoriaMetrics/operator / functions

Functions4,581 in github.com/VictoriaMetrics/operator

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
FunctionTestAddComponent
(t *testing.T)
internal/controller/operator/factory/vtcluster/component_update_test.go:22
FunctionTestAddComponent
(t *testing.T)
internal/controller/operator/factory/vmcluster/component_update_test.go:21
FunctionTestAddComponent
(t *testing.T)
internal/controller/operator/factory/vlcluster/component_update_test.go:22
FunctionTestAddConfigTemplates
(t *testing.T)
internal/controller/operator/factory/vmalertmanager/config_test.go:1941
FunctionTestAddFinalizer
(t *testing.T)
internal/controller/operator/factory/finalize/common_test.go:21
FunctionTestAddOwnerReferenceIfAbsent
(t *testing.T)
internal/controller/operator/factory/reconcile/reconcile_test.go:211
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
(t *testing.T)
internal/controller/operator/factory/vmestimator/vmestimator_test.go:100
FunctionTestBuildConfig_UnauthorizedUserAccessLog
(t *testing.T)
internal/controller/operator/factory/vmauth/vmusers_config_test.go:3648
FunctionTestBuildGossipConfig
(t *testing.T)
internal/controller/operator/factory/vmalertmanager/config_test.go:2745
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:708
FunctionTestBuildVMAgentServiceScrapeConfigReloaderPort
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_test.go:2113
FunctionTestBuildVMAuthLBDeployment_SecretsAndConfigMaps
(t *testing.T)
internal/controller/operator/factory/vtcluster/vmauth_lb_test.go:14
FunctionTestBuildVMAuthLBDeployment_SecretsAndConfigMaps
(t *testing.T)
internal/controller/operator/factory/vmcluster/vmcluster_test.go:2075
FunctionTestBuildVMAuthLBDeployment_SecretsAndConfigMaps
(t *testing.T)
internal/controller/operator/factory/vlcluster/vmauth_lb_test.go:14
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:2590
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:314
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
FunctionTestConfigReloaderPortFromPod
(t *testing.T)
internal/controller/operator/factory/reconcile/config_reload_test.go:29
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
FunctionTestConvertHTTPListeners
(t *testing.T)
internal/converter/converter_test.go:2181
FunctionTestConvertImageVariant
(t *testing.T)
internal/converter/converter_test.go:2170
FunctionTestConvertLicense
(t *testing.T)
internal/converter/converter_test.go:2141
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
FunctionTestConvertServiceDefaults
(t *testing.T)
internal/converter/converter_test.go:2356
FunctionTestConvertTlsConfig
(t *testing.T)
internal/controller/operator/factory/converter/apis_test.go:18
FunctionTestConvertVLAgent
(t *testing.T)
internal/converter/converter_test.go:1001
FunctionTestConvertVLCluster
(t *testing.T)
internal/converter/converter_test.go:1158
FunctionTestConvertVLCollector
(t *testing.T)
internal/converter/converter_test.go:1308
FunctionTestConvertVLSingle
(t *testing.T)
internal/converter/converter_test.go:1363
FunctionTestConvertVMAgent
(t *testing.T)
internal/converter/converter_test.go:487
FunctionTestConvertVMAlert
(t *testing.T)
internal/converter/converter_test.go:565
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:2070
FunctionTestConvertVMAlertRules
(t *testing.T)
internal/converter/converter_test.go:836
FunctionTestConvertVMAlertSecrets
(t *testing.T)
internal/converter/converter_test.go:785
FunctionTestConvertVMAnomaly
(t *testing.T)
internal/converter/converter_test.go:906
FunctionTestConvertVMAuth
(t *testing.T)
internal/converter/converter_test.go:1530
FunctionTestConvertVMAuthUsers_Errors
(t *testing.T)
internal/converter/converter_test.go:1636
FunctionTestConvertVMAuthUsers_ExplicitName
TestConvertVMAuthUsers_ExplicitName covers a user config that sets name distinctly from username.
internal/converter/converter_test.go:1669
FunctionTestConvertVMAuthUsers_NoConfig
(t *testing.T)
internal/converter/converter_test.go:1685
FunctionTestConvertVMAuthUsers_UsernameAndBearerToken
TestConvertVMAuthUsers_UsernameAndBearerToken reproduces #2441.
internal/converter/converter_test.go:1649
FunctionTestConvertVMCluster
(t *testing.T)
internal/converter/converter_test.go:416
FunctionTestConvertVMSingle
(t *testing.T)
internal/converter/converter_test.go:276
FunctionTestConvertVTAgent
(t *testing.T)
internal/converter/converter_test.go:1051
FunctionTestConvertVTAgentAnnotations
(t *testing.T)
internal/converter/converter_test.go:1131
FunctionTestConvertVTAgentOTLPGRPCErrors
(t *testing.T)
internal/converter/converter_test.go:1115
FunctionTestConvertVTCluster
(t *testing.T)
internal/converter/converter_test.go:1451
FunctionTestConvertVTSingle
(t *testing.T)
internal/converter/converter_test.go:1407
FunctionTestCreatOrUpdateClusterServices
(t *testing.T)
internal/controller/operator/factory/vmcluster/vmcluster_test.go:864
FunctionTestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vtcluster/cluster_test.go:28
FunctionTestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vmalert/vmalert_test.go:24
FunctionTestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vtsingle/vtsingle_test.go:26
FunctionTestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vmdistributed/vmdistributed_test.go:158
FunctionTestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_test.go:30
FunctionTestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vlagent/vlagent_test.go:28
FunctionTestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vmanomaly/statefulset_test.go:27
FunctionTestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vldistributed/vldistributed_test.go:159
FunctionTestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vmcluster/vmcluster_test.go:33
← previousnext →3,401–3,500 of 4,581, ranked by callers