@daocloud-proto/kpanda 0.48.0-dev-ad3e5eec → 0.48.0-dev-c611d08a
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.
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import * as KpandaIoApiCoreV1alpha1Pod from "../../core/v1alpha1/pod.pb"
|
|
8
7
|
import * as KpandaIoApiTypesObjectmeta from "../../types/objectmeta.pb"
|
|
9
8
|
import * as KpandaIoApiTypesPage from "../../types/page.pb"
|
|
10
9
|
|
|
@@ -205,20 +204,4 @@ export type DeleteGatewayRequest = {
|
|
|
205
204
|
cluster?: string
|
|
206
205
|
namespace?: string
|
|
207
206
|
name?: string
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
export type ListGatewayPodsRequest = {
|
|
211
|
-
gateway?: string
|
|
212
|
-
cluster?: string
|
|
213
|
-
namespace?: string
|
|
214
|
-
name?: string
|
|
215
|
-
page?: number
|
|
216
|
-
pageSize?: number
|
|
217
|
-
sortBy?: KpandaIoApiTypesPage.SortBy
|
|
218
|
-
sortDir?: KpandaIoApiTypesPage.SortDir
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
export type ListGatewayPodsResponse = {
|
|
222
|
-
items?: KpandaIoApiCoreV1alpha1Pod.Pod[]
|
|
223
|
-
pagination?: KpandaIoApiTypesPage.Pagination
|
|
224
207
|
}
|
|
@@ -1199,9 +1199,6 @@ export class Gateway {
|
|
|
1199
1199
|
static GetGatewayJSON(req: KpandaIoApiGatewayV1alpha1Gateway.GetGatewayJSONRequest, initReq?: fm.InitReq): Promise<KpandaIoApiGatewayV1alpha1Gateway.GetGatewayJSONResponse> {
|
|
1200
1200
|
return fm.fetchReq<KpandaIoApiGatewayV1alpha1Gateway.GetGatewayJSONRequest, KpandaIoApiGatewayV1alpha1Gateway.GetGatewayJSONResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/gateways/${req["name"]}/json?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
|
|
1201
1201
|
}
|
|
1202
|
-
static ListGatewayPods(req: KpandaIoApiGatewayV1alpha1Gateway.ListGatewayPodsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiGatewayV1alpha1Gateway.ListGatewayPodsResponse> {
|
|
1203
|
-
return fm.fetchReq<KpandaIoApiGatewayV1alpha1Gateway.ListGatewayPodsRequest, KpandaIoApiGatewayV1alpha1Gateway.ListGatewayPodsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/gateways/${req["gateway"]}/pods?${fm.renderURLSearchParams(req, ["cluster", "namespace", "gateway"])}`, {...initReq, method: "GET"})
|
|
1204
|
-
}
|
|
1205
1202
|
static CreateGateway(req: KpandaIoApiGatewayV1alpha1Gateway.CreateGatewayRequest, initReq?: fm.InitReq): Promise<KpandaIoApiGatewayV1alpha1Gateway.CreateGatewayResponse> {
|
|
1206
1203
|
return fm.fetchReq<KpandaIoApiGatewayV1alpha1Gateway.CreateGatewayRequest, KpandaIoApiGatewayV1alpha1Gateway.CreateGatewayResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/gateways`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
1207
1204
|
}
|