@daocloud-proto/mcamel-kafka 0.7.2-3 → 0.8.0-rc1-25
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 +30 -0
- package/common.pb.ts +3 -0
- package/package.json +1 -1
package/cluster.pb.ts
CHANGED
|
@@ -25,6 +25,10 @@ export enum PermissionsType {
|
|
|
25
25
|
CreateBackupConf = "CreateBackupConf",
|
|
26
26
|
UpdateBackupConf = "UpdateBackupConf",
|
|
27
27
|
DeleteBackupConf = "DeleteBackupConf",
|
|
28
|
+
GetTemplate = "GetTemplate",
|
|
29
|
+
CreateTemplate = "CreateTemplate",
|
|
30
|
+
UpdateTemplate = "UpdateTemplate",
|
|
31
|
+
DeleteTemplate = "DeleteTemplate",
|
|
28
32
|
}
|
|
29
33
|
|
|
30
34
|
export enum EventType {
|
|
@@ -48,6 +52,12 @@ export enum GetWorkspaceListReqSortDir {
|
|
|
48
52
|
DESC = "DESC",
|
|
49
53
|
}
|
|
50
54
|
|
|
55
|
+
export enum ClusterItemNetworkMode {
|
|
56
|
+
Unknown = "Unknown",
|
|
57
|
+
Flannel = "Flannel",
|
|
58
|
+
Calico = "Calico",
|
|
59
|
+
}
|
|
60
|
+
|
|
51
61
|
export enum GetInsightAgentStatusRespInsightAgentStatus {
|
|
52
62
|
NotInstall = "NotInstall",
|
|
53
63
|
Install = "Install",
|
|
@@ -74,6 +84,10 @@ export type GetPermissionsListRespPermissions = {
|
|
|
74
84
|
createBackupConf?: boolean
|
|
75
85
|
updateBackupConf?: boolean
|
|
76
86
|
deleteBackupConf?: boolean
|
|
87
|
+
getTemplate?: boolean
|
|
88
|
+
createTemplate?: boolean
|
|
89
|
+
updateTemplate?: boolean
|
|
90
|
+
deleteTemplate?: boolean
|
|
77
91
|
}
|
|
78
92
|
|
|
79
93
|
export type GetPermissionsListResp = {
|
|
@@ -249,6 +263,7 @@ export type GetWorkspaceListReq = {
|
|
|
249
263
|
export type GetWorkspaceListRespItem = {
|
|
250
264
|
workspaceId?: number
|
|
251
265
|
alias?: string
|
|
266
|
+
visible?: boolean
|
|
252
267
|
}
|
|
253
268
|
|
|
254
269
|
export type GetWorkspaceListResp = {
|
|
@@ -258,13 +273,28 @@ export type GetWorkspaceListResp = {
|
|
|
258
273
|
|
|
259
274
|
export type GetClusterListReq = {
|
|
260
275
|
workspaceId?: number
|
|
276
|
+
searchKey?: string
|
|
261
277
|
}
|
|
262
278
|
|
|
263
279
|
export type GetClusterListResp = {
|
|
264
280
|
items?: string[]
|
|
281
|
+
clusters?: ClusterItem[]
|
|
265
282
|
pagination?: CommonCommon.Pagination
|
|
266
283
|
}
|
|
267
284
|
|
|
285
|
+
export type ClusterItemMetadata = {
|
|
286
|
+
name?: string
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export type ClusterItemStatus = {
|
|
290
|
+
networkMode?: ClusterItemNetworkMode[]
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export type ClusterItem = {
|
|
294
|
+
metadata?: ClusterItemMetadata
|
|
295
|
+
status?: ClusterItemStatus
|
|
296
|
+
}
|
|
297
|
+
|
|
268
298
|
export type GetClusterNamespaceListReq = {
|
|
269
299
|
workspaceId?: number
|
|
270
300
|
cluster?: string
|
package/common.pb.ts
CHANGED
|
@@ -152,6 +152,7 @@ export type PodCommon = {
|
|
|
152
152
|
ownerReference?: OwnerReference[]
|
|
153
153
|
initContainersName?: string[]
|
|
154
154
|
initContainersStatuses?: ContainerStatus[]
|
|
155
|
+
containersStatuses?: ContainerStatus[]
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
export type OwnerReference = {
|
|
@@ -167,6 +168,8 @@ export type CommonItemStatus = {
|
|
|
167
168
|
webLogAddress?: string
|
|
168
169
|
avgPvAllocatedInGb?: number
|
|
169
170
|
avgPvUsedInGb?: number
|
|
171
|
+
cpuUtilization?: number
|
|
172
|
+
memoryUtilization?: number
|
|
170
173
|
}
|
|
171
174
|
|
|
172
175
|
export type AccessWhitelistInternal = {
|