@k8slens/extensions 5.6.0-git.de43df1cca.0 → 5.6.0-git.de8cc559cd.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/k8s-api/endpoints/ingress.api.d.ts +1 -1
- package/dist/src/common/utils/resolve-system-proxy/resolve-system-proxy-injection-token.d.ts +6 -0
- package/dist/src/extensions/common-api/index.d.ts +2 -1
- package/dist/src/extensions/common-api/proxy.d.ts +10 -0
- package/dist/src/extensions/lens-renderer-extension.d.ts +2 -0
- package/dist/src/extensions/renderer-api/components.d.ts +1 -0
- package/dist/src/renderer/components/+preferences/app-preference-tab/app-preference-tab-registration.d.ts +9 -0
- package/package.json +1 -1
|
@@ -77,7 +77,7 @@ export interface IngressSpec {
|
|
|
77
77
|
}
|
|
78
78
|
export interface IngressStatus {
|
|
79
79
|
loadBalancer: {
|
|
80
|
-
ingress
|
|
80
|
+
ingress?: ILoadBalancerIngress[];
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
export declare class Ingress extends KubeObject<IngressStatus, IngressSpec, KubeObjectScope.Namespace> {
|
|
@@ -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 type ResolveSystemProxy = (url: string) => Promise<string>;
|
|
6
|
+
export declare const resolveSystemProxyInjectionToken: import("@ogre-tools/injectable").InjectionToken<ResolveSystemProxy, void>;
|
|
@@ -8,5 +8,6 @@ import * as Store from "./stores";
|
|
|
8
8
|
import * as Util from "./utils";
|
|
9
9
|
import * as Catalog from "./catalog";
|
|
10
10
|
import * as Types from "./types";
|
|
11
|
+
import * as Proxy from "./proxy";
|
|
11
12
|
import logger from "../../common/logger";
|
|
12
|
-
export { App, EventBus, Catalog, Store, Types, Util, logger, };
|
|
13
|
+
export { App, EventBus, Catalog, Store, Types, Util, logger, Proxy, };
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
* Resolves URL-specific proxy information from system. See more here: https://www.electronjs.org/docs/latest/api/session#sesresolveproxyurl
|
|
7
|
+
* @param url - The URL for proxy information
|
|
8
|
+
* @returns Promise for proxy information as string
|
|
9
|
+
*/
|
|
10
|
+
export declare const resolveSystemProxy: import("../../common/utils/resolve-system-proxy/resolve-system-proxy-injection-token").ResolveSystemProxy;
|
|
@@ -22,12 +22,14 @@ import type { WorkloadsOverviewDetailRegistration } from "../renderer/components
|
|
|
22
22
|
import type { KubeObjectStatusRegistration } from "../renderer/components/kube-object-status-icon/kube-object-status-registration";
|
|
23
23
|
import type { LensRendererExtensionDependencies } from "./lens-extension-set-dependencies";
|
|
24
24
|
import type { KubeObjectHandlerRegistration } from "../renderer/kube-object/handler";
|
|
25
|
+
import type { AppPreferenceTabRegistration } from "../renderer/components/+preferences/app-preference-tab/app-preference-tab-registration";
|
|
25
26
|
export declare class LensRendererExtension extends LensExtension<LensRendererExtensionDependencies> {
|
|
26
27
|
globalPages: registries.PageRegistration[];
|
|
27
28
|
clusterPages: registries.PageRegistration[];
|
|
28
29
|
clusterPageMenus: registries.ClusterPageMenuRegistration[];
|
|
29
30
|
kubeObjectStatusTexts: KubeObjectStatusRegistration[];
|
|
30
31
|
appPreferences: AppPreferenceRegistration[];
|
|
32
|
+
appPreferenceTabs: AppPreferenceTabRegistration[];
|
|
31
33
|
entitySettings: registries.EntitySettingRegistration[];
|
|
32
34
|
statusBarItems: StatusBarRegistration[];
|
|
33
35
|
kubeObjectDetailItems: registries.KubeObjectDetailRegistration[];
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@k8slens/extensions",
|
|
3
3
|
"productName": "OpenLens extensions",
|
|
4
4
|
"description": "OpenLens - Open Source Kubernetes IDE: extensions",
|
|
5
|
-
"version": "5.6.0-git.
|
|
5
|
+
"version": "5.6.0-git.de8cc559cd.0",
|
|
6
6
|
"copyright": "© 2022 OpenLens Authors",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "dist/src/extensions/extension-api.js",
|