1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/packages/core/src/common/cluster
Sebastian Malton fe2fd4c1fd
Move Cluster.apiUrl to seperate injectable (#7354)
* Refactor out Cluster.apiUrl to direct reading

- Should help prevent using stale data

- Removes some uses of synchronous FS operations

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix type errors

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Rename helper function to better communicate intent

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Improve prometheus handler tests to override less things

Signed-off-by: Sebastian Malton <sebastian@malton.name>

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-03-31 15:28:14 -04:00
..
cluster.ts Move Cluster.apiUrl to seperate injectable (#7354) 2023-03-31 15:28:14 -04:00
create-authorization-api.injectable.ts Add behavioural tests for Cluster Menu K8s Resources in Sidebar menu not being shown (#7280) 2023-03-21 22:00:12 -04:00
create-can-i.injectable.ts Add behavioural tests for Cluster Menu K8s Resources in Sidebar menu not being shown (#7280) 2023-03-21 22:00:12 -04:00
create-core-api.injectable.ts Add behavioural tests for Cluster Menu K8s Resources in Sidebar menu not being shown (#7280) 2023-03-21 22:00:12 -04:00
create-request-namespace-list-permissions.injectable.ts Add behavioural tests for Cluster Menu K8s Resources in Sidebar menu not being shown (#7280) 2023-03-21 22:00:12 -04:00
current-cluster-channel.ts Switch to using messaging and startable stoppable from NPM package (#7368) 2023-03-21 11:38:43 +02:00
list-namespaces.injectable.ts Add behavioural tests for Cluster Menu K8s Resources in Sidebar menu not being shown (#7280) 2023-03-21 22:00:12 -04:00
load-kubeconfig.injectable.ts Cleanup 'Cluster' to remove environment specific details (#6951) 2023-03-10 09:37:39 +02:00
request-namespace-list-permissions.test.ts Add behavioural tests for Cluster Menu K8s Resources in Sidebar menu not being shown (#7280) 2023-03-21 22:00:12 -04:00
visibility-channel.ts Switch to using messaging and startable stoppable from NPM package (#7368) 2023-03-21 11:38:43 +02:00