1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/main
Sebastian Malton 286e6c8de7
Make PrometheusProviderRegistry fully injectable (#6592)
* Stop using source code in build file

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

* Add new injectable version of binaryName

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

* Add new NormalizedPlatform type

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

* Switch legacy execHelm to use legacy global DI for binaryPath

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

* Remove dead code

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

* Introduce injectable for kube auth proxy certs

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

* Introduce injectable forms of PrometheusProviders

- Remove class requirement
- Make everything injectable

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

* Update tests to not use private functions

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

* Cleanup creating binary names and paths

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-25 09:19:57 -05:00
..
__test__ Make PrometheusProviderRegistry fully injectable (#6592) 2022-11-25 09:19:57 -05:00
app-paths Add winston formatting support for error causes (#6576) 2022-11-17 14:56:16 +02:00
build-version Add better type safety around Channels (#6133) 2022-10-13 07:50:19 -04:00
catalog Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
catalog-sources Fix kubeconfig-sync sometimes producing multiple identical entities (#5855) 2022-10-03 10:38:41 -04:00
catalog-sync-to-renderer Refactor runnables (#6528) 2022-11-07 19:04:56 +02:00
child-process Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
cluster Make ClusterFrameManager fully injectable (#6590) 2022-11-22 09:10:22 -05:00
cluster-detectors Fix distribution detector erroneously depending on previous metadata (#6023) 2022-08-12 09:37:00 +03:00
context-handler Make PrometheusProviderRegistry fully injectable (#6592) 2022-11-25 09:19:57 -05:00
create-cluster fix: getAllowedResources for all namespaces using SelfSubjectRulesReview (#6614) 2022-11-22 09:48:59 -08:00
crypto Fix syncing shell env on TCSH and CSH (#6453) 2022-10-24 11:36:12 -04:00
electron-app Make ResourceStack fully injectable (#6591) 2022-11-24 08:46:53 -05:00
extension-loader Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
helm Make PrometheusProviderRegistry fully injectable (#6592) 2022-11-25 09:19:57 -05:00
ipc Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
k8s Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
kube-auth-proxy Make PrometheusProviderRegistry fully injectable (#6592) 2022-11-25 09:19:57 -05:00
kubeconfig-manager Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
kubectl Make PrometheusProviderRegistry fully injectable (#6592) 2022-11-25 09:19:57 -05:00
lens-proxy Remove spdy support (#6580) 2022-11-17 13:02:47 -05:00
logger Add winston formatting support for error causes (#6576) 2022-11-17 14:56:16 +02:00
navigate-to-route Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
navigate-to-url Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
prometheus Make PrometheusProviderRegistry fully injectable (#6592) 2022-11-25 09:19:57 -05:00
protocol-handler Replace jest.mock's with overriding dependencies (#6014) 2022-08-23 13:04:00 +03:00
resource-applier Make ResourceStack fully injectable (#6591) 2022-11-24 08:46:53 -05:00
router Remove global version of appEventBus (#6096) 2022-10-31 14:59:05 +02:00
routes Make PrometheusProviderRegistry fully injectable (#6592) 2022-11-25 09:19:57 -05:00
shell-session Improve UX for shell env sync failure (#6644) 2022-11-25 04:53:09 -08:00
start-main-application Make PrometheusProviderRegistry fully injectable (#6592) 2022-11-25 09:19:57 -05:00
stores Fix kubeconfig-sync sometimes producing multiple identical entities (#5855) 2022-10-03 10:38:41 -04:00
theme Refactor runnables (#6528) 2022-11-07 19:04:56 +02:00
tray Allow computed tray menu for extensions (#6598) 2022-11-17 11:03:25 -05:00
utils Improve UX for shell env sync failure (#6644) 2022-11-25 04:53:09 -08:00
vars Refactor and transform "Application update", "Preferences" and "Application menu" into Features (#6437) 2022-10-26 11:16:23 -04:00
catalog-pusher.ts Fix catalog syncer long delay (#4911) 2022-02-23 06:52:43 +02:00
get-metrics.injectable.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
getDi.ts Remove mac-ca usage since it was only in tests (#6043) (#6321) 2022-11-22 15:23:01 -05:00
getDiForUnitTesting.ts Improve UX for shell env sync failure (#6644) 2022-11-25 04:53:09 -08:00
index.ts Add winston formatting support for error causes (#6576) 2022-11-17 14:56:16 +02:00
k8s-request.injectable.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
logger.ts Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
stop-services-and-exit-app.injectable.ts Remove global version of appEventBus (#6096) 2022-10-31 14:59:05 +02:00
stores-apis-can-be-created.injectable.ts Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00