@daocloud-proto/skoala 0.7.2-36 → 0.7.2-38
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.
|
@@ -135,6 +135,12 @@ export type GetGatewayReq = {
|
|
|
135
135
|
gatewayName?: string
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
+
export type GetGatewayChartsRes = {
|
|
139
|
+
sesame?: SkoalaApiGeneralV1alpha1Common.Chart
|
|
140
|
+
rls?: SkoalaApiGeneralV1alpha1Common.Chart
|
|
141
|
+
authz?: SkoalaApiGeneralV1alpha1Common.Chart
|
|
142
|
+
}
|
|
143
|
+
|
|
138
144
|
export type GetGatewayRes = {
|
|
139
145
|
gateways?: Gateway
|
|
140
146
|
}
|
|
@@ -376,6 +376,9 @@ export class Gateway {
|
|
|
376
376
|
static Diagnostic(req: SkoalaApiHostedV1alpha1Gateway.GatewayDiagnosticReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
377
377
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.GatewayDiagnosticReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/diagnostic`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
378
378
|
}
|
|
379
|
+
static GetCharts(req: GoogleProtobufEmpty.Empty, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gateway.GetGatewayChartsRes> {
|
|
380
|
+
return fm.fetchReq<GoogleProtobufEmpty.Empty, SkoalaApiHostedV1alpha1Gateway.GetGatewayChartsRes>(`/apis/sesame.skoala.io/v1alpha1/charts?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
381
|
+
}
|
|
379
382
|
static ListGatewayPods(req: SkoalaApiHostedV1alpha1Gateway.ListPodsReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gateway.ListPodsRes> {
|
|
380
383
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.ListPodsReq, SkoalaApiHostedV1alpha1Gateway.ListPodsRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/pods?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
|
|
381
384
|
}
|