mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
* Introduce dummy package for application Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Introduce application information token in application Feature Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Switch to using applicationInformationToken from application feature Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> --------- Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
14 lines
499 B
TypeScript
14 lines
499 B
TypeScript
/**
|
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
*/
|
|
import { applicationInformationToken } from "@k8slens/application";
|
|
import { getInjectable } from "@ogre-tools/injectable";
|
|
|
|
const bundledKubectlVersionInjectable = getInjectable({
|
|
id: "bundled-kubectl-version",
|
|
instantiate: (di) => di.inject(applicationInformationToken).bundledKubectlVersion,
|
|
});
|
|
|
|
export default bundledKubectlVersionInjectable;
|