@daocloud-proto/mcamel-postgresql 0.0.2-402 → 0.0.2-403
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 +2 -2
- package/package.json +1 -1
package/cluster.pb.ts
CHANGED
|
@@ -334,7 +334,7 @@ export type GetClusterListReq = {
|
|
|
334
334
|
}
|
|
335
335
|
|
|
336
336
|
export type GetClusterHostnetworkPortsResp = {
|
|
337
|
-
items?:
|
|
337
|
+
items?: number[]
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
export type GetClusterListResp = {
|
|
@@ -409,7 +409,7 @@ export class Cluster {
|
|
|
409
409
|
return fm.fetchReq<GetClusterListReq, GetClusterListResp>(`/apis/mcamel.io/postgresql/v1alpha1/${req["workspaceId"]}/clusters?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
|
|
410
410
|
}
|
|
411
411
|
static GetClusterHostnetworkPorts(req: GetClusterHostnetworkPortsReq, initReq?: fm.InitReq): Promise<GetClusterHostnetworkPortsResp> {
|
|
412
|
-
return fm.fetchReq<GetClusterHostnetworkPortsReq, GetClusterHostnetworkPortsResp>(`/apis/mcamel.io/postgresql/v1alpha1/${req["workspaceId"]}/
|
|
412
|
+
return fm.fetchReq<GetClusterHostnetworkPortsReq, GetClusterHostnetworkPortsResp>(`/apis/mcamel.io/postgresql/v1alpha1/${req["workspaceId"]}/hostnetwork-ports?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
|
|
413
413
|
}
|
|
414
414
|
static GetClusterNamespaceList(req: GetClusterNamespaceListReq, initReq?: fm.InitReq): Promise<GetClusterNamespaceListResp> {
|
|
415
415
|
return fm.fetchReq<GetClusterNamespaceListReq, GetClusterNamespaceListResp>(`/apis/mcamel.io/postgresql/v1alpha1/${req["workspaceId"]}/${req["cluster"]}/namespaces?${fm.renderURLSearchParams(req, ["workspaceId", "cluster"])}`, {...initReq, method: "GET"})
|