@daocloud-proto/mcamel-rabbitmq 0.4.1-53 → 0.4.1-59
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 +5 -3
package/package.json
CHANGED
package/rabbitmq.pb.ts
CHANGED
|
@@ -171,7 +171,6 @@ export type CreateRabbitMqResp = {
|
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
export type GetRabbitMqOperatorVersionListReq = {
|
|
174
|
-
cluster?: string
|
|
175
174
|
}
|
|
176
175
|
|
|
177
176
|
export type GetRabbitMqOperatorVersionListRespGetRabbitMqOperatorVersionListData = {
|
|
@@ -226,6 +225,9 @@ export type GetRabbitMqNodeListResp = {
|
|
|
226
225
|
}
|
|
227
226
|
|
|
228
227
|
export type GetRabbitMqGrafanaAddrReq = {
|
|
228
|
+
cluster?: string
|
|
229
|
+
namespace?: string
|
|
230
|
+
name?: string
|
|
229
231
|
}
|
|
230
232
|
|
|
231
233
|
export type GetRabbitMqGrafanaAddrResp = {
|
|
@@ -287,7 +289,7 @@ export class RabbitMq {
|
|
|
287
289
|
return fm.fetchReq<GetRabbitMqListReq, GetRabbitMqListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmqs?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
288
290
|
}
|
|
289
291
|
static GetRabbitMqOperatorVersionList(req: GetRabbitMqOperatorVersionListReq, initReq?: fm.InitReq): Promise<GetRabbitMqOperatorVersionListResp> {
|
|
290
|
-
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"})
|
|
291
293
|
}
|
|
292
294
|
static GetRabbitMq(req: GetRabbitMqReq, initReq?: fm.InitReq): Promise<GetRabbitMqResp> {
|
|
293
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"})
|
|
@@ -299,7 +301,7 @@ export class RabbitMq {
|
|
|
299
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"})
|
|
300
302
|
}
|
|
301
303
|
static GetRabbitMqGrafanaAddr(req: GetRabbitMqGrafanaAddrReq, initReq?: fm.InitReq): Promise<GetRabbitMqGrafanaAddrResp> {
|
|
302
|
-
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"})
|
|
303
305
|
}
|
|
304
306
|
static CreateRabbitMq(req: CreateRabbitMqReq, initReq?: fm.InitReq): Promise<CreateRabbitMqResp> {
|
|
305
307
|
return fm.fetchReq<CreateRabbitMqReq, CreateRabbitMqResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/rabbitmq`, {...initReq, method: "POST", body: JSON.stringify(req)})
|