@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.
@@ -76,7 +76,11 @@ export interface ClusterPreferences extends ClusterPrometheusPreferences {
76
76
  terminalCWD?: string;
77
77
  clusterName?: string;
78
78
  iconOrder?: number;
79
- icon?: string;
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 CustomResourceDefinition {
44
- spec: {
45
- group: string;
46
- /**
47
- * @deprecated for apiextensions.k8s.io/v1 but used previously
48
- */
49
- version?: string;
50
- names: {
51
- plural: string;
52
- singular: string;
53
- kind: string;
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(): string;
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 { exec, execFile } from "child_process";
23
- export declare const promiseExec: typeof exec.__promisify__;
22
+ import { execFile } from "child_process";
24
23
  export declare const promiseExecFile: typeof execFile.__promisify__;