@daocloud-proto/mcamel-rabbitmq 0.6.5-2 → 0.6.5-20
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 +12 -0
- package/package.json +1 -1
package/cluster.pb.ts
CHANGED
|
@@ -28,6 +28,15 @@ export enum GetInsightAgentStatusRespInsightAgentStatus {
|
|
|
28
28
|
Install = "Install",
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
export type GetClusterNodePortListReq = {
|
|
32
|
+
cluster?: string
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export type GetClusterNodePortListResp = {
|
|
36
|
+
items?: string[]
|
|
37
|
+
pagination?: CommonCommon.Pagination
|
|
38
|
+
}
|
|
39
|
+
|
|
31
40
|
export type EventSource = {
|
|
32
41
|
component?: string
|
|
33
42
|
host?: string
|
|
@@ -114,6 +123,9 @@ export class Cluster {
|
|
|
114
123
|
static GetClusterNamespaceList(req: GetClusterNamespaceListReq, initReq?: fm.InitReq): Promise<GetClusterNamespaceListResp> {
|
|
115
124
|
return fm.fetchReq<GetClusterNamespaceListReq, GetClusterNamespaceListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/${req["cluster"]}/namespaces?${fm.renderURLSearchParams(req, ["workspaceId", "cluster"])}`, {...initReq, method: "GET"})
|
|
116
125
|
}
|
|
126
|
+
static GetClusterNodePortList(req: GetClusterNodePortListReq, initReq?: fm.InitReq): Promise<GetClusterNodePortListResp> {
|
|
127
|
+
return fm.fetchReq<GetClusterNodePortListReq, GetClusterNodePortListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["cluster"]}/nodeports?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
128
|
+
}
|
|
117
129
|
static GetWorkspaceList(req: GetWorkspaceListReq, initReq?: fm.InitReq): Promise<GetWorkspaceListResp> {
|
|
118
130
|
return fm.fetchReq<GetWorkspaceListReq, GetWorkspaceListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/workspaces?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
119
131
|
}
|