1
0
mirror of https://github.com/rancher/steve.git synced 2025-08-01 14:48:30 +00:00
steve/pkg/stores/sqlproxy
Tom Lebreux cf97607be5
Return resourceversion too old error to UI instead of logging (#667)
* Return watch error instead of logging it

The UI needs to know about watch error like `resourceversion too old` so
we need to return it.

* Sort by resourceVersion as number

The UI makes some assumption on resourceVersion. It assumes they are a
number and they are ordered by the number value. We'll want to fix this
at some point most likely but for now let's give something in a way that
UI wants.

* Remove -d suffix

After much testing, a delete of an object seems to have its own
resourceVersion so we don't need the -d suffix, we can simply use the
new resourceVersion.
2025-06-10 17:29:42 -04:00
..
tablelistconvert Migrate the mocking library to uber's (#291) 2024-10-10 10:28:25 -07:00
dynamic_mocks_test.go Migrate the mocking library to uber's (#291) 2024-10-10 10:28:25 -07:00
proxy_mocks_test.go Sort-indirect PR broken into smaller parts: part 3/6 - pass listOptions by reference (#612) 2025-04-25 11:19:34 -07:00
proxy_store_test.go Add vai access-control for ext Tokens and Kubeconfigs (#651) 2025-06-10 14:28:49 -07:00
proxy_store.go Return resourceversion too old error to UI instead of logging (#667) 2025-06-10 17:29:42 -04:00
sql_informer_mocks_test.go Add basic watch functionality for SQL cache (#653) 2025-06-03 18:07:18 -04:00