@daocloud-proto/mcamel-redis 0.7.1-2 → 0.9.0-rc1-1
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 +20 -0
- package/package.json +1 -1
- package/redis.pb.ts +6 -0
package/cluster.pb.ts
CHANGED
|
@@ -111,6 +111,23 @@ export type GetClusterNodeLabelListResp = {
|
|
|
111
111
|
pagination?: CommonCommon.Pagination
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
export type GetClusterPodLabelListReq = {
|
|
115
|
+
page?: number
|
|
116
|
+
pageSize?: number
|
|
117
|
+
searchKey?: string
|
|
118
|
+
cluster?: string
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export type GetClusterPodLabelListRespLabel = {
|
|
122
|
+
key?: string
|
|
123
|
+
value?: string[]
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export type GetClusterPodLabelListResp = {
|
|
127
|
+
items?: GetClusterPodLabelListRespLabel[]
|
|
128
|
+
pagination?: CommonCommon.Pagination
|
|
129
|
+
}
|
|
130
|
+
|
|
114
131
|
export type GetClusterNodePortListReq = {
|
|
115
132
|
cluster?: string
|
|
116
133
|
}
|
|
@@ -230,6 +247,9 @@ export class Cluster {
|
|
|
230
247
|
static GetClusterNodeLabelList(req: GetClusterNodeLabelListReq, initReq?: fm.InitReq): Promise<GetClusterNodeLabelListResp> {
|
|
231
248
|
return fm.fetchReq<GetClusterNodeLabelListReq, GetClusterNodeLabelListResp>(`/apis/mcamel.io/redis/v1alpha1/${req["cluster"]}/nodelabels?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
232
249
|
}
|
|
250
|
+
static GetClusterPodLabelList(req: GetClusterPodLabelListReq, initReq?: fm.InitReq): Promise<GetClusterPodLabelListResp> {
|
|
251
|
+
return fm.fetchReq<GetClusterPodLabelListReq, GetClusterPodLabelListResp>(`/apis/mcamel.io/redis/v1alpha1/${req["cluster"]}/podlabels?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
252
|
+
}
|
|
233
253
|
static GetWorkspaceList(req: GetWorkspaceListReq, initReq?: fm.InitReq): Promise<GetWorkspaceListResp> {
|
|
234
254
|
return fm.fetchReq<GetWorkspaceListReq, GetWorkspaceListResp>(`/apis/mcamel.io/redis/v1alpha1/workspaces?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
235
255
|
}
|
package/package.json
CHANGED
package/redis.pb.ts
CHANGED
|
@@ -122,6 +122,7 @@ export type DeleteRedisBackupReq = {
|
|
|
122
122
|
namespace?: string
|
|
123
123
|
backupName?: string
|
|
124
124
|
isOpenAutoBackup?: boolean
|
|
125
|
+
instanceType?: InstanceType
|
|
125
126
|
}
|
|
126
127
|
|
|
127
128
|
export type DeleteRedisBackupResp = {
|
|
@@ -337,6 +338,9 @@ export type CreateRedisReq = {
|
|
|
337
338
|
lbAddress?: string
|
|
338
339
|
restore?: CreateRedisReqRestore
|
|
339
340
|
autoBackupConfig?: UpdateRedisAutoBackupReq
|
|
341
|
+
serviceMonitorInterval?: string
|
|
342
|
+
ingressFromIps?: string[]
|
|
343
|
+
ingressFromCidrs?: string[]
|
|
340
344
|
}
|
|
341
345
|
|
|
342
346
|
export type UpdateRedisConfReq = {
|
|
@@ -473,6 +477,8 @@ export type GetRedisGrafanaAddrReq = {
|
|
|
473
477
|
namespace?: string
|
|
474
478
|
name?: string
|
|
475
479
|
instanceType?: InstanceType
|
|
480
|
+
from?: string
|
|
481
|
+
to?: string
|
|
476
482
|
}
|
|
477
483
|
|
|
478
484
|
export type GetRedisGrafanaAddrResp = {
|