1
0
mirror of https://github.com/rancher/steve.git synced 2025-08-24 00:49:22 +00:00
steve/pkg/stores/proxy
Colleen Murphy ada5b33d98 Return websocket error and add logging for watches
Add debug logs and send websocket messages when the watch is closed
unexpectedly.

In addition to being helpful for debugging, the dashboard specifically
looks for a `resource.error` event containing the string "too old" in
order to trigger the watch to be resynced with a refreshed revision
number.  Without this error returned, the dashboard will only see
`resource.stop` events and never change its behavior, continuing to try
to restart the watch with an incorrect resource version.
2022-06-13 15:54:40 -07:00
..
error_wrapper.go Shuffle around code and use rancher/apiserver 2020-06-11 21:51:19 -07:00
proxy_store.go Return websocket error and add logging for watches 2022-06-13 15:54:40 -07:00
rbac_store.go Support watching names and selector 2020-06-22 09:42:18 -07:00
watch_refresh.go Cleanup schema change reporting 2021-08-09 16:47:09 -07:00