@k8slens/extensions 5.4.1-git.8dbc0b82f8.0 → 5.4.1-git.a19f094a0d.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/common/ipc/native-theme.d.ts +6 -0
- package/dist/src/common/utils/lazy-initialized.d.ts +17 -0
- package/dist/src/common/vars.d.ts +11 -0
- package/dist/src/extensions/extension-api.js +30 -131
- package/dist/src/extensions/lens-renderer-extension.d.ts +2 -1
- package/dist/src/extensions/registries/index.d.ts +0 -1
- package/dist/src/main/helm/exec.d.ts +12 -0
- package/dist/src/main/kube-auth-proxy/kube-auth-proxy.d.ts +2 -3
- package/dist/src/main/kubectl/kubectl.d.ts +0 -1
- package/dist/src/main/lens-proxy.d.ts +4 -4
- package/dist/src/{renderer/initializers/workloads-overview-detail-registry.d.ts → main/native-theme.d.ts} +2 -1
- package/dist/src/main/router.d.ts +3 -0
- package/dist/src/renderer/components/+workloads-overview/detail-components.injectable.d.ts +4 -0
- package/dist/src/renderer/components/+workloads-overview/workloads-overview-detail-registration.d.ts +13 -0
- package/dist/src/renderer/components/select/select.test.d.ts +1 -0
- package/dist/src/renderer/components/switch/switcher.d.ts +1 -1
- package/dist/src/renderer/initializers/index.d.ts +0 -1
- package/dist/src/renderer/theme.store.d.ts +5 -0
- package/package.json +1 -1
- package/dist/src/extensions/registries/workloads-overview-detail-registry.d.ts +0 -19
- package/dist/src/main/helm/helm-cli.d.ts +0 -13
- package/dist/src/main/lens-binary.d.ts +0 -42
- package/dist/webpack.dev-server.d.ts +0 -14
- package/dist/webpack.renderer.d.ts +0 -25
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
3
|
+
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
|
+
*/
|
|
5
|
+
export declare const setNativeThemeChannel = "theme:set-native-theme";
|
|
6
|
+
export declare const getNativeThemeChannel = "theme:get-native-theme";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
3
|
+
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* A OnceCell is an object that wraps some function that produces a value.
|
|
7
|
+
*
|
|
8
|
+
* It then only calls the function on the first call to `get()` and returns the
|
|
9
|
+
* same instance/value on every subsequent call.
|
|
10
|
+
*/
|
|
11
|
+
export interface LazyInitialized<T> {
|
|
12
|
+
get(): T;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A function to make a `OnceCell<T>`
|
|
16
|
+
*/
|
|
17
|
+
export declare function lazyInitialized<T>(builder: () => T): LazyInitialized<T>;
|
|
@@ -21,6 +21,17 @@ export declare const defaultTheme: string;
|
|
|
21
21
|
export declare const defaultFontSize = 12;
|
|
22
22
|
export declare const defaultTerminalFontFamily = "RobotoMono";
|
|
23
23
|
export declare const defaultEditorFontFamily = "RobotoMono";
|
|
24
|
+
export declare const normalizedPlatform: string;
|
|
25
|
+
export declare const normalizedArch: string;
|
|
26
|
+
export declare function getBinaryName(name: string, { forPlatform }?: {
|
|
27
|
+
forPlatform?: string;
|
|
28
|
+
}): string;
|
|
29
|
+
export declare const baseBinariesDir: import("./utils/lazy-initialized").LazyInitialized<string>;
|
|
30
|
+
export declare const kubeAuthProxyBinaryName: string;
|
|
31
|
+
export declare const helmBinaryName: string;
|
|
32
|
+
export declare const helmBinaryPath: import("./utils/lazy-initialized").LazyInitialized<string>;
|
|
33
|
+
export declare const kubectlBinaryName: string;
|
|
34
|
+
export declare const kubectlBinaryPath: import("./utils/lazy-initialized").LazyInitialized<string>;
|
|
24
35
|
export declare const contextDir: string;
|
|
25
36
|
export declare const buildDir: string;
|
|
26
37
|
export declare const preloadEntrypoint: string;
|