KubeObjectStore & KubeWatchApi fixes and optimizations (#2063)
* Detach NamespaceStore from KubeWatchApi, proper KubeObjectStore.loadAll (rebase of #2033) Signed-off-by:Roman <ixrock@gmail.com> * Watch-api requests optimization (#2066) * subscribe for watching resources in single request when has admin-like access rights Signed-off-by:
Roman <ixrock@gmail.com> * responding to comments Signed-off-by:
Roman <ixrock@gmail.com> * fix unit-tests Signed-off-by:
Roman <ixrock@gmail.com> * fix: reloading stores when preloading enabled and waitUntilLoaded=false Signed-off-by:
Roman <ixrock@gmail.com> * mark Cluster.canUseWatchApi() and Cluster.refreshAccessibility() as private Signed-off-by:
Roman <ixrock@gmail.com> * fix unit test: make public Cluster.canUseWatchApi() Signed-off-by:
Roman <ixrock@gmail.com> * responding to comments in #2066 Signed-off-by:
Roman <ixrock@gmail.com>
Showing
+143 -96
Please register or sign in to comment