@daocloud-proto/mcamel-rabbitmq 0.4.1-5 → 0.4.1-58
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/package.json +1 -1
- package/rabbitmq.pb.ts +15 -8
package/package.json
CHANGED
package/rabbitmq.pb.ts
CHANGED
|
@@ -121,6 +121,7 @@ export type UpdateRabbitMqParamsReq = {
|
|
|
121
121
|
cpuLimit?: string
|
|
122
122
|
memoryRequest?: string
|
|
123
123
|
memoryLimit?: string
|
|
124
|
+
version?: string
|
|
124
125
|
}
|
|
125
126
|
|
|
126
127
|
export type UpdateRabbitMqParamsResp = {
|
|
@@ -136,10 +137,14 @@ export type GetRabbitMqParamRespSelectDataStringValue = {
|
|
|
136
137
|
}
|
|
137
138
|
|
|
138
139
|
export type GetRabbitMqParamRespSelectDataResourceValue = {
|
|
139
|
-
cpuRequest?:
|
|
140
|
-
cpuLimit?:
|
|
141
|
-
memoryRequest?:
|
|
142
|
-
memoryLimit?:
|
|
140
|
+
cpuRequest?: string
|
|
141
|
+
cpuLimit?: string
|
|
142
|
+
memoryRequest?: string
|
|
143
|
+
memoryLimit?: string
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export type GetRabbitMqParamRespSelectDataIntValue = {
|
|
147
|
+
value?: number
|
|
143
148
|
}
|
|
144
149
|
|
|
145
150
|
|
|
@@ -147,7 +152,7 @@ type BaseGetRabbitMqParamRespSelectData = {
|
|
|
147
152
|
}
|
|
148
153
|
|
|
149
154
|
export type GetRabbitMqParamRespSelectData = BaseGetRabbitMqParamRespSelectData
|
|
150
|
-
& OneOf<{ sValue: GetRabbitMqParamRespSelectDataStringValue; rValue: GetRabbitMqParamRespSelectDataResourceValue }>
|
|
155
|
+
& OneOf<{ sValue: GetRabbitMqParamRespSelectDataStringValue; rValue: GetRabbitMqParamRespSelectDataResourceValue; iValue: GetRabbitMqParamRespSelectDataIntValue }>
|
|
151
156
|
|
|
152
157
|
export type GetRabbitMqParamRespSelect = {
|
|
153
158
|
selectType?: GetRabbitMqParamRespSelectSelectType
|
|
@@ -166,7 +171,6 @@ export type CreateRabbitMqResp = {
|
|
|
166
171
|
}
|
|
167
172
|
|
|
168
173
|
export type GetRabbitMqOperatorVersionListReq = {
|
|
169
|
-
cluster?: string
|
|
170
174
|
}
|
|
171
175
|
|
|
172
176
|
export type GetRabbitMqOperatorVersionListRespGetRabbitMqOperatorVersionListData = {
|
|
@@ -221,6 +225,9 @@ export type GetRabbitMqNodeListResp = {
|
|
|
221
225
|
}
|
|
222
226
|
|
|
223
227
|
export type GetRabbitMqGrafanaAddrReq = {
|
|
228
|
+
cluster?: string
|
|
229
|
+
namespace?: string
|
|
230
|
+
name?: string
|
|
224
231
|
}
|
|
225
232
|
|
|
226
233
|
export type GetRabbitMqGrafanaAddrResp = {
|
|
@@ -282,7 +289,7 @@ export class RabbitMq {
|
|
|
282
289
|
return fm.fetchReq<GetRabbitMqListReq, GetRabbitMqListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmqs?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
283
290
|
}
|
|
284
291
|
static GetRabbitMqOperatorVersionList(req: GetRabbitMqOperatorVersionListReq, initReq?: fm.InitReq): Promise<GetRabbitMqOperatorVersionListResp> {
|
|
285
|
-
return fm.fetchReq<GetRabbitMqOperatorVersionListReq, GetRabbitMqOperatorVersionListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmq-operator
|
|
292
|
+
return fm.fetchReq<GetRabbitMqOperatorVersionListReq, GetRabbitMqOperatorVersionListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmq-operator/versions?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
286
293
|
}
|
|
287
294
|
static GetRabbitMq(req: GetRabbitMqReq, initReq?: fm.InitReq): Promise<GetRabbitMqResp> {
|
|
288
295
|
return fm.fetchReq<GetRabbitMqReq, GetRabbitMqResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmq/${req["cluster"]}/${req["namespace"]}/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
|
|
@@ -294,7 +301,7 @@ export class RabbitMq {
|
|
|
294
301
|
return fm.fetchReq<GetRabbitMqNodeListReq, GetRabbitMqNodeListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmq/nodes/${req["cluster"]}/${req["namespace"]}/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
|
|
295
302
|
}
|
|
296
303
|
static GetRabbitMqGrafanaAddr(req: GetRabbitMqGrafanaAddrReq, initReq?: fm.InitReq): Promise<GetRabbitMqGrafanaAddrResp> {
|
|
297
|
-
return fm.fetchReq<GetRabbitMqGrafanaAddrReq, GetRabbitMqGrafanaAddrResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmq/grafana?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
304
|
+
return fm.fetchReq<GetRabbitMqGrafanaAddrReq, GetRabbitMqGrafanaAddrResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmq/grafana/${req["cluster"]}/${req["namespace"]}/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
|
|
298
305
|
}
|
|
299
306
|
static CreateRabbitMq(req: CreateRabbitMqReq, initReq?: fm.InitReq): Promise<CreateRabbitMqResp> {
|
|
300
307
|
return fm.fetchReq<CreateRabbitMqReq, CreateRabbitMqResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmq`, {...initReq, method: "POST", body: JSON.stringify(req)})
|