1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/packages/core/src
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
..
common Move Cluster.apiUrl to seperate injectable (#7354) 2023-03-31 15:28:14 -04:00
extensions Remove BaseStore<T> and replace with composition of dependencies (#7002) 2023-03-28 17:54:25 +03:00
features Move Cluster.apiUrl to seperate injectable (#7354) 2023-03-31 15:28:14 -04:00
main Move Cluster.apiUrl to seperate injectable (#7354) 2023-03-31 15:28:14 -04:00
renderer Move Cluster.apiUrl to seperate injectable (#7354) 2023-03-31 15:28:14 -04:00
test-utils Remove BaseStore<T> and replace with composition of dependencies (#7002) 2023-03-28 17:54:25 +03:00
jest-28-resolver.js Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
jest-after-env.setup.ts Switch to using messaging and startable stoppable from NPM package (#7368) 2023-03-21 11:38:43 +02:00
jest.setup.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
jest.timezone.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00