@daocloud-proto/kangaroo 0.5.0-48 → 0.5.0-52

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.
@@ -179,6 +179,12 @@ export type ExposeSpec = {
179
179
  nodePortSpec?: ExposeNodePortSpec
180
180
  externalUrl?: string
181
181
  exposeHttps?: boolean
182
+ httpsSpec?: HttpsSpec
183
+ }
184
+
185
+ export type HttpsSpec = {
186
+ namespace?: string
187
+ name?: string
182
188
  }
183
189
 
184
190
  export type ExposeIngressSpec = {
@@ -244,4 +250,17 @@ export type VerifyNodePortRequest = {
244
250
 
245
251
  export type VerifyNodePortResponse = {
246
252
  status?: boolean
253
+ }
254
+
255
+ export type ListTLSRequest = {
256
+ cluster?: string
257
+ }
258
+
259
+ export type ListTLSResponse = {
260
+ items?: ListTLSResponseItem[]
261
+ }
262
+
263
+ export type ListTLSResponseItem = {
264
+ namespace?: string
265
+ name?: string
247
266
  }
@@ -39,4 +39,7 @@ export class Harbor {
39
39
  static ListRedis(req: KangarooIoApiHarborV1alpha1Redis.ListRedisRequest, initReq?: fm.InitReq): Promise<KangarooIoApiHarborV1alpha1Redis.ListRedisResponse> {
40
40
  return fm.fetchReq<KangarooIoApiHarborV1alpha1Redis.ListRedisRequest, KangarooIoApiHarborV1alpha1Redis.ListRedisResponse>(`/apis/kangaroo.io/v1alpha1/workspace/${req["workspace"]}/redis?${fm.renderURLSearchParams(req, ["workspace"])}`, {...initReq, method: "GET"})
41
41
  }
42
+ static ListTLSSecret(req: KangarooIoApiHarborV1alpha1Harbor.ListTLSRequest, initReq?: fm.InitReq): Promise<KangarooIoApiHarborV1alpha1Harbor.ListTLSResponse> {
43
+ return fm.fetchReq<KangarooIoApiHarborV1alpha1Harbor.ListTLSRequest, KangarooIoApiHarborV1alpha1Harbor.ListTLSResponse>(`/apis/kangaroo.io/v1alpha1/cluster/${req["cluster"]}/tls?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
44
+ }
42
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kangaroo",
3
- "version":"0.5.0-48",
3
+ "version":"0.5.0-52",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {