@daocloud-proto/kairship 0.1.0 → 0.1.1-2

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.
@@ -13,6 +13,14 @@ export enum ServiceType {
13
13
  NodePort = "NodePort",
14
14
  }
15
15
 
16
+ export enum InstanceStatusState {
17
+ INSTANCE_STATE_UNSPECIFIED = "INSTANCE_STATE_UNSPECIFIED",
18
+ INSTANCE_STATE_INPROCESS = "INSTANCE_STATE_INPROCESS",
19
+ INSTANCE_STATE_RUNNING = "INSTANCE_STATE_RUNNING",
20
+ INSTANCE_STATE_TERMINAL = "INSTANCE_STATE_TERMINAL",
21
+ INSTANCE_STATE_UNAVAILABLE = "INSTANCE_STATE_UNAVAILABLE",
22
+ }
23
+
16
24
  export type Instance = {
17
25
  metadata?: KairshipIoApiTypesObjectmeta.ObjectMeta
18
26
  spec?: InstanceSpec
@@ -44,6 +52,7 @@ export type InstanceStatus = {
44
52
  karmadaVersion?: string
45
53
  kubernetesVersion?: string
46
54
  summary?: InstanceStatusSummary
55
+ state?: InstanceStatusState
47
56
  }
48
57
 
49
58
  export type InstanceStatusSummary = {
@@ -76,7 +85,7 @@ export type ListInstanceRequest = {
76
85
  name?: string
77
86
  page?: number
78
87
  pageSize?: number
79
- sortBy?: KairshipIoApiTypesPage.SortDir
88
+ sortBy?: KairshipIoApiTypesPage.SortBy
80
89
  sortDir?: KairshipIoApiTypesPage.SortDir
81
90
  }
82
91
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kairship",
3
- "version":"0.1.0",
3
+ "version":"0.1.1-2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {