1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/common
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
..
__tests__ Remove mac-ca usage since it was only in tests (#6043) (#6321) 2022-11-22 15:23:01 -05:00
app-event-bus Remove global version of appEventBus (#6096) 2022-10-31 14:59:05 +02:00
app-paths Add winston formatting support for error causes (#6576) 2022-11-17 14:56:16 +02:00
catalog Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
catalog-entities Refactor and transform "Application update", "Preferences" and "Application menu" into Features (#6437) 2022-10-26 11:16:23 -04:00
certificate-authorities Handle globalAgent having a single non-array CA (#6628) 2022-11-24 11:28:33 -08:00
cluster fix: getAllowedResources for all namespaces using SelfSubjectRulesReview (#6614) 2022-11-22 09:48:59 -08:00
cluster-store Remove global version of appEventBus (#6096) 2022-10-31 14:59:05 +02:00
directory-for-lens-local-storage Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
error-reporting Fix crash on clean startup (#6276) 2022-09-20 08:19:09 +02:00
fetch Upgrade to latest node-fetch (#6046) 2022-11-14 10:46:53 -05:00
front-end-routing Refactor and transform "Application update", "Preferences" and "Application menu" into Features (#6437) 2022-10-26 11:16:23 -04:00
fs Remove mac-ca usage since it was only in tests (#6043) (#6321) 2022-11-22 15:23:01 -05:00
get-configuration-file-model Bump typescript, @typescript-eslint/eslint-plugin, and @typescript-eslint/parser (#6143) 2022-09-01 10:05:32 -04:00
helm Remove global version of appEventBus (#6096) 2022-10-31 14:59:05 +02:00
hotbars Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
initializable-state Clean up versioning and packageJson uses (#6196) 2022-09-15 17:20:58 -04:00
ipc Make ResourceStack fully injectable (#6591) 2022-11-24 08:46:53 -05:00
k8s Make ResourceStack fully injectable (#6591) 2022-11-24 08:46:53 -05:00
k8s-api Fix KubeApi watch retry on timeout (#6640) 2022-11-24 08:44:35 -05:00
kube-helpers Make ResourceStack fully injectable (#6591) 2022-11-24 08:46:53 -05:00
logger Add winston formatting support for error causes (#6576) 2022-11-17 14:56:16 +02:00
os Fix not using the users configured shell for sync (#6589) 2022-11-17 10:15:56 -05:00
path Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
protocol-handler Bump typescript, @typescript-eslint/eslint-plugin, and @typescript-eslint/parser (#6143) 2022-09-01 10:05:32 -04:00
root-frame Add better type safety around Channels (#6133) 2022-10-13 07:50:19 -04:00
runnable Refactor runnables (#6528) 2022-11-07 19:04:56 +02:00
terminal Remove all manual uses of v8 serialization (#5548) 2022-06-06 07:34:03 -04:00
test-utils Refactor and transform "Application update", "Preferences" and "Application menu" into Features (#6437) 2022-10-26 11:16:23 -04:00
user-store Fix not using the users configured shell for sync (#6589) 2022-11-17 10:15:56 -05:00
utils Make PrometheusProviderRegistry fully injectable (#6592) 2022-11-25 09:19:57 -05:00
vars Make PrometheusProviderRegistry fully injectable (#6592) 2022-11-25 09:19:57 -05:00
.gitkeep Lens app source code (#119) 2020-03-15 09:52:02 +02:00
base-store.ts Clean up versioning and packageJson uses (#6196) 2022-09-15 17:20:58 -04:00
cluster-frames.injectable.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
cluster-frames.ts Enforce member-delimiter-style using eslint (#4870) 2022-02-16 14:43:03 -05:00
cluster-types.ts fix: getAllowedResources for all namespaces using SelfSubjectRulesReview (#6614) 2022-11-22 09:48:59 -08:00
configure-packages.ts Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
event-emitter.ts Remove global version of appEventBus (#6096) 2022-10-31 14:59:05 +02:00
item.store.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
kube-helpers.ts Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
log-error.global-override-for-injectable.ts Refactor and transform "Application update", "Preferences" and "Application menu" into Features (#6437) 2022-10-26 11:16:23 -04:00
log-error.injectable.ts Helper to resolve proxy from URL in any environment, or using extension-API (#5690) 2022-06-22 16:09:24 +03:00
logger.injectable.ts Add winston formatting support for error causes (#6576) 2022-11-17 14:56:16 +02:00
logger.ts Add winston formatting support for error causes (#6576) 2022-11-17 14:56:16 +02:00
rbac.ts Leases view (#6378) 2022-10-11 10:40:23 -04:00
request.ts Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
vars.ts Make PrometheusProviderRegistry fully injectable (#6592) 2022-11-25 09:19:57 -05:00
weblink-store.injectable.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
weblink-store.ts Fix slackLink in catalog becoming out of date (#5108) 2022-04-08 11:12:06 -04:00