@daocloud-proto/mcamel-mysql 0.3.1-4 → 0.3.1-40
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 +0 -1
- package/common.pb.ts +37 -0
- package/mysql.pb.ts +1 -2
- package/package.json +1 -1
package/cluster.pb.ts
CHANGED
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
|
@@ -168,8 +168,6 @@ 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 = {
|
|
@@ -467,6 +465,7 @@ export type GetMysqlNodeListRespData = {
|
|
|
467
465
|
createTimestamp?: string
|
|
468
466
|
nodeType?: GetMysqlNodeListRespNodeType
|
|
469
467
|
healthStatus?: GetMysqlNodeListRespHealthStatus
|
|
468
|
+
common?: CommonCommon.PodCommon
|
|
470
469
|
}
|
|
471
470
|
|
|
472
471
|
export type GetMysqlNodeListResp = {
|