@k8slens/extensions 5.5.0 → 5.5.3-beta.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/catalog-entities/kubernetes-cluster.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/pods.api.d.ts +49 -40
- package/dist/src/common/k8s-api/kube-json-api.d.ts +1 -0
- package/dist/src/extensions/extension-api.js +105 -104
- package/dist/src/{common/register-protocol.d.ts → jest-after-env.setup.d.ts} +1 -1
- package/dist/src/renderer/components/+workloads-pods/details/volumes/variants/__tests__/ceph-fs.test.d.ts +5 -0
- package/dist/src/renderer/components/+workloads-pods/details/volumes/variants/projected.test.d.ts +5 -0
- package/dist/src/renderer/components/icon/icon.d.ts +22 -1
- package/dist/src/renderer/components/monaco-editor/monaco-editor.d.ts +1 -0
- package/dist/src/renderer/components/switch/switcher.d.ts +1 -1
- package/dist/src/renderer/utils/display-mode.d.ts +8 -0
- package/dist/src/renderer/utils/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -236,8 +236,10 @@ export interface CephfsSource {
|
|
|
236
236
|
secretRef?: SecretReference;
|
|
237
237
|
/**
|
|
238
238
|
* Whether the filesystem is used as readOnly.
|
|
239
|
+
*
|
|
240
|
+
* @default false
|
|
239
241
|
*/
|
|
240
|
-
readOnly
|
|
242
|
+
readOnly?: boolean;
|
|
241
243
|
}
|
|
242
244
|
export interface CinderSource {
|
|
243
245
|
volumeID: string;
|
|
@@ -368,46 +370,53 @@ export interface PortworxVolumeSource {
|
|
|
368
370
|
fsType?: string;
|
|
369
371
|
readOnly?: boolean;
|
|
370
372
|
}
|
|
373
|
+
export interface KeyToPath {
|
|
374
|
+
key: string;
|
|
375
|
+
path: string;
|
|
376
|
+
mode?: number;
|
|
377
|
+
}
|
|
378
|
+
export interface ConfigMapProjection {
|
|
379
|
+
name: string;
|
|
380
|
+
items?: KeyToPath[];
|
|
381
|
+
optional?: boolean;
|
|
382
|
+
}
|
|
383
|
+
export interface ObjectFieldSelector {
|
|
384
|
+
fieldPath: string;
|
|
385
|
+
apiVersion?: string;
|
|
386
|
+
}
|
|
387
|
+
export interface ResourceFieldSelector {
|
|
388
|
+
resource: string;
|
|
389
|
+
containerName?: string;
|
|
390
|
+
divisor?: string;
|
|
391
|
+
}
|
|
392
|
+
export interface DownwardAPIVolumeFile {
|
|
393
|
+
path: string;
|
|
394
|
+
fieldRef?: ObjectFieldSelector;
|
|
395
|
+
resourceFieldRef?: ResourceFieldSelector;
|
|
396
|
+
mode?: number;
|
|
397
|
+
}
|
|
398
|
+
export interface DownwardAPIProjection {
|
|
399
|
+
items?: DownwardAPIVolumeFile[];
|
|
400
|
+
}
|
|
401
|
+
export interface SecretProjection {
|
|
402
|
+
name: string;
|
|
403
|
+
items?: KeyToPath[];
|
|
404
|
+
optional?: boolean;
|
|
405
|
+
}
|
|
406
|
+
export interface ServiceAccountTokenProjection {
|
|
407
|
+
audience?: string;
|
|
408
|
+
expirationSeconds?: number;
|
|
409
|
+
path: string;
|
|
410
|
+
}
|
|
411
|
+
export interface VolumeProjection {
|
|
412
|
+
secret?: SecretProjection;
|
|
413
|
+
downwardAPI?: DownwardAPIProjection;
|
|
414
|
+
configMap?: ConfigMapProjection;
|
|
415
|
+
serviceAccountToken?: ServiceAccountTokenProjection;
|
|
416
|
+
}
|
|
371
417
|
export interface ProjectedSource {
|
|
372
|
-
sources
|
|
373
|
-
|
|
374
|
-
name: string;
|
|
375
|
-
items?: {
|
|
376
|
-
key: string;
|
|
377
|
-
path: string;
|
|
378
|
-
mode?: number;
|
|
379
|
-
}[];
|
|
380
|
-
};
|
|
381
|
-
downwardAPI?: {
|
|
382
|
-
items?: {
|
|
383
|
-
path: string;
|
|
384
|
-
fieldRef?: {
|
|
385
|
-
fieldPath: string;
|
|
386
|
-
apiVersion?: string;
|
|
387
|
-
};
|
|
388
|
-
resourceFieldRef?: {
|
|
389
|
-
resource: string;
|
|
390
|
-
containerName?: string;
|
|
391
|
-
};
|
|
392
|
-
mode?: number;
|
|
393
|
-
}[];
|
|
394
|
-
};
|
|
395
|
-
configMap?: {
|
|
396
|
-
name: string;
|
|
397
|
-
items?: {
|
|
398
|
-
key: string;
|
|
399
|
-
path: string;
|
|
400
|
-
mode?: number;
|
|
401
|
-
}[];
|
|
402
|
-
optional?: boolean;
|
|
403
|
-
};
|
|
404
|
-
serviceAccountToken?: {
|
|
405
|
-
audience?: string;
|
|
406
|
-
expirationSeconds?: number;
|
|
407
|
-
path: string;
|
|
408
|
-
};
|
|
409
|
-
}[];
|
|
410
|
-
defaultMode: number;
|
|
418
|
+
sources?: VolumeProjection[];
|
|
419
|
+
defaultMode?: number;
|
|
411
420
|
}
|
|
412
421
|
export interface QuobyteSource {
|
|
413
422
|
registry: string;
|