@daocloud-proto/kangaroo 0.4.2-4 → 0.4.2-40

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.
@@ -82,6 +82,7 @@ export type HarborClusterSpec = {
82
82
  expose?: ExposeSpec
83
83
  userSyncToHarbor?: boolean
84
84
  adminPassword?: string
85
+ enableTrivy?: boolean
85
86
  }
86
87
 
87
88
  export type Resources = {
@@ -153,6 +154,8 @@ export type ExposeSpec = {
153
154
  ingressSpec?: ExposeIngressSpec
154
155
  loadBalanceSpec?: ExposeLoadBalanceSpec
155
156
  nodePortSpec?: ExposeNodePortSpec
157
+ externalUrl?: string
158
+ exposeHttps?: boolean
156
159
  }
157
160
 
158
161
  export type ExposeIngressSpec = {
@@ -185,6 +185,7 @@ export type ExtraAttrs = {
185
185
  repoName?: string
186
186
  os?: string
187
187
  imagePullUrl?: string
188
+ pullTime?: string
188
189
  }
189
190
 
190
191
  export type BuildHistory = {
@@ -222,6 +223,12 @@ export type RegistryProjectResponse = {
222
223
  createTime?: string
223
224
  }
224
225
 
226
+ export type UpdateProjectRequest = {
227
+ registry?: string
228
+ project?: string
229
+ public?: boolean
230
+ }
231
+
225
232
  export type ListRegistryProjectResponse = {
226
233
  items?: RegistryProjectResponse[]
227
234
  pagination?: KangarooIoApiTypesPage.Page
@@ -41,6 +41,9 @@ export class Image {
41
41
  static ListRegistryProject(req: KangarooIoApiImageV1alpha1Image.ListRegistryProjectRequest, initReq?: fm.InitReq): Promise<KangarooIoApiImageV1alpha1Image.ListRegistryProjectResponse> {
42
42
  return fm.fetchReq<KangarooIoApiImageV1alpha1Image.ListRegistryProjectRequest, KangarooIoApiImageV1alpha1Image.ListRegistryProjectResponse>(`/apis/kangaroo.io/v1alpha1/registries/${req["registry"]}/projects?${fm.renderURLSearchParams(req, ["registry"])}`, {...initReq, method: "GET"})
43
43
  }
44
+ static UpdateProject(req: KangarooIoApiImageV1alpha1Image.UpdateProjectRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
45
+ return fm.fetchReq<KangarooIoApiImageV1alpha1Image.UpdateProjectRequest, GoogleProtobufEmpty.Empty>(`/apis/kangaroo.io/v1alpha1/registries/${req["registry"]}/projects/${req["project"]}`, {...initReq, method: "PUT"})
46
+ }
44
47
  static UpdateRegistryProjectBinding(req: KangarooIoApiImageV1alpha1Image.ProjectBindingRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
45
48
  return fm.fetchReq<KangarooIoApiImageV1alpha1Image.ProjectBindingRequest, GoogleProtobufEmpty.Empty>(`/apis/kangaroo.io/v1alpha1/registries/${req["registry"]}/projects/${req["project"]}/binding`, {...initReq, method: "PUT", body: JSON.stringify(req)})
46
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kangaroo",
3
- "version":"0.4.2-4",
3
+ "version":"0.4.2-40",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {