@daocloud-proto/mcamel-mysql 0.3.1-3 → 0.3.1-32

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/cluster.pb.ts CHANGED
@@ -56,7 +56,6 @@ export type GetClusterNamespaceListResp = {
56
56
 
57
57
  export type GetInsightAgentStatusReq = {
58
58
  cluster?: string
59
- mcamelType?: string
60
59
  }
61
60
 
62
61
  export type GetInsightAgentStatusResp = {
package/common.pb.ts CHANGED
@@ -9,6 +9,21 @@ export enum PageInfoReqSortDir {
9
9
  DESC = "DESC",
10
10
  }
11
11
 
12
+ export enum PodCommonPodPhase {
13
+ PHASE_UNSPECIFIED = "PHASE_UNSPECIFIED",
14
+ Unknown = "Unknown",
15
+ Pending = "Pending",
16
+ Running = "Running",
17
+ Succeeded = "Succeeded",
18
+ Failed = "Failed",
19
+ }
20
+
21
+ export enum PodCommonConditionStatus {
22
+ PodConditionStatusUnknown = "PodConditionStatusUnknown",
23
+ PodConditionStatusTrue = "PodConditionStatusTrue",
24
+ PodConditionStatusFalse = "PodConditionStatusFalse",
25
+ }
26
+
12
27
  export type Pagination = {
13
28
  total?: number
14
29
  page?: number
@@ -21,4 +36,26 @@ export type PageInfoReq = {
21
36
  pageSize?: number
22
37
  sortDir?: PageInfoReqSortDir
23
38
  sortBy?: string
39
+ }
40
+
41
+ export type PodCommonCondition = {
42
+ lastTransitionTime?: string
43
+ lastUpdateTime?: string
44
+ message?: string
45
+ reason?: string
46
+ status?: PodCommonConditionStatus
47
+ type?: string
48
+ }
49
+
50
+ export type PodCommon = {
51
+ name?: string
52
+ phase?: PodCommonPodPhase
53
+ ip?: string
54
+ restartCount?: number
55
+ createTimestamp?: string
56
+ cpuUsage?: number
57
+ cpuLimit?: number
58
+ memoryUsage?: number
59
+ memoryLimit?: number
60
+ conditions?: PodCommonCondition[]
24
61
  }
package/mysql.pb.ts CHANGED
@@ -32,22 +32,22 @@ export enum GetMysqlBackupJobListReqSortDir {
32
32
  DESC = "DESC",
33
33
  }
34
34
 
35
- export enum GetMysqlBackupListRespGetMysqlBackupItemGetMysqlBackupItemSpecBackupType {
35
+ export enum MysqlBackupItemStatusStatus {
36
+ Running = "Running",
37
+ Failed = "Failed",
38
+ Succeeded = "Succeeded",
39
+ }
40
+
41
+ export enum MysqlBackupItemStatusBackupType {
36
42
  Full = "Full",
37
43
  Incremental = "Incremental",
38
44
  }
39
45
 
40
- export enum GetMysqlBackupListRespGetMysqlBackupItemGetMysqlBackupItemSpecBackupMethod {
46
+ export enum MysqlBackupItemStatusBackupMethod {
41
47
  Manual = "Manual",
42
48
  Auto = "Auto",
43
49
  }
44
50
 
45
- export enum GetMysqlBackupListRespGetMysqlBackupItemStatusStatus {
46
- Running = "Running",
47
- Failed = "Failed",
48
- Succeeded = "Succeeded",
49
- }
50
-
51
51
  export enum GetMysqlBackupJobListRespGetMysqlBackupJobItemGetMysqlBackupJobItemSpecJobType {
52
52
  Auto = "Auto",
53
53
  Manual = "Manual",
@@ -168,36 +168,39 @@ export type GetMysqlBackupJobListReq = {
168
168
 
169
169
  export type GetMysqlBackupSecretReq = {
170
170
  workspaceId?: number
171
- cluster?: string
172
- namespace?: string
173
171
  }
174
172
 
175
173
  export type GetMysqlBackupProviderListReq = {
176
174
  workspaceId?: number
177
175
  }
178
176
 
179
- export type GetMysqlBackupListRespGetMysqlBackupItemGetMysqlBackupItemSpec = {
180
- backupName?: string
181
- backupUrl?: string
182
- backupType?: GetMysqlBackupListRespGetMysqlBackupItemGetMysqlBackupItemSpecBackupType
183
- backupMethod?: GetMysqlBackupListRespGetMysqlBackupItemGetMysqlBackupItemSpecBackupMethod
184
- creationTimestamp?: string
177
+ export type GetMysqlBackupListResp = {
178
+ items?: MysqlBackupItem[]
179
+ pagination?: CommonCommon.Pagination
185
180
  }
186
181
 
187
- export type GetMysqlBackupListRespGetMysqlBackupItemStatus = {
188
- status?: GetMysqlBackupListRespGetMysqlBackupItemStatusStatus
189
- message?: string
190
- completionTimestamp?: string
182
+ export type MysqlBackupItemMetadata = {
183
+ annotations?: {[key: string]: string}
184
+ creationTimestamp?: string
185
+ name?: string
186
+ namespace?: string
191
187
  }
192
188
 
193
- export type GetMysqlBackupListRespGetMysqlBackupItem = {
194
- spec?: GetMysqlBackupListRespGetMysqlBackupItemGetMysqlBackupItemSpec
195
- status?: GetMysqlBackupListRespGetMysqlBackupItemStatus
189
+ export type MysqlBackupItem = {
190
+ apiVersion?: string
191
+ kind?: string
192
+ metadata?: MysqlBackupItemMetadata
193
+ spec?: CreateMysqlBackupReq
194
+ status?: MysqlBackupItemStatus
196
195
  }
197
196
 
198
- export type GetMysqlBackupListResp = {
199
- items?: GetMysqlBackupListRespGetMysqlBackupItem[]
200
- pagination?: CommonCommon.Pagination
197
+ export type MysqlBackupItemStatus = {
198
+ status?: MysqlBackupItemStatusStatus
199
+ message?: string
200
+ backupUrl?: string
201
+ backupType?: MysqlBackupItemStatusBackupType
202
+ backupMethod?: MysqlBackupItemStatusBackupMethod
203
+ completionTimestamp?: string
201
204
  }
202
205
 
203
206
  export type GetMysqlBackupJobListRespGetMysqlBackupJobItemGetMysqlBackupJobItemSpec = {
@@ -462,6 +465,7 @@ export type GetMysqlNodeListRespData = {
462
465
  createTimestamp?: string
463
466
  nodeType?: GetMysqlNodeListRespNodeType
464
467
  healthStatus?: GetMysqlNodeListRespHealthStatus
468
+ common?: CommonCommon.PodCommon
465
469
  }
466
470
 
467
471
  export type GetMysqlNodeListResp = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/mcamel-mysql",
3
- "version":"0.3.1-3",
3
+ "version":"0.3.1-32",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {