@daocloud-proto/kangaroo 0.5.0-340 → 0.5.0-342

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.
@@ -57,4 +57,7 @@ export class Harbor {
57
57
  static GetVerifyDependService(req: KangarooIoApiTypesObjectmeta.ObjectMeta, initReq?: fm.InitReq): Promise<KangarooIoApiHarborV1alpha1Harbor.CheckDependServiceResponse> {
58
58
  return fm.fetchReq<KangarooIoApiTypesObjectmeta.ObjectMeta, KangarooIoApiHarborV1alpha1Harbor.CheckDependServiceResponse>(`/apis/kangaroo.io/v1alpha1/cluster/${req["cluster"]}/namespace/${req["namespace"]}/harbors/${req["name"]}/verify?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
59
59
  }
60
+ static SyncHarborStatus(req: KangarooIoApiTypesObjectmeta.ObjectMeta, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
61
+ return fm.fetchReq<KangarooIoApiTypesObjectmeta.ObjectMeta, GoogleProtobufEmpty.Empty>(`/apis/kangaroo.io/v1alpha1/cluster/${req["cluster"]}/namespace/${req["namespace"]}/harbors/${req["name"]}/sync?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
62
+ }
60
63
  }
@@ -249,6 +249,7 @@ export type ListRegistryProjectRequest = {
249
249
  registry?: string
250
250
  page?: number
251
251
  pageSize?: number
252
+ onlyBind?: boolean
252
253
  }
253
254
 
254
255
  export type RegistryProjectResponse = {
@@ -175,4 +175,14 @@ export type GetRegistryTypeRequest = {
175
175
  export type GetRegistryTypeResponse = {
176
176
  registry?: string
177
177
  type?: RegistryType
178
+ }
179
+
180
+ export type RegistryRobotInfoRequest = {
181
+ registry?: string
182
+ workspace?: string
183
+ }
184
+
185
+ export type RegistryRobotInfoResponse = {
186
+ username?: string
187
+ password?: string
178
188
  }
@@ -95,4 +95,7 @@ export class Replications {
95
95
  static UpdatePolicy(req: KangarooIoApiRegistryV1alpha1Replication.UpdatePolicyRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
96
96
  return fm.fetchReq<KangarooIoApiRegistryV1alpha1Replication.UpdatePolicyRequest, GoogleProtobufEmpty.Empty>(`/apis/kangaroo.io/v1alpha1/registries/${req["registry"]}/policies/${req["policyId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req)})
97
97
  }
98
+ static GetRegistryRobotInfo(req: KangarooIoApiRegistryV1alpha1Registry.RegistryRobotInfoRequest, initReq?: fm.InitReq): Promise<KangarooIoApiRegistryV1alpha1Registry.RegistryRobotInfoResponse> {
99
+ return fm.fetchReq<KangarooIoApiRegistryV1alpha1Registry.RegistryRobotInfoRequest, KangarooIoApiRegistryV1alpha1Registry.RegistryRobotInfoResponse>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspace"]}/registries/${req["registry"]}/robot_info?${fm.renderURLSearchParams(req, ["workspace", "registry"])}`, {...initReq, method: "GET"})
100
+ }
98
101
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kangaroo",
3
- "version":"0.5.0-340",
3
+ "version":"0.5.0-342",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {