@daocloud-proto/kpanda 0.19.0-dev-59362cc7 → 0.19.0-dev-6b4ad56f

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.
@@ -7,6 +7,13 @@
7
7
  import * as KpandaIoApiTypesObjectmeta from "../../types/objectmeta.pb"
8
8
  import * as KpandaIoApiTypesPage from "../../types/page.pb"
9
9
 
10
+ export enum DeletionPropagation {
11
+ DELETION_PROPAGATION_UNSPECIFIED = "DELETION_PROPAGATION_UNSPECIFIED",
12
+ DELETION_PROPAGATION_ORPHAN = "DELETION_PROPAGATION_ORPHAN",
13
+ DELETION_PROPAGATION_BACKGROUND = "DELETION_PROPAGATION_BACKGROUND",
14
+ DELETION_PROPAGATION_FOREGROUND = "DELETION_PROPAGATION_FOREGROUND",
15
+ }
16
+
10
17
  export enum CustomResourceDefinitionSpecResourceScope {
11
18
  RESOURCE_SCOPE_UNSPECIFIED = "RESOURCE_SCOPE_UNSPECIFIED",
12
19
  NAMESPACED = "NAMESPACED",
@@ -201,6 +208,7 @@ export type DeleteClusterCustomResourceRequest = {
201
208
  version?: string
202
209
  resource?: string
203
210
  name?: string
211
+ deletionPropagation?: DeletionPropagation
204
212
  }
205
213
 
206
214
  export type ListCustomResourcesRequest = {
@@ -295,6 +303,7 @@ export type DeleteCustomResourceRequest = {
295
303
  namespace?: string
296
304
  resource?: string
297
305
  name?: string
306
+ deletionPropagation?: DeletionPropagation
298
307
  }
299
308
 
300
309
  export type CreateResourceRequest = {
@@ -22,13 +22,17 @@ export type CloudShell = {
22
22
  }
23
23
 
24
24
  export type CloudShellSpec = {
25
- configMapName?: string
25
+ secretRef?: LocalSecretReference
26
26
  once?: boolean
27
27
  commandAction?: string
28
28
  ttl?: number
29
29
  cleanup?: boolean
30
30
  }
31
31
 
32
+ export type LocalSecretReference = {
33
+ name?: string
34
+ }
35
+
32
36
  export type CloudShellStatus = {
33
37
  phase?: string
34
38
  accessUrl?: string
@@ -36,7 +36,7 @@ export type PersistentVolumeClaimSpec = {
36
36
  storageClassName?: string
37
37
  volumeMode?: PersistentVolumeClaimSpecVolumeMode
38
38
  dataSource?: TypedLocalObjectReference
39
- dataSourceRef?: TypedLocalObjectReference
39
+ dataSourceRef?: TypedObjectReference
40
40
  supportExpansion?: boolean
41
41
  supportSnapshot?: boolean
42
42
  }
@@ -65,6 +65,13 @@ export type TypedLocalObjectReference = {
65
65
  name?: string
66
66
  }
67
67
 
68
+ export type TypedObjectReference = {
69
+ apiGroup?: string
70
+ kind?: string
71
+ name?: string
72
+ namespace?: string
73
+ }
74
+
68
75
  export type ListPersistentVolumeClaimsRequest = {
69
76
  cluster?: string
70
77
  namespace?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"v0.19.0-dev-59362cc7",
3
+ "version":"v0.19.0-dev-6b4ad56f",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {