@daocloud-proto/mcamel-mysql 0.2.6 → 0.2.8-2

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/mysql/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/mysql/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/mysql/v1alpha1/${req["cluster"]}/insight/status?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
78
+ }
62
79
  }
package/mysql.pb.ts CHANGED
@@ -498,6 +498,7 @@ export type MysqlClusterItemStatus = {
498
498
  webManagerAddr?: string
499
499
  clusterIPs?: string[]
500
500
  isAutoBackupEnabled?: boolean
501
+ serviceAddr?: string
501
502
  }
502
503
 
503
504
  export type MysqlClusterItemMetadata = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/mcamel-mysql",
3
- "version":"0.2.6",
3
+ "version":"0.2.8-2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {