@daocloud-proto/mcamel-rabbitmq 0.2.6-4 → 0.2.6-9
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 +4 -5
package/package.json
CHANGED
package/rabbitmq.pb.ts
CHANGED
|
@@ -271,7 +271,7 @@ export type GetRabbitMqListResp = {
|
|
|
271
271
|
pagination?: CommonCommon.Pagination
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
export type
|
|
274
|
+
export type RabbitmqClusterItemStatus = {
|
|
275
275
|
status?: Status
|
|
276
276
|
podsAreReadyNum?: number
|
|
277
277
|
webManagerAddr?: string
|
|
@@ -290,8 +290,7 @@ export type RabbitmqClusterItem = {
|
|
|
290
290
|
kind?: string
|
|
291
291
|
metadata?: RabbitmqClusterItemMetadata
|
|
292
292
|
spec?: CreateRabbitMqReq
|
|
293
|
-
status?:
|
|
294
|
-
extend?: RabbitmqClusterItemExtend
|
|
293
|
+
status?: RabbitmqClusterItemStatus
|
|
295
294
|
}
|
|
296
295
|
|
|
297
296
|
export class RabbitMq {
|
|
@@ -308,10 +307,10 @@ export class RabbitMq {
|
|
|
308
307
|
return fm.fetchReq<GetRabbitMqParamReq, GetRabbitMqParamResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmq-params/${req["cluster"]}?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
309
308
|
}
|
|
310
309
|
static GetRabbitMqNodeList(req: GetRabbitMqNodeListReq, initReq?: fm.InitReq): Promise<GetRabbitMqNodeListResp> {
|
|
311
|
-
return fm.fetchReq<GetRabbitMqNodeListReq, GetRabbitMqNodeListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmq
|
|
310
|
+
return fm.fetchReq<GetRabbitMqNodeListReq, GetRabbitMqNodeListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmq/${req["cluster"]}/${req["namespace"]}/${req["name"]}/nodes?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
|
|
312
311
|
}
|
|
313
312
|
static GetRabbitMqGrafanaAddr(req: GetRabbitMqGrafanaAddrReq, initReq?: fm.InitReq): Promise<GetRabbitMqGrafanaAddrResp> {
|
|
314
|
-
return fm.fetchReq<GetRabbitMqGrafanaAddrReq, GetRabbitMqGrafanaAddrResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmq
|
|
313
|
+
return fm.fetchReq<GetRabbitMqGrafanaAddrReq, GetRabbitMqGrafanaAddrResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmq/${req["cluster"]}/${req["namespace"]}/${req["name"]}/grafana?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
|
|
315
314
|
}
|
|
316
315
|
static CreateRabbitMq(req: CreateRabbitMqReq, initReq?: fm.InitReq): Promise<CreateRabbitMqResp> {
|
|
317
316
|
return fm.fetchReq<CreateRabbitMqReq, CreateRabbitMqResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmq`, {...initReq, method: "POST", body: JSON.stringify(req)})
|