@daocloud-proto/kpanda 0.11.3-262 → 0.11.3-266

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.
@@ -87,4 +87,11 @@ export type Artifact = {
87
87
  export type Tag = {
88
88
  name?: string
89
89
  pushTime?: string
90
+ }
91
+
92
+ export type DetectKangarooRequest = {
93
+ }
94
+
95
+ export type DetectKangarooResponse = {
96
+ enabled?: boolean
90
97
  }
@@ -746,6 +746,9 @@ export class Registry {
746
746
  }
747
747
  }
748
748
  export class Image {
749
+ static DetectKangaroo(req: KpandaIoApiKangarooV1alpha1Image.DetectKangarooRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.DetectKangarooResponse> {
750
+ return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.DetectKangarooRequest, KpandaIoApiKangarooV1alpha1Image.DetectKangarooResponse>(`/apis/kpanda.io/v1alpha1/registries/kangaroo?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
751
+ }
749
752
  static ListRegistries(req: KpandaIoApiKangarooV1alpha1Image.ListRegistriesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.ListRegistriesResponse> {
750
753
  return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.ListRegistriesRequest, KpandaIoApiKangarooV1alpha1Image.ListRegistriesResponse>(`/apis/kpanda.io/v1alpha1/registries?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
751
754
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"0.11.3-262",
3
+ "version":"0.11.3-266",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {