@daocloud-proto/hydra 0.0.0-dev-d8ebaf68 → 0.0.0-dev-0d2a5371

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.
@@ -24,6 +24,7 @@ export type WorkspaceQuota = {
24
24
  allocatedQuota?: string
25
25
  updateTime?: GoogleProtobufTimestamp.Timestamp
26
26
  unlimitedQuota?: boolean
27
+ workspaceName?: string
27
28
  }
28
29
 
29
30
  export type ListWorkspaceQuotasRequest = {
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ import * as fm from "../../../fetch.pb"
8
+
9
+ export enum Prerequisite {
10
+ PREREQUISITE_UNSPECIFIED = "PREREQUISITE_UNSPECIFIED",
11
+ PREREQUISITE_PREFLIGHT = "PREREQUISITE_PREFLIGHT",
12
+ }
13
+
14
+ export type GetPrerequisiteRequest = {
15
+ workspace?: number
16
+ cluster?: string
17
+ prerequisite?: Prerequisite
18
+ }
19
+
20
+ export type GetPrerequisiteResponse = {
21
+ ok?: boolean
22
+ }
23
+
24
+ export class Cluster {
25
+ static GetPrerequisite(req: GetPrerequisiteRequest, initReq?: fm.InitReq): Promise<GetPrerequisiteResponse> {
26
+ return fm.fetchReq<GetPrerequisiteRequest, GetPrerequisiteResponse>(`/apis/hydra.io/v1alpha1/workspaces/${req["workspace"]}/clusters/${req["cluster"]}/prerequisites/${req["prerequisite"]}?${fm.renderURLSearchParams(req, ["workspace", "cluster", "prerequisite"])}`, {...initReq, method: "GET"})
27
+ }
28
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/hydra",
3
- "version": "v0.0.0-dev-d8ebaf68",
3
+ "version": "v0.0.0-dev-0d2a5371",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"