@daocloud-proto/mcamel-rabbitmq 0.12.1-91 → 0.12.1-95

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
@@ -88,6 +88,7 @@ export type RestartInstanceReq = {
88
88
  namespace?: string
89
89
  name?: string
90
90
  extra?: string
91
+ instanceType?: string
91
92
  }
92
93
 
93
94
  export type RestartInstanceResp = {
@@ -302,11 +303,20 @@ export type GetWorkspaceListResp = {
302
303
  pagination?: CommonCommon.Pagination
303
304
  }
304
305
 
306
+ export type GetClusterHostnetworkPortsReq = {
307
+ workspaceId?: number
308
+ cluster?: string
309
+ }
310
+
305
311
  export type GetClusterListReq = {
306
312
  workspaceId?: number
307
313
  searchKey?: string
308
314
  }
309
315
 
316
+ export type GetClusterHostnetworkPortsResp = {
317
+ items?: string[]
318
+ }
319
+
310
320
  export type GetClusterListResp = {
311
321
  items?: string[]
312
322
  clusters?: ClusterItem[]
@@ -348,6 +358,9 @@ export class Cluster {
348
358
  static GetClusterList(req: GetClusterListReq, initReq?: fm.InitReq): Promise<GetClusterListResp> {
349
359
  return fm.fetchReq<GetClusterListReq, GetClusterListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/clusters?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
350
360
  }
361
+ static GetClusterHostnetworkPorts(req: GetClusterHostnetworkPortsReq, initReq?: fm.InitReq): Promise<GetClusterHostnetworkPortsResp> {
362
+ return fm.fetchReq<GetClusterHostnetworkPortsReq, GetClusterHostnetworkPortsResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/hostnetwork_ports?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
363
+ }
351
364
  static GetClusterNamespaceList(req: GetClusterNamespaceListReq, initReq?: fm.InitReq): Promise<GetClusterNamespaceListResp> {
352
365
  return fm.fetchReq<GetClusterNamespaceListReq, GetClusterNamespaceListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/${req["cluster"]}/namespaces?${fm.renderURLSearchParams(req, ["workspaceId", "cluster"])}`, {...initReq, method: "GET"})
353
366
  }
package/common.pb.ts CHANGED
@@ -170,6 +170,7 @@ export type CommonItemStatus = {
170
170
  avgPvUsedInGb?: number
171
171
  cpuUtilization?: number
172
172
  memoryUtilization?: number
173
+ isClusterUnknown?: boolean
173
174
  }
174
175
 
175
176
  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-91",
3
+ "version":"0.12.1-95",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/template.pb.ts CHANGED
@@ -13,6 +13,7 @@ export enum TemplateInstanceType {
13
13
  RedisFailover = "RedisFailover",
14
14
  RedisCluster = "RedisCluster",
15
15
  KafkaConfig = "KafkaConfig",
16
+ MysqlMgrConfig = "MysqlMgrConfig",
16
17
  }
17
18
 
18
19
  export enum GetTemplateConfigReqSortDir {