@daocloud-proto/mcamel-postgresql 0.1.2-1 → 0.3.0-rc1-1
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 +20 -0
- package/package.json +1 -1
- package/postgresql.pb.ts +2 -0
package/cluster.pb.ts
CHANGED
|
@@ -111,6 +111,23 @@ export type GetClusterNodeLabelListResp = {
|
|
|
111
111
|
pagination?: CommonCommon.Pagination
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
export type GetClusterPodLabelListReq = {
|
|
115
|
+
page?: number
|
|
116
|
+
pageSize?: number
|
|
117
|
+
searchKey?: string
|
|
118
|
+
cluster?: string
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export type GetClusterPodLabelListRespLabel = {
|
|
122
|
+
key?: string
|
|
123
|
+
value?: string[]
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export type GetClusterPodLabelListResp = {
|
|
127
|
+
items?: GetClusterPodLabelListRespLabel[]
|
|
128
|
+
pagination?: CommonCommon.Pagination
|
|
129
|
+
}
|
|
130
|
+
|
|
114
131
|
export type GetClusterNodePortListReq = {
|
|
115
132
|
cluster?: string
|
|
116
133
|
}
|
|
@@ -230,6 +247,9 @@ export class Cluster {
|
|
|
230
247
|
static GetClusterNodeLabelList(req: GetClusterNodeLabelListReq, initReq?: fm.InitReq): Promise<GetClusterNodeLabelListResp> {
|
|
231
248
|
return fm.fetchReq<GetClusterNodeLabelListReq, GetClusterNodeLabelListResp>(`/apis/mcamel.io/postgresql/v1alpha1/${req["cluster"]}/nodelabels?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
232
249
|
}
|
|
250
|
+
static GetClusterPodLabelList(req: GetClusterPodLabelListReq, initReq?: fm.InitReq): Promise<GetClusterPodLabelListResp> {
|
|
251
|
+
return fm.fetchReq<GetClusterPodLabelListReq, GetClusterPodLabelListResp>(`/apis/mcamel.io/postgresql/v1alpha1/${req["cluster"]}/podlabels?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
252
|
+
}
|
|
233
253
|
static GetWorkspaceList(req: GetWorkspaceListReq, initReq?: fm.InitReq): Promise<GetWorkspaceListResp> {
|
|
234
254
|
return fm.fetchReq<GetWorkspaceListReq, GetWorkspaceListResp>(`/apis/mcamel.io/postgresql/v1alpha1/workspaces?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
235
255
|
}
|
package/package.json
CHANGED