MCPcopy Create free account

hub / github.com/VictoriaMetrics/operator / functions

Functions4,346 in github.com/VictoriaMetrics/operator

FunctionTestConvertVMAuthUsers_Errors
(t *testing.T)
internal/converter/converter_test.go:1528
FunctionTestConvertVMAuthUsers_ExplicitName
TestConvertVMAuthUsers_ExplicitName covers a user config that sets name distinctly from username.
internal/converter/converter_test.go:1561
FunctionTestConvertVMAuthUsers_NoConfig
(t *testing.T)
internal/converter/converter_test.go:1577
FunctionTestConvertVMAuthUsers_UsernameAndBearerToken
TestConvertVMAuthUsers_UsernameAndBearerToken reproduces #2441.
internal/converter/converter_test.go:1541
FunctionTestConvertVMCluster
(t *testing.T)
internal/converter/converter_test.go:415
FunctionTestConvertVMSingle
(t *testing.T)
internal/converter/converter_test.go:275
FunctionTestConvertVTCluster
(t *testing.T)
internal/converter/converter_test.go:1343
FunctionTestConvertVTSingle
(t *testing.T)
internal/converter/converter_test.go:1299
FunctionTestCreatOrUpdateClusterServices
(t *testing.T)
internal/controller/operator/factory/vmcluster/vmcluster_test.go:863
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:32
FunctionTestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vmauth/vmauth_test.go:45
FunctionTestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vtagent/vtagent_test.go:31
FunctionTestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vlcluster/vlcluster_test.go:28
FunctionTestCreateOrUpdate
(t *testing.T)
internal/controller/operator/factory/vmsingle/vmsingle_test.go:26
FunctionTestCreateOrUpdateAlertManager
(t *testing.T)
internal/controller/operator/factory/vmalertmanager/alertmanager_test.go:26
FunctionTestCreateOrUpdateHPA_LegacyNamingNotChurned
regression test: with UseLegacyNaming, cr.PrefixedName() == cr.Name, so the migration cleanup for the old cr.Name-named HPA must not delete the curren
internal/controller/operator/factory/vmagent/vmagent_reconcile_test.go:690
FunctionTestCreateOrUpdateHPA_OldNameCleanedUpOnMigration
regression test for https://github.com/VictoriaMetrics/operator/issues/2518
internal/controller/operator/factory/vmagent/vmagent_reconcile_test.go:652
FunctionTestCreateOrUpdateHPA_RemovedOnDaemonSetMode
regression test: createOrUpdateHPA skips daemonSetMode, so an HPA left over from before the switch must be removed even though spec.hpa is still set
internal/controller/operator/factory/vmagent/vmagent_reconcile_test.go:618
FunctionTestCreateOrUpdateHPA_RemovedOnDisable
regression test for https://github.com/VictoriaMetrics/operator/issues/2518
internal/controller/operator/factory/vmagent/vmagent_reconcile_test.go:584
FunctionTestCreateOrUpdateHPA_TargetsCR
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_reconcile_test.go:536
FunctionTestCreateOrUpdateRelabelConfigsAssets
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_test.go:2149
FunctionTestCreateOrUpdateRuleConfigMaps
(t *testing.T)
internal/controller/operator/factory/vmalert/rules_test.go:249
FunctionTestCreateOrUpdateRuleConfigMaps_EmptyPlaceholder
TestCreateOrUpdateRuleConfigMaps_EmptyPlaceholder checks the placeholder ConfigMap created for zero selected groups has no groups in it, so vmalert's
internal/controller/operator/factory/vmalert/rules_test.go:352
FunctionTestCreateOrUpdateScrapeConfig
(t *testing.T)
internal/controller/operator/factory/vmagent/scrapes_test.go:21
FunctionTestCreateOrUpdateScrapeConfig
(t *testing.T)
internal/controller/operator/factory/vmsingle/scrapes_test.go:21
FunctionTestCreateOrUpdateService
(t *testing.T)
internal/controller/operator/factory/vmalert/vmalert_test.go:709
FunctionTestCreateOrUpdateService
(t *testing.T)
internal/controller/operator/factory/vtsingle/vtsingle_test.go:291
FunctionTestCreateOrUpdateService
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_test.go:1937
FunctionTestCreateOrUpdateService
(t *testing.T)
internal/controller/operator/factory/vtagent/vtagent_test.go:1613
FunctionTestCreateOrUpdateService
(t *testing.T)
internal/controller/operator/factory/vmsingle/vmsingle_test.go:500
FunctionTestCreateOrUpdateStreamAggrConfig
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_test.go:2249
FunctionTestCreateOrUpdateStreamAggrConfigRemovesStaleManagedLabel
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_test.go:2440
FunctionTestCreateOrUpdateVLSingle
(t *testing.T)
internal/controller/operator/factory/vlsingle/vlsingle_test.go:26
FunctionTestCreateOrUpdateVLSingleService
(t *testing.T)
internal/controller/operator/factory/vlsingle/vlsingle_test.go:327
FunctionTestCreateOrUpdateVLSingle_Paused
(t *testing.T)
internal/controller/operator/factory/vlsingle/vlsingle_test.go:304
FunctionTestCreateOrUpdateVPA_LegacyNamingNotChurned
regression test: with UseLegacyNaming, cr.PrefixedName() == cr.Name, so the migration cleanup for the old cr.Name-named VPA must not delete the curren
internal/controller/operator/factory/vmagent/vmagent_reconcile_test.go:499
FunctionTestCreateOrUpdateVPA_OldNameCleanedUpOnMigration
regression test for https://github.com/VictoriaMetrics/operator/issues/2518
internal/controller/operator/factory/vmagent/vmagent_reconcile_test.go:459
FunctionTestCreateOrUpdateVPA_OldNameCleanedUpOnMigration
regression test for https://github.com/VictoriaMetrics/operator/issues/2518
internal/controller/operator/factory/vmanomaly/vmanomaly_reconcile_test.go:475
FunctionTestCreateOrUpdateVPA_RemovedOnDisable
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_reconcile_test.go:424
FunctionTestCreateOrUpdateVPA_RemovedOnDisable
(t *testing.T)
internal/controller/operator/factory/vmanomaly/vmanomaly_reconcile_test.go:414
FunctionTestCreateOrUpdateVPA_TargetsCR
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_reconcile_test.go:378
FunctionTestCreateOrUpdateVPA_TargetsCR
(t *testing.T)
internal/controller/operator/factory/vmanomaly/vmanomaly_reconcile_test.go:340
FunctionTestCreateOrUpdate_LBDeploymentWithHPA
(t *testing.T)
internal/controller/operator/factory/vtcluster/vtcluster_reconcile_test.go:300
FunctionTestCreateOrUpdate_LBDeploymentWithHPA
(t *testing.T)
internal/controller/operator/factory/vmcluster/vmcluster_reconcile_test.go:308
FunctionTestCreateOrUpdate_LBDeploymentWithHPA
(t *testing.T)
internal/controller/operator/factory/vlcluster/vlcluster_test.go:895
FunctionTestCreateOrUpdate_Paused
(t *testing.T)
internal/controller/operator/factory/vtcluster/vtcluster_reconcile_test.go:244
FunctionTestCreateOrUpdate_Paused
(t *testing.T)
internal/controller/operator/factory/vmalertmanager/vmalertmanager_reconcile_test.go:206
FunctionTestCreateOrUpdate_Paused
(t *testing.T)
internal/controller/operator/factory/vmalert/vmalert_reconcile_test.go:174
FunctionTestCreateOrUpdate_Paused
(t *testing.T)
internal/controller/operator/factory/vtsingle/vtsingle_reconcile_test.go:154
FunctionTestCreateOrUpdate_Paused
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_reconcile_test.go:761
FunctionTestCreateOrUpdate_Paused
(t *testing.T)
internal/controller/operator/factory/vlagent/vlagent_test.go:1503
FunctionTestCreateOrUpdate_Paused
(t *testing.T)
internal/controller/operator/factory/vmanomaly/vmanomaly_reconcile_test.go:272
FunctionTestCreateOrUpdate_Paused
(t *testing.T)
internal/controller/operator/factory/vmcluster/vmcluster_reconcile_test.go:261
FunctionTestCreateOrUpdate_Paused
(t *testing.T)
internal/controller/operator/factory/vmauth/vmauth_reconcile_test.go:170
FunctionTestCreateOrUpdate_Paused
(t *testing.T)
internal/controller/operator/factory/vtagent/vtagent_test.go:1564
FunctionTestCreateOrUpdate_Paused
(t *testing.T)
internal/controller/operator/factory/vlcluster/vlcluster_test.go:821
FunctionTestCreateOrUpdate_Paused
(t *testing.T)
internal/controller/operator/factory/vmsingle/vmsingle_reconcile_test.go:245
FunctionTestCreateOrUpdate_RecordingRulesOnlyNoNotifier
TestCreateOrUpdate_RecordingRulesOnlyNoNotifier reproduces https://github.com/VictoriaMetrics/operator/issues/2388: a VMAlert selecting only recording
internal/controller/operator/factory/vmalert/rules_test.go:571
FunctionTestCreateOrUpdate_RemovesOrphanedFeatureConfigMaps
(t *testing.T)
internal/controller/operator/factory/vmsingle/vmsingle_reconcile_test.go:291
FunctionTestCreateOrUpdate_StatefulSetWithHPA
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_reconcile_test.go:333
FunctionTestCreateOrUpdate_StatusShards
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_reconcile_test.go:725
FunctionTestCreateOrUpdate_WaitsForConfigReloadEvenWhenSecretUnchanged
TestCreateOrUpdate_WaitsForConfigReloadEvenWhenSecretUnchanged: the reload wait must not be skipped just because the config secret didn't need rewriti
internal/controller/operator/factory/vmauth/vmauth_reconcile_test.go:218
FunctionTestCreateVLAgentClusterAccess
(t *testing.T)
internal/controller/operator/factory/vlagent/rbac_test.go:18
FunctionTestCreateVMAgentRBAC
(t *testing.T)
internal/controller/operator/factory/vmagent/rbac_test.go:20
FunctionTestCreateVMSingleRBAC
(t *testing.T)
internal/controller/operator/factory/vmsingle/rbac_test.go:20
FunctionTestDaemonSetReconcile
(t *testing.T)
internal/controller/operator/factory/reconcile/daemonset_test.go:20
FunctionTestDeleteOrphaned_RemovesClusterWideRBAC
In cluster-wide mode a Role and RoleBinding are still created at cr.Namespace, to keep the secrets access namespace-scoped, see createK8sAPIAccess. Se
internal/controller/operator/factory/vmagent/vmagent_reconcile_test.go:89
FunctionTestDeleteOrphaned_RemovesClusterWideRBAC
In cluster-wide mode a Role and RoleBinding are still created at cr.Namespace, to keep the secrets access namespace-scoped, see createK8sAPIAccess. Se
internal/controller/operator/factory/vmsingle/vmsingle_reconcile_test.go:87
FunctionTestDeleteOrphaned_RemovesCrossNamespaceRBAC
In namespaced mode a Role and RoleBinding are created at every watched namespace, so that service discovery works there, see createK8sAPIAccess. Setti
internal/controller/operator/factory/vmagent/vmagent_reconcile_test.go:61
FunctionTestDeleteOrphaned_RemovesCrossNamespaceRBAC
In namespaced mode a Role and RoleBinding are created at every watched namespace, so that service discovery works there, see createK8sAPIAccess. Setti
internal/controller/operator/factory/vmsingle/vmsingle_reconcile_test.go:59
FunctionTestDeleteOrphaned_UsesReconcilerConfig
(t *testing.T)
internal/controller/operator/factory/vmagent/vmagent_reconcile_test.go:28
FunctionTestDeleteOrphaned_UsesReconcilerConfig
(t *testing.T)
internal/controller/operator/factory/vmsingle/vmsingle_reconcile_test.go:26
FunctionTestDeploy
(t *testing.T)
test/e2e/deploy/suite_test.go:10
FunctionTestDeployReconcile
(t *testing.T)
internal/controller/operator/factory/reconcile/deploy_test.go:24
FunctionTestDeployReconcile_NewObjNotStaleAcrossRetries
(t *testing.T)
internal/controller/operator/factory/reconcile/deploy_test.go:224
FunctionTestDiffDeepOk
(t *testing.T)
internal/controller/operator/factory/reconcile/diff_test.go:10
FunctionTestDirWatcherNoInitialReloadWithoutWatchedDirs
(t *testing.T)
cmd/config-reloader/file_watch_test.go:336
FunctionTestDirWatcherProcessesEventsWhileAnotherPairFails
(t *testing.T)
cmd/config-reloader/file_watch_test.go:268
FunctionTestDirWatcherProcessesRegularFilesWithDoubleDotsInName
(t *testing.T)
cmd/config-reloader/file_watch_test.go:11
FunctionTestDirWatcherReloadsSyncedPairsWhenAnotherFails
(t *testing.T)
cmd/config-reloader/file_watch_test.go:224
FunctionTestDirWatcherRetriesFailedInitialSyncOnNextEvent
(t *testing.T)
cmd/config-reloader/file_watch_test.go:169
FunctionTestDirWatcherSkipsKubernetesHiddenEntries
(t *testing.T)
cmd/config-reloader/file_watch_test.go:47
FunctionTestDirWatcherSyncRemovesDeletedFilesFromTargetDir
(t *testing.T)
cmd/config-reloader/file_watch_test.go:355
FunctionTestDirWatcherTriggersReloadAfterInitialSync
(t *testing.T)
cmd/config-reloader/file_watch_test.go:133
FunctionTestDirWatcherTriggersUpdateWhenFileRemoved
(t *testing.T)
cmd/config-reloader/file_watch_test.go:97
FunctionTestDryRunClient
(t *testing.T)
internal/manager/client_test.go:17
FunctionTestDurationUnmarshalYAML
(t *testing.T)
internal/controller/operator/factory/vmanomaly/config/config_test.go:22
FunctionTestE2E
Run e2e tests using the Ginkgo runner.
test/e2e/e2e_test.go:44
FunctionTestEffectiveDisabledControllerNames
(t *testing.T)
internal/manager/controllers_test.go:34
FunctionTestEmbeddedVPAValidation
(t *testing.T)
api/operator/v1beta1/vmextra_types_test.go:181
FunctionTestEnsureNoVMOwners
(t *testing.T)
api/operator/v1alpha1/vmdistributed_types_test.go:182
FunctionTestFetchChartDefaults
(t *testing.T)
internal/converter/converter_test.go:1724
← previousnext →3,301–3,400 of 4,346, ranked by callers