@gitpod/public-api 0.1.5-sje-no-log-envvars.0 → 0.1.5-sje-kots-db-migration-logger.0

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.
Files changed (37) hide show
  1. package/lib/gitpod/{v1 → experimental/v1}/pagination_pb.d.ts +2 -2
  2. package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -0
  3. package/lib/gitpod/{v1 → experimental/v1}/pagination_pb.js +2 -2
  4. package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -0
  5. package/lib/gitpod/{v1 → experimental/v1}/pagination_pb.ts +3 -3
  6. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +74 -0
  7. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -0
  8. package/lib/gitpod/experimental/v1/workspaces_connectweb.js +81 -0
  9. package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -0
  10. package/lib/gitpod/experimental/v1/workspaces_connectweb.ts +80 -0
  11. package/lib/gitpod/{v1 → experimental/v1}/workspaces_pb.d.ts +88 -218
  12. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -0
  13. package/lib/gitpod/{v1 → experimental/v1}/workspaces_pb.js +83 -321
  14. package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -0
  15. package/lib/gitpod/{v1 → experimental/v1}/workspaces_pb.ts +114 -404
  16. package/package.json +1 -2
  17. package/pkg-yarn.lock +1 -1
  18. package/provenance-bundle.jsonl +2 -2
  19. package/lib/gitpod/v1/pagination_pb.d.ts.map +0 -1
  20. package/lib/gitpod/v1/pagination_pb.js.map +0 -1
  21. package/lib/gitpod/v1/prebuilds_connectweb.d.ts +0 -65
  22. package/lib/gitpod/v1/prebuilds_connectweb.d.ts.map +0 -1
  23. package/lib/gitpod/v1/prebuilds_connectweb.js +0 -72
  24. package/lib/gitpod/v1/prebuilds_connectweb.js.map +0 -1
  25. package/lib/gitpod/v1/prebuilds_connectweb.ts +0 -71
  26. package/lib/gitpod/v1/prebuilds_pb.d.ts +0 -281
  27. package/lib/gitpod/v1/prebuilds_pb.d.ts.map +0 -1
  28. package/lib/gitpod/v1/prebuilds_pb.js +0 -435
  29. package/lib/gitpod/v1/prebuilds_pb.js.map +0 -1
  30. package/lib/gitpod/v1/prebuilds_pb.ts +0 -540
  31. package/lib/gitpod/v1/workspaces_connectweb.d.ts +0 -134
  32. package/lib/gitpod/v1/workspaces_connectweb.d.ts.map +0 -1
  33. package/lib/gitpod/v1/workspaces_connectweb.js +0 -141
  34. package/lib/gitpod/v1/workspaces_connectweb.js.map +0 -1
  35. package/lib/gitpod/v1/workspaces_connectweb.ts +0 -140
  36. package/lib/gitpod/v1/workspaces_pb.d.ts.map +0 -1
  37. package/lib/gitpod/v1/workspaces_pb.js.map +0 -1
@@ -6,7 +6,7 @@
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Message } from "@bufbuild/protobuf";
8
8
  /**
9
- * @generated from message gitpod.v1.Pagination
9
+ * @generated from message gitpod.experimental.v1.Pagination
10
10
  */
