@daocloud-proto/kangaroo 0.5.0-101 → 0.5.0-105
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.
|
@@ -8,6 +8,12 @@ import * as KangarooIoApiTypesObjectmeta from "../../types/objectmeta.pb"
|
|
|
8
8
|
import * as KangarooIoApiTypesPage from "../../types/page.pb"
|
|
9
9
|
import * as KangarooIoApiHarborV1alpha1Redis from "./redis.pb"
|
|
10
10
|
|
|
11
|
+
export enum TLSType {
|
|
12
|
+
TLS_TYPE_UNSPECIFIED = "TLS_TYPE_UNSPECIFIED",
|
|
13
|
+
SELF_SIGNED = "SELF_SIGNED",
|
|
14
|
+
CUSTOM = "CUSTOM",
|
|
15
|
+
}
|
|
16
|
+
|
|
11
17
|
export enum VerifyHarborOperatorResponseHarborOperatorStatus {
|
|
12
18
|
STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",
|
|
13
19
|
STATUS_HARBOR_OPERATOR_IS_NOT_INSTALLED = "STATUS_HARBOR_OPERATOR_IS_NOT_INSTALLED",
|
|
@@ -254,6 +260,7 @@ export type VerifyNodePortResponse = {
|
|
|
254
260
|
|
|
255
261
|
export type ListTLSRequest = {
|
|
256
262
|
cluster?: string
|
|
263
|
+
namespace?: string
|
|
257
264
|
}
|
|
258
265
|
|
|
259
266
|
export type ListTLSResponse = {
|
|
@@ -263,4 +270,5 @@ export type ListTLSResponse = {
|
|
|
263
270
|
export type ListTLSResponseItem = {
|
|
264
271
|
namespace?: string
|
|
265
272
|
name?: string
|
|
273
|
+
type?: TLSType
|
|
266
274
|
}
|
|
@@ -40,6 +40,6 @@ export class Harbor {
|
|
|
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
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"})
|
|
43
|
+
return fm.fetchReq<KangarooIoApiHarborV1alpha1Harbor.ListTLSRequest, KangarooIoApiHarborV1alpha1Harbor.ListTLSResponse>(`/apis/kangaroo.io/v1alpha1/cluster/${req["cluster"]}/namespace/${req["namespace"]}/tls?${fm.renderURLSearchParams(req, ["cluster", "namespace"])}`, {...initReq, method: "GET"})
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -90,6 +90,7 @@ export type NativeRegistry = {
|
|
|
90
90
|
insecure?: boolean
|
|
91
91
|
description?: string
|
|
92
92
|
status?: NativeRegistryregistry_status
|
|
93
|
+
creationTime?: string
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
export type NativeRegistryCredential = {
|
|
@@ -131,7 +132,7 @@ export type DeleteNativeRegistryRequest = {
|
|
|
131
132
|
}
|
|
132
133
|
|
|
133
134
|
export type Policy = {
|
|
134
|
-
|
|
135
|
+
destRegistry?: NativeRegistry
|
|
135
136
|
srcRegistry?: NativeRegistry
|
|
136
137
|
enabled?: boolean
|
|
137
138
|
creationTime?: string
|
|
@@ -141,6 +142,7 @@ export type Policy = {
|
|
|
141
142
|
override?: boolean
|
|
142
143
|
name?: string
|
|
143
144
|
description?: string
|
|
145
|
+
destNamespace?: string
|
|
144
146
|
filters?: Filter[]
|
|
145
147
|
trigger?: Trigger
|
|
146
148
|
}
|
|
@@ -231,7 +233,7 @@ export type UpdatePolicyRequest = {
|
|
|
231
233
|
trigger?: Trigger
|
|
232
234
|
filters?: Filter[]
|
|
233
235
|
srcRegistry?: NativeRegistry
|
|
234
|
-
|
|
236
|
+
destRegistry?: NativeRegistry
|
|
235
237
|
enabled?: boolean
|
|
236
238
|
override?: boolean
|
|
237
239
|
destNamespace?: string
|
|
@@ -257,7 +259,7 @@ export type ListReplicationTasksResponse = {
|
|
|
257
259
|
}
|
|
258
260
|
|
|
259
261
|
export type ReplicationTask = {
|
|
260
|
-
|
|
262
|
+
destResource?: string
|
|
261
263
|
endTime?: string
|
|
262
264
|
executionId?: string
|
|
263
265
|
id?: string
|