1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer/components/+namespaces
Jari Kolehmainen 035dd470ef
Refactor watches to use native k8s api (#2095)
* fix lint

Signed-off-by: Roman <ixrock@gmail.com>

* fixes & refactoring

Signed-off-by: Roman <ixrock@gmail.com>

* fix lint, micro-refactoring

Signed-off-by: Roman <ixrock@gmail.com>

* more refactoring, clean up, responding to comments

Signed-off-by: Roman <ixrock@gmail.com>

* fix: remove extra check for cluster.allowedApi from processing buffered watch-api events

Signed-off-by: Roman <ixrock@gmail.com>

* refactoring, detaching NamespaceStore from KubeObjectStore

Signed-off-by: Roman <ixrock@gmail.com>

* fix: wait for contextReady in NamespaceStore

Signed-off-by: Roman <ixrock@gmail.com>

* refactoring & fixes

Signed-off-by: Roman <ixrock@gmail.com>

* fix lint

Signed-off-by: Roman <ixrock@gmail.com>

* fixes: reloading context stores on NamespaceSelect-change

Signed-off-by: Roman <ixrock@gmail.com>

* optimize loading all resources when "all namespaces" selected -> single request per resource (when have rights)

Signed-off-by: Roman <ixrock@gmail.com>

* use native k8s api watches

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* retry watch when it makes sense

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* workaround for browser connection limits

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* cleanup

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* cleanup

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* use always random subdomain for getResponse

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* resubscribe stores on contextNamespace change

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* modify watch event before calling callback

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Co-authored-by: Roman <ixrock@gmail.com>
2021-02-09 15:31:15 +02:00
..
add-namespace-dialog.scss Lens restructure (#540) 2020-06-30 14:35:16 +03:00
add-namespace-dialog.tsx Remove lingui (#1874) 2020-12-29 14:53:34 +02:00
index.ts Enforce semicolons in eslint 2020-11-19 16:35:04 +02:00
namespace-details.scss Lens restructure (#540) 2020-06-30 14:35:16 +03:00
namespace-details.tsx Refactor watches to use native k8s api (#2095) 2021-02-09 15:31:15 +02:00
namespace-select.scss Lens restructure (#540) 2020-06-30 14:35:16 +03:00
namespace-select.tsx Refactor watches to use native k8s api (#2095) 2021-02-09 15:31:15 +02:00
namespace.store.ts Refactor watches to use native k8s api (#2095) 2021-02-09 15:31:15 +02:00
namespaces-mixins.scss Lens restructure (#540) 2020-06-30 14:35:16 +03:00
namespaces.route.ts Enforce semicolons in eslint 2020-11-19 16:35:04 +02:00
namespaces.scss Implement KubeObjectStatusText extension API (#1188) 2020-11-11 08:57:15 +02:00
namespaces.tsx Enabling configurable columns for all major tables (#2029) 2021-01-28 12:18:45 +03:00