@daocloud-proto/zestu 0.10.0-dev-13526764 → 0.10.0-dev-924dac13
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.
package/package.json
CHANGED
|
@@ -28,7 +28,21 @@ export type GetFeatureGatesRequest = {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export type GetFeatureGatesResponse = {
|
|
31
|
+
featureGate?: FeatureGate
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type FeatureGate = {
|
|
31
35
|
enableLocalStorage?: boolean
|
|
32
36
|
enableImageRegistry?: boolean
|
|
33
37
|
enableCertification?: boolean
|
|
38
|
+
enableFileStorage?: boolean
|
|
39
|
+
enableDockerInDocker?: boolean
|
|
40
|
+
enableRootfsPersistent?: boolean
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type ListFeatureGatesRequest = {
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export type ListFeatureGatesResponse = {
|
|
47
|
+
items?: {[key: string]: FeatureGate}
|
|
34
48
|
}
|
|
@@ -75,6 +75,9 @@ export class Region {
|
|
|
75
75
|
static GetFeatureGates(req: ZestuIoApiRegionV1alpha1Region.GetFeatureGatesRequest, initReq?: fm.InitReq): Promise<ZestuIoApiRegionV1alpha1Region.GetFeatureGatesResponse> {
|
|
76
76
|
return fm.fetchReq<ZestuIoApiRegionV1alpha1Region.GetFeatureGatesRequest, ZestuIoApiRegionV1alpha1Region.GetFeatureGatesResponse>(`/apis/zestu.io/v1/region/${req["regionId"]}/featuregates?${fm.renderURLSearchParams(req, ["regionId"])}`, {...initReq, method: "GET"})
|
|
77
77
|
}
|
|
78
|
+
static ListFeatureGates(req: ZestuIoApiRegionV1alpha1Region.ListFeatureGatesRequest, initReq?: fm.InitReq): Promise<ZestuIoApiRegionV1alpha1Region.ListFeatureGatesResponse> {
|
|
79
|
+
return fm.fetchReq<ZestuIoApiRegionV1alpha1Region.ListFeatureGatesRequest, ZestuIoApiRegionV1alpha1Region.ListFeatureGatesResponse>(`/apis/zestu.io/v1/featuregates?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
80
|
+
}
|
|
78
81
|
}
|
|
79
82
|
export class Resources {
|
|
80
83
|
static ListResources(req: ZestuIoApiResourcesV1alpha1Resources.ListResourcesRequest, initReq?: fm.InitReq): Promise<ZestuIoApiResourcesV1alpha1Resources.ListResourcesResponse> {
|