@daocloud-proto/mcamel-redis 0.1.4-2 → 0.1.5-6

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/redis/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/redis/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/redis/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-redis",
3
- "version":"0.1.4-2",
3
+ "version":"0.1.5-6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/redis.pb.ts CHANGED
@@ -306,6 +306,7 @@ export type RedisItemStatus = {
306
306
  podsAreReadyNum?: number
307
307
  redisAddr?: string
308
308
  clusterIPs?: string[]
309
+ serviceAddr?: string
309
310
  }
310
311
 
311
312
  export type RedisItemMetadata = {