MCPcopy Create free account

hub / github.com/VictoriaMetrics/operator / functions

Functions4,581 in github.com/VictoriaMetrics/operator

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:27
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:1693
FunctionTestCreateOrUpdateService
(t *testing.T)
internal/controller/operator/factory/vmsingle/vmsingle_test.go:537
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:1603
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:1644
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
FunctionTestDisownObjects
(t *testing.T)
internal/controller/operator/factory/finalize/common_test.go:556
FunctionTestDryRun
(t *testing.T)
test/e2e/dryrun/suite_test.go:17
FunctionTestDryRunClient
(t *testing.T)
internal/manager/client_test.go:30
FunctionTestDryRunClientRecreate
(t *testing.T)
internal/manager/client_test.go:111
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:182
FunctionTestEnsureNoVMOwners
(t *testing.T)
api/operator/v1alpha1/vmdistributed_types_test.go:182
FunctionTestEnterpriseFeaturesWithAcceptEULA
(t *testing.T)
api/operator/v1beta1/vmextra_types_test.go:426
FunctionTestEnvelopeVersionRoundTrip
(t *testing.T)
internal/controller/operator/factory/vmanomaly/config/models_test.go:175
FunctionTestEnvelopeVersionValidation
(t *testing.T)
internal/controller/operator/factory/vmanomaly/config/models_test.go:194
FunctionTestFetchChartDefaults
(t *testing.T)
internal/converter/converter_test.go:1832
FunctionTestFetchChartDefaultsValuesNotFound
(t *testing.T)
internal/converter/converter_test.go:1868
FunctionTestFetchLatestChartVersion
(t *testing.T)
internal/converter/converter_test.go:1787
FunctionTestFetchLatestChartVersionHTTPError
(t *testing.T)
internal/converter/converter_test.go:1818
FunctionTestFetchMetricsValues
(t *testing.T)
internal/podutil/prometheus_test.go:16
FunctionTestFetchMetricsValuesLargeResponse
(t *testing.T)
internal/podutil/prometheus_test.go:74
FunctionTestFetchMetricsValuesLineTooLong
(t *testing.T)
internal/podutil/prometheus_test.go:94
FunctionTestFinalizerPatchConflicts
(t *testing.T)
internal/controller/operator/factory/finalize/common_test.go:145
FunctionTestGenerateScrapeConfig
(t *testing.T)
internal/controller/operator/factory/vmscrapes/scrapeconfig_test.go:18
FunctionTestGetMetricsAddrs
(t *testing.T)
internal/podutil/util_test.go:17
FunctionTestGetMetricsAddrs_IPv6
TestGetMetricsAddrs_IPv6 guards the AddressTypeIPv6 bracketing: an unbracketed IPv6 host in a URL is ambiguous with the port separator.
internal/podutil/util_test.go:60
FunctionTestGetVersion
(t *testing.T)
internal/config/config_test.go:10
FunctionTestGetZones
(t *testing.T)
internal/controller/operator/factory/vmdistributed/zone_test.go:27
← previousnext →3,501–3,600 of 4,581, ranked by callers