1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/packages/core/src/main/shell-session
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
..
local-shell-session Move Cluster.apiUrl to seperate injectable (#7354) 2023-03-31 15:28:14 -04:00
node-shell-session Close Lens Proxy on quit of backend (#7453) 2023-03-31 14:21:31 -04:00
shell-env-modifier Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
create-shell-session.injectable.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
index.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
processes.injectable.ts Close Lens Proxy on quit of backend (#7453) 2023-03-31 14:21:31 -04:00
shell-envs.injectable.ts Close Lens Proxy on quit of backend (#7453) 2023-03-31 14:21:31 -04:00
shell-session.ts Close Lens Proxy on quit of backend (#7453) 2023-03-31 14:21:31 -04:00
spawn-pty.global-override-for-injectable.ts Convert runMany and runManySync to use injectManyWithMeta + move to seperate package (#7244) 2023-03-10 10:07:28 +02:00
spawn-pty.injectable.ts Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00