@daocloud-proto/mcamel-rabbitmq 0.12.1 → 0.13.0-rc1-8

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
@@ -7,6 +7,30 @@
7
7
  import * as CommonCommon from "./common.pb"
8
8
  import * as fm from "./fetch.pb"
9
9
 
10
+ export enum PermissionsType {
11
+ None = "None",
12
+ GetInstance = "GetInstance",
13
+ CreateInstance = "CreateInstance",
14
+ UpdateInstance = "UpdateInstance",
15
+ DeleteInstance = "DeleteInstance",
16
+ GetMetric = "GetMetric",
17
+ GetInstanceLog = "GetInstanceLog",
18
+ GetConfig = "GetConfig",
19
+ UpdateConfig = "UpdateConfig",
20
+ GetBackup = "GetBackup",
21
+ CreateBackup = "CreateBackup",
22
+ UpdateBackup = "UpdateBackup",
23
+ DeleteBackup = "DeleteBackup",
24
+ GetBackupConf = "GetBackupConf",
25
+ CreateBackupConf = "CreateBackupConf",
26
+ UpdateBackupConf = "UpdateBackupConf",
27
+ DeleteBackupConf = "DeleteBackupConf",
28
+ GetTemplate = "GetTemplate",
29
+ CreateTemplate = "CreateTemplate",
30
+ UpdateTemplate = "UpdateTemplate",
31
+ DeleteTemplate = "DeleteTemplate",
32
+ }
33
+
10
34
  export enum EventType {
11
35
  EVENT_TYPE_UNSPECIFIED = "EVENT_TYPE_UNSPECIFIED",
12
36
  Normal = "Normal",
@@ -28,6 +52,12 @@ export enum GetWorkspaceListReqSortDir {
28
52
  DESC = "DESC",
29
53
  }
30
54
 
55
+ export enum ClusterItemNetworkMode {
56
+ Unknown = "Unknown",
57
+ Flannel = "Flannel",
58
+ Calico = "Calico",
59
+ }
60
+
31
61
  export enum GetInsightAgentStatusRespInsightAgentStatus {
32
62
  NotInstall = "NotInstall",
33
63
  Install = "Install",
@@ -37,7 +67,7 @@ export type GetPermissionsListReq = {
37
67
  workspaceId?: number
38
68
  }
39
69
 
40
- export type GetPermissionsListResp = {
70
+ export type GetPermissionsListRespPermissions = {
41
71
  getInstance?: boolean
42
72
  createInstance?: boolean
43
73
  updateInstance?: boolean
@@ -54,6 +84,15 @@ export type GetPermissionsListResp = {
54
84
  createBackupConf?: boolean
55
85
  updateBackupConf?: boolean
56
86
  deleteBackupConf?: boolean
87
+ getTemplate?: boolean
88
+ createTemplate?: boolean
89
+ updateTemplate?: boolean
90
+ deleteTemplate?: boolean
91
+ }
92
+
93
+ export type GetPermissionsListResp = {
94
+ permissionsBool?: GetPermissionsListRespPermissions
95
+ permissions?: PermissionsType[]
57
96
  }
58
97
 
59
98
  export type GetAllEventKindsListResp = {
@@ -224,6 +263,7 @@ export type GetWorkspaceListReq = {
224
263
  export type GetWorkspaceListRespItem = {
225
264
  workspaceId?: number
226
265
  alias?: string
266
+ visible?: boolean
227
267
  }
228
268
 
229
269
  export type GetWorkspaceListResp = {
@@ -233,13 +273,28 @@ export type GetWorkspaceListResp = {
233
273
 
234
274
  export type GetClusterListReq = {
235
275
  workspaceId?: number
276
+ searchKey?: string
236
277
  }
237
278
 
238
279
  export type GetClusterListResp = {
239
280
  items?: string[]
281
+ clusters?: ClusterItem[]
240
282
  pagination?: CommonCommon.Pagination
241
283
  }
242
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
+
243
298
  export type GetClusterNamespaceListReq = {
244
299
  workspaceId?: number
245
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 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/mcamel-rabbitmq",
3
- "version":"0.12.1",
3
+ "version":"0.13.0-rc1-8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {