@daocloud-proto/mcamel-rabbitmq 0.5.0 → 0.5.3-3

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
@@ -12,6 +12,11 @@ export enum GetWorkspaceListReqSortDir {
12
12
  DESC = "DESC",
13
13
  }
14
14
 
15
+ export enum GetInsightAgentStatusRespInsightAgentStatus {
16
+ NotInstall = "NotInstall",
17
+ Install = "Install",
18
+ }
19
+
15
20
  export type GetWorkspaceListReq = {
16
21
  page?: number
17
22
  pageSize?: number
@@ -49,6 +54,15 @@ export type GetClusterNamespaceListResp = {
49
54
  pagination?: CommonCommon.Pagination
50
55
  }
51
56
 
57
+ export type GetInsightAgentStatusReq = {
58
+ cluster?: string
59
+ mcamelType?: string
60
+ }
61
+
62
+ export type GetInsightAgentStatusResp = {
63
+ status?: GetInsightAgentStatusRespInsightAgentStatus
64
+ }
65
+
52
66
  export class Cluster {
53
67
  static GetClusterList(req: GetClusterListReq, initReq?: fm.InitReq): Promise<GetClusterListResp> {
54
68
  return fm.fetchReq<GetClusterListReq, GetClusterListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/clusters?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
@@ -59,4 +73,7 @@ export class Cluster {
59
73
  static GetWorkspaceList(req: GetWorkspaceListReq, initReq?: fm.InitReq): Promise<GetWorkspaceListResp> {
60
74
  return fm.fetchReq<GetWorkspaceListReq, GetWorkspaceListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/workspaces?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
61
75
  }
76
+ static GetInsightAgentStatus(req: GetInsightAgentStatusReq, initReq?: fm.InitReq): Promise<GetInsightAgentStatusResp> {
77
+ return fm.fetchReq<GetInsightAgentStatusReq, GetInsightAgentStatusResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["cluster"]}/insight/status?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
78
+ }
62
79
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/mcamel-rabbitmq",
3
- "version":"0.5.0",
3
+ "version":"0.5.3-3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/rabbitmq.pb.ts CHANGED
@@ -277,6 +277,7 @@ export type RabbitmqClusterItemStatus = {
277
277
  podsAreReadyNum?: number
278
278
  webManagerAddr?: string
279
279
  clusterIPs?: string[]
280
+ serviceAddr?: string
280
281
  }
281
282
 
282
283
  export type RabbitmqClusterItemMetadata = {