@k8slens/extensions 5.3.3 → 5.3.4
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/cluster-types.d.ts +5 -1
- package/dist/src/common/k8s-api/endpoints/crd.api.d.ts +29 -28
- package/dist/src/common/utils/promise-exec.d.ts +1 -2
- package/dist/src/extensions/extension-api.js +48 -24
- package/dist/src/extensions/extension-compatibility.d.ts +3 -1
- package/dist/src/main/cluster-manager.d.ts +1 -1
- package/dist/src/main/helm/helm-release-manager.d.ts +9 -10
- package/dist/src/main/helm/helm-repo-manager.d.ts +2 -2
- package/dist/src/main/helm/helm-service.d.ts +2 -2
- package/dist/src/main/lens-proxy.d.ts +8 -1
- package/dist/src/renderer/components/+network-policies/network-policy-details.d.ts +5 -2
- package/dist/src/renderer/components/kubeconfig-dialog/kubeconfig-dialog.d.ts +0 -1
- package/dist/src/renderer/components/{clipboard/index.d.ts → layout/close-button.d.ts} +6 -1
- package/dist/src/renderer/components/switch/switcher.d.ts +1 -1
- package/dist/src/renderer/utils/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/src/renderer/components/clipboard/clipboard.d.ts +0 -37
- package/dist/src/renderer/utils/copyToClipboard.d.ts +0 -27
|
@@ -76,7 +76,11 @@ export interface ClusterPreferences extends ClusterPrometheusPreferences {
|
|
|
76
76
|
terminalCWD?: string;
|
|
77
77
|
clusterName?: string;
|
|
78
78
|
iconOrder?: number;
|
|
79
|
-
|
|
79
|
+
/**
|
|
80
|
+
* The <img> src for the cluster. If set to `null` that means that it was
|
|
81
|
+
* cleared by preferences.
|
|
82
|
+
*/
|
|
83
|
+
icon?: string | null;
|
|
80
84
|
httpsProxy?: string;
|
|
81
85
|
hiddenMetrics?: string[];
|
|
82
86
|
nodeShellImage?: string;
|
|
@@ -40,34 +40,35 @@ export interface CRDVersion {
|
|
|
40
40
|
schema?: object;
|
|
41
41
|
additionalPrinterColumns?: AdditionalPrinterColumnsV1[];
|
|
42
42
|
}
|
|
43
|
-
export interface
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
listKind: string;
|
|
55
|
-
};
|
|
56
|
-
scope: "Namespaced" | "Cluster" | string;
|
|
57
|
-
/**
|
|
58
|
-
* @deprecated for apiextensions.k8s.io/v1 but used previously
|
|
59
|
-
*/
|
|
60
|
-
validation?: object;
|
|
61
|
-
versions?: CRDVersion[];
|
|
62
|
-
conversion: {
|
|
63
|
-
strategy?: string;
|
|
64
|
-
webhook?: any;
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* @deprecated for apiextensions.k8s.io/v1 but used previously
|
|
68
|
-
*/
|
|
69
|
-
additionalPrinterColumns?: AdditionalPrinterColumnsV1Beta[];
|
|
43
|
+
export interface CustomResourceDefinitionSpec {
|
|
44
|
+
group: string;
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated for apiextensions.k8s.io/v1 but used in v1beta1
|
|
47
|
+
*/
|
|
48
|
+
version?: string;
|
|
49
|
+
names: {
|
|
50
|
+
plural: string;
|
|
51
|
+
singular: string;
|
|
52
|
+
kind: string;
|
|
53
|
+
listKind: string;
|
|
70
54
|
};
|
|
55
|
+
scope: "Namespaced" | "Cluster";
|
|
56
|
+
/**
|
|
57
|
+
* @deprecated for apiextensions.k8s.io/v1 but used in v1beta1
|
|
58
|
+
*/
|
|
59
|
+
validation?: object;
|
|
60
|
+
versions?: CRDVersion[];
|
|
61
|
+
conversion: {
|
|
62
|
+
strategy?: string;
|
|
63
|
+
webhook?: any;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated for apiextensions.k8s.io/v1 but used in v1beta1
|
|
67
|
+
*/
|
|
68
|
+
additionalPrinterColumns?: AdditionalPrinterColumnsV1Beta[];
|
|
69
|
+
}
|
|
70
|
+
export interface CustomResourceDefinition {
|
|
71
|
+
spec: CustomResourceDefinitionSpec;
|
|
71
72
|
status: {
|
|
72
73
|
conditions: {
|
|
73
74
|
lastTransitionTime: string;
|
|
@@ -100,7 +101,7 @@ export declare class CustomResourceDefinition extends KubeObject {
|
|
|
100
101
|
getResourceKind(): string;
|
|
101
102
|
getResourceTitle(): string;
|
|
102
103
|
getGroup(): string;
|
|
103
|
-
getScope():
|
|
104
|
+
getScope(): "Cluster" | "Namespaced";
|
|
104
105
|
getPreferedVersion(): CRDVersion;
|
|
105
106
|
getVersion(): string;
|
|
106
107
|
isNamespaced(): boolean;
|
|
@@ -19,6 +19,5 @@
|
|
|
19
19
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
20
|
*/
|
|
21
21
|
/// <reference types="node" />
|
|
22
|
-
import {
|
|
23
|
-
export declare const promiseExec: typeof exec.__promisify__;
|
|
22
|
+
import { execFile } from "child_process";
|
|
24
23
|
export declare const promiseExecFile: typeof execFile.__promisify__;
|