11
11
  export declare class Pagination extends Message<Pagination> {
12
12
  /**
@@ -23,7 +23,7 @@ export declare class Pagination extends Message<Pagination> {
23
23
  pageToken: string;
24
24
  constructor(data?: PartialMessage<Pagination>);
25
25
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
26
- static readonly typeName = "gitpod.v1.Pagination";
26
+ static readonly typeName = "gitpod.experimental.v1.Pagination";
27
27
  static readonly fields: FieldList;
28
28
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pagination;
29
29
  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pagination;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination_pb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/pagination_pb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,KAAK,EAAC,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAC/H,OAAO,EAAC,OAAO,EAAS,MAAM,oBAAoB,CAAC;AAEnD;;GAEG;AACH,qBAAa,UAAW,SAAQ,OAAO,CAAC,UAAU,CAAC;IACjD;;;;OAIG;IACH,QAAQ,SAAK;IAEb;;;;OAIG;IACH,SAAS,SAAM;gBAEH,IAAI,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC;IAK7C,MAAM,CAAC,QAAQ,CAAC,OAAO,6EAAU;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,uCAAuC;IAC/D,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAG9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,UAAU;IAItF,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,UAAU;IAIrF,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,UAAU;IAIzF,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnI"}
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.Pagination = void 0;
9
9
  const protobuf_1 = require("@bufbuild/protobuf");
10
10
  /**
11
- * @generated from message gitpod.v1.Pagination
11
+ * @generated from message gitpod.experimental.v1.Pagination
12
12
  */
13
13
  class Pagination extends protobuf_1.Message {
14
14
  constructor(data) {
@@ -42,7 +42,7 @@ class Pagination extends protobuf_1.Message {
42
42
  }
43
43
  exports.Pagination = Pagination;
44
44
  Pagination.runtime = protobuf_1.proto3;
45
- Pagination.typeName = "gitpod.v1.Pagination";
45
+ Pagination.typeName = "gitpod.experimental.v1.Pagination";
46
46
  Pagination.fields = protobuf_1.proto3.util.newFieldList(() => [
47
47
  { no: 1, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
48
48
  { no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination_pb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/pagination_pb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAQH,iDAAmD;AAEnD;;GAEG;AACH,MAAa,UAAW,SAAQ,kBAAmB;IAejD,YAAY,IAAiC;QAC3C,KAAK,EAAE,CAAC;QAfV;;;;WAIG;QACH,aAAQ,GAAG,CAAC,CAAC;QAEb;;;;WAIG;QACH,cAAS,GAAG,EAAE,CAAC;QAIb,iBAAM,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACtC,CAAC;IASD,MAAM,CAAC,UAAU,CAAC,KAAiB,EAAE,OAAoC;QACvE,OAAO,IAAI,UAAU,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,SAAoB,EAAE,OAAkC;QACtE,OAAO,IAAI,UAAU,EAAE,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,UAAkB,EAAE,OAAkC;QAC1E,OAAO,IAAI,UAAU,EAAE,CAAC,cAAc,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,CAAoD,EAAE,CAAoD;QACtH,OAAO,iBAAM,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAC9C,CAAC;;AAzCH,gCA0CC;AAtBiB,kBAAO,GAAG,iBAAM,CAAC;AACjB,mBAAQ,GAAG,mCAAmC,CAAC;AAC/C,iBAAM,GAAc,iBAAM,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;IACjE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,sBAAsB,EAAE;IACzE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,uBAAuB,EAAE;CAC5E,CAAC,CAAC"}
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  // @generated by protoc-gen-es v0.1.1 with parameter "target=ts"
8
- // @generated from file gitpod/v1/pagination.proto (package gitpod.v1, syntax proto3)
8
+ // @generated from file gitpod/experimental/v1/pagination.proto (package gitpod.experimental.v1, syntax proto3)
9
9
  /* eslint-disable */
10
10
  /* @ts-nocheck */
11
11
 
@@ -13,7 +13,7 @@ import type {BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMe
13
13
  import {Message, proto3} from "@bufbuild/protobuf";
14
14
 
15
15
  /**
16
- * @generated from message gitpod.v1.Pagination
16
+ * @generated from message gitpod.experimental.v1.Pagination
17
17
  */
18
18
  export class Pagination extends Message<Pagination> {
19
19
  /**
@@ -36,7 +36,7 @@ export class Pagination extends Message<Pagination> {
36
36
  }
37
37
 
38
38
  static readonly runtime = proto3;
39
- static readonly typeName = "gitpod.v1.Pagination";
39
+ static readonly typeName = "gitpod.experimental.v1.Pagination";
40
40
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
41
41
  { no: 1, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
42
42
  { no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -0,0 +1,74 @@
1
+ /**
2
+ * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
+ * Licensed under the GNU Affero General Public License (AGPL).
4
+ * See License-AGPL.txt in the project root for license information.
5
+ */
6
+ import { CreateAndStartWorkspaceRequest, CreateAndStartWorkspaceResponse, GetOwnerTokenRequest, GetOwnerTokenResponse, GetWorkspaceRequest, GetWorkspaceResponse, ListWorkspacesRequest, ListWorkspacesResponse, StopWorkspaceRequest, StopWorkspaceResponse } from "./workspaces_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+ /**
9
+ * @generated from service gitpod.experimental.v1.WorkspacesService
10
+ */
11
+ export declare const WorkspacesService: {
12
+ readonly typeName: "gitpod.experimental.v1.WorkspacesService";
13
+ readonly methods: {
14
+ /**
15
+ * ListWorkspaces enumerates all workspaces belonging to the authenticated user.
16
+ *
17
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.ListWorkspaces
18
+ */
19
+ readonly listWorkspaces: {
20
+ readonly name: "ListWorkspaces";
21
+ readonly I: typeof ListWorkspacesRequest;
22
+ readonly O: typeof ListWorkspacesResponse;
23
+ readonly kind: MethodKind.Unary;
24
+ };
25
+ /**
26
+ * GetWorkspace returns a single workspace.
27
+ *
28
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.GetWorkspace
29
+ */
30
+ readonly getWorkspace: {
31
+ readonly name: "GetWorkspace";
32
+ readonly I: typeof GetWorkspaceRequest;
33
+ readonly O: typeof GetWorkspaceResponse;
34
+ readonly kind: MethodKind.Unary;
35
+ };
36
+ /**
37
+ * GetOwnerToken returns an owner token.
38
+ *
39
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.GetOwnerToken
40
+ */
41
+ readonly getOwnerToken: {
42
+ readonly name: "GetOwnerToken";
43
+ readonly I: typeof GetOwnerTokenRequest;
44
+ readonly O: typeof GetOwnerTokenResponse;
45
+ readonly kind: MethodKind.Unary;
46
+ };
47
+ /**
48
+ * CreateAndStartWorkspace creates a new workspace and starts it.
49
+ *
50
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.CreateAndStartWorkspace
51
+ */
52
+ readonly createAndStartWorkspace: {
53
+ readonly name: "CreateAndStartWorkspace";
54
+ readonly I: typeof CreateAndStartWorkspaceRequest;
55
+ readonly O: typeof CreateAndStartWorkspaceResponse;
56
+ readonly kind: MethodKind.Unary;
57
+ };
58
+ /**
59
+ * StopWorkspace stops a running workspace (instance).
60
+ * Errors:
61
+ * NOT_FOUND: the workspace_id is unkown
62
+ * FAILED_PRECONDITION: if there's no running instance
63
+ *
64
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.StopWorkspace
65
+ */
66
+ readonly stopWorkspace: {
67
+ readonly name: "StopWorkspace";
68
+ readonly I: typeof StopWorkspaceRequest;
69
+ readonly O: typeof StopWorkspaceResponse;
70
+ readonly kind: MethodKind.ServerStreaming;
71
+ };
72
+ };
73
+ };
74
+ //# sourceMappingURL=workspaces_connectweb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces_connectweb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/workspaces_connectweb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAC,8BAA8B,EAAE,+BAA+B,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;AACvR,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;QAG1B;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;;;WAOG;;;;;;;;CAQG,CAAC"}
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
4
+ * Licensed under the GNU Affero General Public License (AGPL).
5
+ * See License-AGPL.txt in the project root for license information.
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.WorkspacesService = void 0;
9
+ // @generated by protoc-gen-connect-web v0.2.1 with parameter "target=ts"
10
+ // @generated from file gitpod/experimental/v1/workspaces.proto (package gitpod.experimental.v1, syntax proto3)
11
+ /* eslint-disable */
12
+ /* @ts-nocheck */
13
+ const workspaces_pb_js_1 = require("./workspaces_pb.js");
14
+ const protobuf_1 = require("@bufbuild/protobuf");
15
+ /**
16
+ * @generated from service gitpod.experimental.v1.WorkspacesService
17
+ */
18
+ exports.WorkspacesService = {
19
+ typeName: "gitpod.experimental.v1.WorkspacesService",
20
+ methods: {
21
+ /**
22
+ * ListWorkspaces enumerates all workspaces belonging to the authenticated user.
23
+ *
24
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.ListWorkspaces
25
+ */
26
+ listWorkspaces: {
27
+ name: "ListWorkspaces",
28
+ I: workspaces_pb_js_1.ListWorkspacesRequest,
29
+ O: workspaces_pb_js_1.ListWorkspacesResponse,
30
+ kind: protobuf_1.MethodKind.Unary,
31
+ },
32
+ /**
33
+ * GetWorkspace returns a single workspace.
34
+ *
35
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.GetWorkspace
36
+ */
37
+ getWorkspace: {
38
+ name: "GetWorkspace",
39
+ I: workspaces_pb_js_1.GetWorkspaceRequest,
40
+ O: workspaces_pb_js_1.GetWorkspaceResponse,
41
+ kind: protobuf_1.MethodKind.Unary,
42
+ },
43
+ /**
44
+ * GetOwnerToken returns an owner token.
45
+ *
46
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.GetOwnerToken
47
+ */
48
+ getOwnerToken: {
49
+ name: "GetOwnerToken",
50
+ I: workspaces_pb_js_1.GetOwnerTokenRequest,
51
+ O: workspaces_pb_js_1.GetOwnerTokenResponse,
52
+ kind: protobuf_1.MethodKind.Unary,
53
+ },
54
+ /**
55
+ * CreateAndStartWorkspace creates a new workspace and starts it.
56
+ *
57
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.CreateAndStartWorkspace
58
+ */
59
+ createAndStartWorkspace: {
60
+ name: "CreateAndStartWorkspace",
61
+ I: workspaces_pb_js_1.CreateAndStartWorkspaceRequest,
62
+ O: workspaces_pb_js_1.CreateAndStartWorkspaceResponse,
63
+ kind: protobuf_1.MethodKind.Unary,
64
+ },
65
+ /**
66
+ * StopWorkspace stops a running workspace (instance).
67
+ * Errors:
68
+ * NOT_FOUND: the workspace_id is unkown
69
+ * FAILED_PRECONDITION: if there's no running instance
70
+ *
71
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.StopWorkspace
72
+ */
73
+ stopWorkspace: {
74
+ name: "StopWorkspace",
75
+ I: workspaces_pb_js_1.StopWorkspaceRequest,
76
+ O: workspaces_pb_js_1.StopWorkspaceResponse,
77
+ kind: protobuf_1.MethodKind.ServerStreaming,
78
+ },
79
+ }
80
+ };
81
+ //# sourceMappingURL=workspaces_connectweb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces_connectweb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/workspaces_connectweb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,yEAAyE;AACzE,+GAA+G;AAC/G,oBAAoB;AACpB,iBAAiB;AAEjB,yDAAuR;AACvR,iDAA8C;AAE9C;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,QAAQ,EAAE,0CAA0C;IACpD,OAAO,EAAE;QACP;;;;WAIG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,wCAAqB;YACxB,CAAC,EAAE,yCAAsB;YACzB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,sCAAmB;YACtB,CAAC,EAAE,uCAAoB;YACvB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,uCAAoB;YACvB,CAAC,EAAE,wCAAqB;YACxB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,uBAAuB,EAAE;YACvB,IAAI,EAAE,yBAAyB;YAC/B,CAAC,EAAE,iDAA8B;YACjC,CAAC,EAAE,kDAA+B;YAClC,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,uCAAoB;YACvB,CAAC,EAAE,wCAAqB;YACxB,IAAI,EAAE,qBAAU,CAAC,eAAe;SACjC;KACF;CACO,CAAC"}
@@ -0,0 +1,80 @@
1
+ /**
2
+ * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
+ * Licensed under the GNU Affero General Public License (AGPL).
4
+ * See License-AGPL.txt in the project root for license information.
5
+ */
6
+
7
+ // @generated by protoc-gen-connect-web v0.2.1 with parameter "target=ts"
8
+ // @generated from file gitpod/experimental/v1/workspaces.proto (package gitpod.experimental.v1, syntax proto3)
9
+ /* eslint-disable */
10
+ /* @ts-nocheck */
11
+
12
+ import {CreateAndStartWorkspaceRequest, CreateAndStartWorkspaceResponse, GetOwnerTokenRequest, GetOwnerTokenResponse, GetWorkspaceRequest, GetWorkspaceResponse, ListWorkspacesRequest, ListWorkspacesResponse, StopWorkspaceRequest, StopWorkspaceResponse} from "./workspaces_pb.js";
13
+ import {MethodKind} from "@bufbuild/protobuf";
14
+
15
+ /**
16
+ * @generated from service gitpod.experimental.v1.WorkspacesService
17
+ */
18
+ export const WorkspacesService = {
19
+ typeName: "gitpod.experimental.v1.WorkspacesService",
20
+ methods: {
21
+ /**
22
+ * ListWorkspaces enumerates all workspaces belonging to the authenticated user.
23
+ *
24
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.ListWorkspaces
25
+ */
26
+ listWorkspaces: {
27
+ name: "ListWorkspaces",
28
+ I: ListWorkspacesRequest,
29
+ O: ListWorkspacesResponse,
30
+ kind: MethodKind.Unary,
31
+ },
32
+ /**
33
+ * GetWorkspace returns a single workspace.
34
+ *
35
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.GetWorkspace
36
+ */
37
+ getWorkspace: {
38
+ name: "GetWorkspace",
39
+ I: GetWorkspaceRequest,
40
+ O: GetWorkspaceResponse,
41
+ kind: MethodKind.Unary,
42
+ },
43
+ /**
44
+ * GetOwnerToken returns an owner token.
45
+ *
46
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.GetOwnerToken
47
+ */
48
+ getOwnerToken: {
49
+ name: "GetOwnerToken",
50
+ I: GetOwnerTokenRequest,
51
+ O: GetOwnerTokenResponse,
52
+ kind: MethodKind.Unary,
53
+ },
54
+ /**
55
+ * CreateAndStartWorkspace creates a new workspace and starts it.
56
+ *
57
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.CreateAndStartWorkspace
58
+ */
59
+ createAndStartWorkspace: {
60
+ name: "CreateAndStartWorkspace",
61
+ I: CreateAndStartWorkspaceRequest,
62
+ O: CreateAndStartWorkspaceResponse,
63
+ kind: MethodKind.Unary,
64
+ },
65
+ /**
66
+ * StopWorkspace stops a running workspace (instance).
67
+ * Errors:
68
+ * NOT_FOUND: the workspace_id is unkown
69
+ * FAILED_PRECONDITION: if there's no running instance
70
+ *
71
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.StopWorkspace
72
+ */
73
+ stopWorkspace: {
74
+ name: "StopWorkspace",
75
+ I: StopWorkspaceRequest,
76
+ O: StopWorkspaceResponse,
77
+ kind: MethodKind.ServerStreaming,
78
+ },
79
+ }
80
+ } as const;