@gitpod/public-api 0.1.5-vn-jetbrains-backend-plugin-223.6 → 0.1.5-wk-inte-test-20230117000019.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/gitpod/experimental/v1/ide_client_connectweb.d.ts +38 -0
- package/lib/gitpod/experimental/v1/ide_client_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/ide_client_connectweb.js +45 -0
- package/lib/gitpod/experimental/v1/ide_client_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.d.ts +68 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.js +122 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/index.d.ts +9 -0
- package/lib/gitpod/experimental/v1/index.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/index.js +21 -0
- package/lib/gitpod/experimental/v1/index.js.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.d.ts +71 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.js +78 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_pb.d.ts +467 -0
- package/lib/gitpod/experimental/v1/oidc_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_pb.js +658 -0
- package/lib/gitpod/experimental/v1/oidc_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/pagination_pb.d.ts +36 -0
- package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/pagination_pb.js +53 -0
- package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.d.ts +60 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.js +67 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/projects_pb.d.ts +319 -0
- package/lib/gitpod/experimental/v1/projects_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/projects_pb.js +474 -0
- package/lib/gitpod/experimental/v1/projects_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts +104 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.js +111 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/teams_pb.d.ts +433 -0
- package/lib/gitpod/experimental/v1/teams_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/teams_pb.js +671 -0
- package/lib/gitpod/experimental/v1/teams_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts +82 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.js +89 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_pb.d.ts +285 -0
- package/lib/gitpod/experimental/v1/tokens_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_pb.js +422 -0
- package/lib/gitpod/experimental/v1/tokens_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/user_connectweb.d.ts +80 -0
- package/lib/gitpod/experimental/v1/user_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/user_connectweb.js +87 -0
- package/lib/gitpod/experimental/v1/user_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/user_pb.d.ts +343 -0
- package/lib/gitpod/experimental/v1/user_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/user_pb.js +534 -0
- package/lib/gitpod/experimental/v1/user_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts +43 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.js +50 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_pb.d.ts +153 -0
- package/lib/gitpod/experimental/v1/workspace_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_pb.js +254 -0
- package/lib/gitpod/experimental/v1/workspace_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +107 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js +114 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts +874 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.js +1235 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -0
- package/package.json +10 -12
- package/pkg-yarn.lock +5 -5
- package/provenance-bundle.jsonl +2 -2
- package/lib/gitpod/v1/pagination_grpc_pb.js +0 -7
- package/lib/gitpod/v1/pagination_pb.d.ts +0 -36
- package/lib/gitpod/v1/pagination_pb.js +0 -206
- package/lib/gitpod/v1/prebuilds_grpc_pb.d.ts +0 -95
- package/lib/gitpod/v1/prebuilds_grpc_pb.js +0 -161
- package/lib/gitpod/v1/prebuilds_pb.d.ts +0 -283
- package/lib/gitpod/v1/prebuilds_pb.js +0 -1997
- package/lib/gitpod/v1/workspaces_grpc_pb.d.ts +0 -197
- package/lib/gitpod/v1/workspaces_grpc_pb.js +0 -368
- package/lib/gitpod/v1/workspaces_pb.d.ts +0 -810
- package/lib/gitpod/v1/workspaces_pb.js +0 -5976
@@ -0,0 +1,153 @@
|
|
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 type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
7
|
+
import { Message } from "@bufbuild/protobuf";
|
8
|
+
import { WorkspaceInstance } from "./workspaces_pb.js";
|
9
|
+
/**
|
10
|
+
* @generated from enum gitpod.experimental.v1.PortVisibility
|
11
|
+
*/
|
12
|
+
export declare enum PortVisibility {
|
13
|
+
/**
|
14
|
+
* @generated from enum value: PORT_VISIBILITY_UNSPECIFIED = 0;
|
15
|
+
*/
|
16
|
+
UNSPECIFIED = 0,
|
17
|
+
/**
|
18
|
+
* @generated from enum value: PORT_VISIBILITY_PUBLIC = 1;
|
19
|
+
*/
|
20
|
+
PUBLIC = 1,
|
21
|
+
/**
|
22
|
+
* @generated from enum value: PORT_VISIBILITY_PRIVATE = 2;
|
23
|
+
*/
|
24
|
+
PRIVATE = 2
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* @generated from message gitpod.experimental.v1.OpenPortRequest
|
28
|
+
*/
|
29
|
+
export declare class OpenPortRequest extends Message<OpenPortRequest> {
|
30
|
+
/**
|
31
|
+
* @generated from field: string workspace_id = 1;
|
32
|
+
*/
|
33
|
+
workspaceId: string;
|
34
|
+
constructor(data?: PartialMessage<OpenPortRequest>);
|
35
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
36
|
+
static readonly typeName = "gitpod.experimental.v1.OpenPortRequest";
|
37
|
+
static readonly fields: FieldList;
|
38
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpenPortRequest;
|
39
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpenPortRequest;
|
40
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpenPortRequest;
|
41
|
+
static equals(a: OpenPortRequest | PlainMessage<OpenPortRequest> | undefined, b: OpenPortRequest | PlainMessage<OpenPortRequest> | undefined): boolean;
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* @generated from message gitpod.experimental.v1.OpenPortResponse
|
45
|
+
*/
|
46
|
+
export declare class OpenPortResponse extends Message<OpenPortResponse> {
|
47
|
+
/**
|
48
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceInstancePort port = 1;
|
49
|
+
*/
|
50
|
+
port?: WorkspaceInstancePort;
|
51
|
+
constructor(data?: PartialMessage<OpenPortResponse>);
|
52
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
53
|
+
static readonly typeName = "gitpod.experimental.v1.OpenPortResponse";
|
54
|
+
static readonly fields: FieldList;
|
55
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpenPortResponse;
|
56
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpenPortResponse;
|
57
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpenPortResponse;
|
58
|
+
static equals(a: OpenPortResponse | PlainMessage<OpenPortResponse> | undefined, b: OpenPortResponse | PlainMessage<OpenPortResponse> | undefined): boolean;
|
59
|
+
}
|
60
|
+
/**
|
61
|
+
* @generated from message gitpod.experimental.v1.WorkspaceInstancePort
|
62
|
+
*/
|
63
|
+
export declare class WorkspaceInstancePort extends Message<WorkspaceInstancePort> {
|
64
|
+
/**
|
65
|
+
* @generated from field: int32 port = 1;
|
66
|
+
*/
|
67
|
+
port: number;
|
68
|
+
/**
|
69
|
+
* @generated from field: string url = 2;
|
70
|
+
*/
|
71
|
+
url: string;
|
72
|
+
/**
|
73
|
+
* @generated from field: gitpod.experimental.v1.PortVisibility visibility = 3;
|
74
|
+
*/
|
75
|
+
visibility: PortVisibility;
|
76
|
+
constructor(data?: PartialMessage<WorkspaceInstancePort>);
|
77
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
78
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceInstancePort";
|
79
|
+
static readonly fields: FieldList;
|
80
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceInstancePort;
|
81
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceInstancePort;
|
82
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceInstancePort;
|
83
|
+
static equals(a: WorkspaceInstancePort | PlainMessage<WorkspaceInstancePort> | undefined, b: WorkspaceInstancePort | PlainMessage<WorkspaceInstancePort> | undefined): boolean;
|
84
|
+
}
|
85
|
+
/**
|
86
|
+
* @generated from message gitpod.experimental.v1.GetOpenPortsRequest
|
87
|
+
*/
|
88
|
+
export declare class GetOpenPortsRequest extends Message<GetOpenPortsRequest> {
|
89
|
+
/**
|
90
|
+
* @generated from field: string workspace_id = 1;
|
91
|
+
*/
|
92
|
+
workspaceId: string;
|
93
|
+
constructor(data?: PartialMessage<GetOpenPortsRequest>);
|
94
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
95
|
+
static readonly typeName = "gitpod.experimental.v1.GetOpenPortsRequest";
|
96
|
+
static readonly fields: FieldList;
|
97
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOpenPortsRequest;
|
98
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOpenPortsRequest;
|
99
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOpenPortsRequest;
|
100
|
+
static equals(a: GetOpenPortsRequest | PlainMessage<GetOpenPortsRequest> | undefined, b: GetOpenPortsRequest | PlainMessage<GetOpenPortsRequest> | undefined): boolean;
|
101
|
+
}
|
102
|
+
/**
|
103
|
+
* @generated from message gitpod.experimental.v1.GetOpenPortsResponse
|
104
|
+
*/
|
105
|
+
export declare class GetOpenPortsResponse extends Message<GetOpenPortsResponse> {
|
106
|
+
/**
|
107
|
+
* @generated from field: repeated gitpod.experimental.v1.WorkspaceInstancePort ports = 1;
|
108
|
+
*/
|
109
|
+
ports: WorkspaceInstancePort[];
|
110
|
+
constructor(data?: PartialMessage<GetOpenPortsResponse>);
|
111
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
112
|
+
static readonly typeName = "gitpod.experimental.v1.GetOpenPortsResponse";
|
113
|
+
static readonly fields: FieldList;
|
114
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOpenPortsResponse;
|
115
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOpenPortsResponse;
|
116
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOpenPortsResponse;
|
117
|
+
static equals(a: GetOpenPortsResponse | PlainMessage<GetOpenPortsResponse> | undefined, b: GetOpenPortsResponse | PlainMessage<GetOpenPortsResponse> | undefined): boolean;
|
118
|
+
}
|
119
|
+
/**
|
120
|
+
* @generated from message gitpod.experimental.v1.InstanceUpdatesRequest
|
121
|
+
*/
|
122
|
+
export declare class InstanceUpdatesRequest extends Message<InstanceUpdatesRequest> {
|
123
|
+
/**
|
124
|
+
* @generated from field: string instance_id = 1;
|
125
|
+
*/
|
126
|
+
instanceId: string;
|
127
|
+
constructor(data?: PartialMessage<InstanceUpdatesRequest>);
|
128
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
129
|
+
static readonly typeName = "gitpod.experimental.v1.InstanceUpdatesRequest";
|
130
|
+
static readonly fields: FieldList;
|
131
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InstanceUpdatesRequest;
|
132
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InstanceUpdatesRequest;
|
133
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InstanceUpdatesRequest;
|
134
|
+
static equals(a: InstanceUpdatesRequest | PlainMessage<InstanceUpdatesRequest> | undefined, b: InstanceUpdatesRequest | PlainMessage<InstanceUpdatesRequest> | undefined): boolean;
|
135
|
+
}
|
136
|
+
/**
|
137
|
+
* @generated from message gitpod.experimental.v1.InstanceUpdatesResponse
|
138
|
+
*/
|
139
|
+
export declare class InstanceUpdatesResponse extends Message<InstanceUpdatesResponse> {
|
140
|
+
/**
|
141
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceInstance instance = 1;
|
142
|
+
*/
|
143
|
+
instance?: WorkspaceInstance;
|
144
|
+
constructor(data?: PartialMessage<InstanceUpdatesResponse>);
|
145
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
146
|
+
static readonly typeName = "gitpod.experimental.v1.InstanceUpdatesResponse";
|
147
|
+
static readonly fields: FieldList;
|
148
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InstanceUpdatesResponse;
|
149
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InstanceUpdatesResponse;
|
150
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InstanceUpdatesResponse;
|
151
|
+
static equals(a: InstanceUpdatesResponse | PlainMessage<InstanceUpdatesResponse> | undefined, b: InstanceUpdatesResponse | PlainMessage<InstanceUpdatesResponse> | undefined): boolean;
|
152
|
+
}
|
153
|
+
//# sourceMappingURL=workspace_pb.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"workspace_pb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/workspace_pb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,KAAK,EACR,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,SAAS,EACT,cAAc,EACd,YAAY,EACf,MAAM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
|
+
* 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.InstanceUpdatesResponse = exports.InstanceUpdatesRequest = exports.GetOpenPortsResponse = exports.GetOpenPortsRequest = exports.WorkspaceInstancePort = exports.OpenPortResponse = exports.OpenPortRequest = exports.PortVisibility = void 0;
|
9
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
10
|
+
const workspaces_pb_js_1 = require("./workspaces_pb.js");
|
11
|
+
/**
|
12
|
+
* @generated from enum gitpod.experimental.v1.PortVisibility
|
13
|
+
*/
|
14
|
+
var PortVisibility;
|
15
|
+
(function (PortVisibility) {
|
16
|
+
/**
|
17
|
+
* @generated from enum value: PORT_VISIBILITY_UNSPECIFIED = 0;
|
18
|
+
*/
|
19
|
+
PortVisibility[PortVisibility["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
20
|
+
/**
|
21
|
+
* @generated from enum value: PORT_VISIBILITY_PUBLIC = 1;
|
22
|
+
*/
|
23
|
+
PortVisibility[PortVisibility["PUBLIC"] = 1] = "PUBLIC";
|
24
|
+
/**
|
25
|
+
* @generated from enum value: PORT_VISIBILITY_PRIVATE = 2;
|
26
|
+
*/
|
27
|
+
PortVisibility[PortVisibility["PRIVATE"] = 2] = "PRIVATE";
|
28
|
+
})(PortVisibility = exports.PortVisibility || (exports.PortVisibility = {}));
|
29
|
+
// Retrieve enum metadata with: proto3.getEnumType(PortVisibility)
|
30
|
+
protobuf_1.proto3.util.setEnumType(PortVisibility, "gitpod.experimental.v1.PortVisibility", [
|
31
|
+
{ no: 0, name: "PORT_VISIBILITY_UNSPECIFIED" },
|
32
|
+
{ no: 1, name: "PORT_VISIBILITY_PUBLIC" },
|
33
|
+
{ no: 2, name: "PORT_VISIBILITY_PRIVATE" },
|
34
|
+
]);
|
35
|
+
/**
|
36
|
+
* @generated from message gitpod.experimental.v1.OpenPortRequest
|
37
|
+
*/
|
38
|
+
class OpenPortRequest extends protobuf_1.Message {
|
39
|
+
constructor(data) {
|
40
|
+
super();
|
41
|
+
/**
|
42
|
+
* @generated from field: string workspace_id = 1;
|
43
|
+
*/
|
44
|
+
this.workspaceId = "";
|
45
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
46
|
+
}
|
47
|
+
static fromBinary(bytes, options) {
|
48
|
+
return new OpenPortRequest().fromBinary(bytes, options);
|
49
|
+
}
|
50
|
+
static fromJson(jsonValue, options) {
|
51
|
+
return new OpenPortRequest().fromJson(jsonValue, options);
|
52
|
+
}
|
53
|
+
static fromJsonString(jsonString, options) {
|
54
|
+
return new OpenPortRequest().fromJsonString(jsonString, options);
|
55
|
+
}
|
56
|
+
static equals(a, b) {
|
57
|
+
return protobuf_1.proto3.util.equals(OpenPortRequest, a, b);
|
58
|
+
}
|
59
|
+
}
|
60
|
+
exports.OpenPortRequest = OpenPortRequest;
|
61
|
+
OpenPortRequest.runtime = protobuf_1.proto3;
|
62
|
+
OpenPortRequest.typeName = "gitpod.experimental.v1.OpenPortRequest";
|
63
|
+
OpenPortRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
64
|
+
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
65
|
+
]);
|
66
|
+
/**
|
67
|
+
* @generated from message gitpod.experimental.v1.OpenPortResponse
|
68
|
+
*/
|
69
|
+
class OpenPortResponse extends protobuf_1.Message {
|
70
|
+
constructor(data) {
|
71
|
+
super();
|
72
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
73
|
+
}
|
74
|
+
static fromBinary(bytes, options) {
|
75
|
+
return new OpenPortResponse().fromBinary(bytes, options);
|
76
|
+
}
|
77
|
+
static fromJson(jsonValue, options) {
|
78
|
+
return new OpenPortResponse().fromJson(jsonValue, options);
|
79
|
+
}
|
80
|
+
static fromJsonString(jsonString, options) {
|
81
|
+
return new OpenPortResponse().fromJsonString(jsonString, options);
|
82
|
+
}
|
83
|
+
static equals(a, b) {
|
84
|
+
return protobuf_1.proto3.util.equals(OpenPortResponse, a, b);
|
85
|
+
}
|
86
|
+
}
|
87
|
+
exports.OpenPortResponse = OpenPortResponse;
|
88
|
+
OpenPortResponse.runtime = protobuf_1.proto3;
|
89
|
+
OpenPortResponse.typeName = "gitpod.experimental.v1.OpenPortResponse";
|
90
|
+
OpenPortResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
91
|
+
{ no: 1, name: "port", kind: "message", T: WorkspaceInstancePort },
|
92
|
+
]);
|
93
|
+
/**
|
94
|
+
* @generated from message gitpod.experimental.v1.WorkspaceInstancePort
|
95
|
+
*/
|
96
|
+
class WorkspaceInstancePort extends protobuf_1.Message {
|
97
|
+
constructor(data) {
|
98
|
+
super();
|
99
|
+
/**
|
100
|
+
* @generated from field: int32 port = 1;
|
101
|
+
*/
|
102
|
+
this.port = 0;
|
103
|
+
/**
|
104
|
+
* @generated from field: string url = 2;
|
105
|
+
*/
|
106
|
+
this.url = "";
|
107
|
+
/**
|
108
|
+
* @generated from field: gitpod.experimental.v1.PortVisibility visibility = 3;
|
109
|
+
*/
|
110
|
+
this.visibility = PortVisibility.UNSPECIFIED;
|
111
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
112
|
+
}
|
113
|
+
static fromBinary(bytes, options) {
|
114
|
+
return new WorkspaceInstancePort().fromBinary(bytes, options);
|
115
|
+
}
|
116
|
+
static fromJson(jsonValue, options) {
|
117
|
+
return new WorkspaceInstancePort().fromJson(jsonValue, options);
|
118
|
+
}
|
119
|
+
static fromJsonString(jsonString, options) {
|
120
|
+
return new WorkspaceInstancePort().fromJsonString(jsonString, options);
|
121
|
+
}
|
122
|
+
static equals(a, b) {
|
123
|
+
return protobuf_1.proto3.util.equals(WorkspaceInstancePort, a, b);
|
124
|
+
}
|
125
|
+
}
|
126
|
+
exports.WorkspaceInstancePort = WorkspaceInstancePort;
|
127
|
+
WorkspaceInstancePort.runtime = protobuf_1.proto3;
|
128
|
+
WorkspaceInstancePort.typeName = "gitpod.experimental.v1.WorkspaceInstancePort";
|
129
|
+
WorkspaceInstancePort.fields = protobuf_1.proto3.util.newFieldList(() => [
|
130
|
+
{ no: 1, name: "port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
131
|
+
{ no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
132
|
+
{ no: 3, name: "visibility", kind: "enum", T: protobuf_1.proto3.getEnumType(PortVisibility) },
|
133
|
+
]);
|
134
|
+
/**
|
135
|
+
* @generated from message gitpod.experimental.v1.GetOpenPortsRequest
|
136
|
+
*/
|
137
|
+
class GetOpenPortsRequest extends protobuf_1.Message {
|
138
|
+
constructor(data) {
|
139
|
+
super();
|
140
|
+
/**
|
141
|
+
* @generated from field: string workspace_id = 1;
|
142
|
+
*/
|
143
|
+
this.workspaceId = "";
|
144
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
145
|
+
}
|
146
|
+
static fromBinary(bytes, options) {
|
147
|
+
return new GetOpenPortsRequest().fromBinary(bytes, options);
|
148
|
+
}
|
149
|
+
static fromJson(jsonValue, options) {
|
150
|
+
return new GetOpenPortsRequest().fromJson(jsonValue, options);
|
151
|
+
}
|
152
|
+
static fromJsonString(jsonString, options) {
|
153
|
+
return new GetOpenPortsRequest().fromJsonString(jsonString, options);
|
154
|
+
}
|
155
|
+
static equals(a, b) {
|
156
|
+
return protobuf_1.proto3.util.equals(GetOpenPortsRequest, a, b);
|
157
|
+
}
|
158
|
+
}
|
159
|
+
exports.GetOpenPortsRequest = GetOpenPortsRequest;
|
160
|
+
GetOpenPortsRequest.runtime = protobuf_1.proto3;
|
161
|
+
GetOpenPortsRequest.typeName = "gitpod.experimental.v1.GetOpenPortsRequest";
|
162
|
+
GetOpenPortsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
163
|
+
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
164
|
+
]);
|
165
|
+
/**
|
166
|
+
* @generated from message gitpod.experimental.v1.GetOpenPortsResponse
|
167
|
+
*/
|
168
|
+
class GetOpenPortsResponse extends protobuf_1.Message {
|
169
|
+
constructor(data) {
|
170
|
+
super();
|
171
|
+
/**
|
172
|
+
* @generated from field: repeated gitpod.experimental.v1.WorkspaceInstancePort ports = 1;
|
173
|
+
*/
|
174
|
+
this.ports = [];
|
175
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
176
|
+
}
|
177
|
+
static fromBinary(bytes, options) {
|
178
|
+
return new GetOpenPortsResponse().fromBinary(bytes, options);
|
179
|
+
}
|
180
|
+
static fromJson(jsonValue, options) {
|
181
|
+
return new GetOpenPortsResponse().fromJson(jsonValue, options);
|
182
|
+
}
|
183
|
+
static fromJsonString(jsonString, options) {
|
184
|
+
return new GetOpenPortsResponse().fromJsonString(jsonString, options);
|
185
|
+
}
|
186
|
+
static equals(a, b) {
|
187
|
+
return protobuf_1.proto3.util.equals(GetOpenPortsResponse, a, b);
|
188
|
+
}
|
189
|
+
}
|
190
|
+
exports.GetOpenPortsResponse = GetOpenPortsResponse;
|
191
|
+
GetOpenPortsResponse.runtime = protobuf_1.proto3;
|
192
|
+
GetOpenPortsResponse.typeName = "gitpod.experimental.v1.GetOpenPortsResponse";
|
193
|
+
GetOpenPortsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
194
|
+
{ no: 1, name: "ports", kind: "message", T: WorkspaceInstancePort, repeated: true },
|
195
|
+
]);
|
196
|
+
/**
|
197
|
+
* @generated from message gitpod.experimental.v1.InstanceUpdatesRequest
|
198
|
+
*/
|
199
|
+
class InstanceUpdatesRequest extends protobuf_1.Message {
|
200
|
+
constructor(data) {
|
201
|
+
super();
|
202
|
+
/**
|
203
|
+
* @generated from field: string instance_id = 1;
|
204
|
+
*/
|
205
|
+
this.instanceId = "";
|
206
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
207
|
+
}
|
208
|
+
static fromBinary(bytes, options) {
|
209
|
+
return new InstanceUpdatesRequest().fromBinary(bytes, options);
|
210
|
+
}
|
211
|
+
static fromJson(jsonValue, options) {
|
212
|
+
return new InstanceUpdatesRequest().fromJson(jsonValue, options);
|
213
|
+
}
|
214
|
+
static fromJsonString(jsonString, options) {
|
215
|
+
return new InstanceUpdatesRequest().fromJsonString(jsonString, options);
|
216
|
+
}
|
217
|
+
static equals(a, b) {
|
218
|
+
return protobuf_1.proto3.util.equals(InstanceUpdatesRequest, a, b);
|
219
|
+
}
|
220
|
+
}
|
221
|
+
exports.InstanceUpdatesRequest = InstanceUpdatesRequest;
|
222
|
+
InstanceUpdatesRequest.runtime = protobuf_1.proto3;
|
223
|
+
InstanceUpdatesRequest.typeName = "gitpod.experimental.v1.InstanceUpdatesRequest";
|
224
|
+
InstanceUpdatesRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
225
|
+
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
226
|
+
]);
|
227
|
+
/**
|
228
|
+
* @generated from message gitpod.experimental.v1.InstanceUpdatesResponse
|
229
|
+
*/
|
230
|
+
class InstanceUpdatesResponse extends protobuf_1.Message {
|
231
|
+
constructor(data) {
|
232
|
+
super();
|
233
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
234
|
+
}
|
235
|
+
static fromBinary(bytes, options) {
|
236
|
+
return new InstanceUpdatesResponse().fromBinary(bytes, options);
|
237
|
+
}
|
238
|
+
static fromJson(jsonValue, options) {
|
239
|
+
return new InstanceUpdatesResponse().fromJson(jsonValue, options);
|
240
|
+
}
|
241
|
+
static fromJsonString(jsonString, options) {
|
242
|
+
return new InstanceUpdatesResponse().fromJsonString(jsonString, options);
|
243
|
+
}
|
244
|
+
static equals(a, b) {
|
245
|
+
return protobuf_1.proto3.util.equals(InstanceUpdatesResponse, a, b);
|
246
|
+
}
|
247
|
+
}
|
248
|
+
exports.InstanceUpdatesResponse = InstanceUpdatesResponse;
|
249
|
+
InstanceUpdatesResponse.runtime = protobuf_1.proto3;
|
250
|
+
InstanceUpdatesResponse.typeName = "gitpod.experimental.v1.InstanceUpdatesResponse";
|
251
|
+
InstanceUpdatesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
252
|
+
{ no: 1, name: "instance", kind: "message", T: workspaces_pb_js_1.WorkspaceInstance },
|
253
|
+
]);
|
254
|
+
//# sourceMappingURL=workspace_pb.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"workspace_pb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/workspace_pb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAeH,iDAAqD;AACrD,yDAAuD;AAEvD;;GAEG;AACH,IAAY,cAeX;AAfD,WAAY,cAAc;IACtB;;OAEG;IACH,iEAAe,CAAA;IAEf;;OAEG;IACH,uDAAU,CAAA;IAEV;;OAEG;IACH,yDAAW,CAAA;AACf,CAAC,EAfW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAezB;AACD,kEAAkE;AAClE,iBAAM,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE,uCAAuC,EAAE;IAC7E,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,6BAA6B,EAAE;IAC9C,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,wBAAwB,EAAE;IACzC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE;CAC7C,CAAC,CAAC;AAEH;;GAEG;AACH,MAAa,eAAgB,SAAQ,kBAAwB;IAMzD,YAAY,IAAsC;QAC9C,KAAK,EAAE,CAAC;QANZ;;WAEG;QACH,gBAAW,GAAG,EAAE,CAAC;QAIb,iBAAM,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACxC,CAAC;IAQD,MAAM,CAAC,UAAU,CAAC,KAAiB,EAAE,OAAoC;QACrE,OAAO,IAAI,eAAe,EAAE,CAAC,UAAU,C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AuB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAC7D,CAAC;;AAlCL,0DAmCC;AAxBmB,+BAAO,GAAG,iBAAM,CAAC;AACjB,gCAAQ,GAAG,gDAAgD,CAAC;AAC5D,8BAAM,GAAc,iBAAM,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;IAC/D,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,oCAAiB,EAAE;CACrE,CAAC,CAAC"}
|
@@ -0,0 +1,107 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2023 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, DeleteWorkspaceRequest, DeleteWorkspaceResponse, GetOwnerTokenRequest, GetOwnerTokenResponse, GetWorkspaceRequest, GetWorkspaceResponse, ListWorkspacesRequest, ListWorkspacesResponse, StopWorkspaceRequest, StopWorkspaceResponse, StreamWorkspaceStatusRequest, StreamWorkspaceStatusResponse, UpdatePortRequest, UpdatePortResponse } 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
|
+
* StreamWorkspaceStatus returns workspace status once it changed.
|
38
|
+
*
|
39
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.StreamWorkspaceStatus
|
40
|
+
*/
|
41
|
+
readonly streamWorkspaceStatus: {
|
42
|
+
readonly name: "StreamWorkspaceStatus";
|
43
|
+
readonly I: typeof StreamWorkspaceStatusRequest;
|
44
|
+
readonly O: typeof StreamWorkspaceStatusResponse;
|
45
|
+
readonly kind: MethodKind.ServerStreaming;
|
46
|
+
};
|
47
|
+
/**
|
48
|
+
* GetOwnerToken returns an owner token.
|
49
|
+
*
|
50
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.GetOwnerToken
|
51
|
+
*/
|
52
|
+
readonly getOwnerToken: {
|
53
|
+
readonly name: "GetOwnerToken";
|
54
|
+
readonly I: typeof GetOwnerTokenRequest;
|
55
|
+
readonly O: typeof GetOwnerTokenResponse;
|
56
|
+
readonly kind: MethodKind.Unary;
|
57
|
+
};
|
58
|
+
/**
|
59
|
+
* CreateAndStartWorkspace creates a new workspace and starts it.
|
60
|
+
*
|
61
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.CreateAndStartWorkspace
|
62
|
+
*/
|
63
|
+
readonly createAndStartWorkspace: {
|
64
|
+
readonly name: "CreateAndStartWorkspace";
|
65
|
+
readonly I: typeof CreateAndStartWorkspaceRequest;
|
66
|
+
readonly O: typeof CreateAndStartWorkspaceResponse;
|
67
|
+
readonly kind: MethodKind.Unary;
|
68
|
+
};
|
69
|
+
/**
|
70
|
+
* StopWorkspace stops a running workspace (instance).
|
71
|
+
* Errors:
|
72
|
+
* NOT_FOUND: the workspace_id is unkown
|
73
|
+
* FAILED_PRECONDITION: if there's no running instance
|
74
|
+
*
|
75
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.StopWorkspace
|
76
|
+
*/
|
77
|
+
readonly stopWorkspace: {
|
78
|
+
readonly name: "StopWorkspace";
|
79
|
+
readonly I: typeof StopWorkspaceRequest;
|
80
|
+
readonly O: typeof StopWorkspaceResponse;
|
81
|
+
readonly kind: MethodKind.Unary;
|
82
|
+
};
|
83
|
+
/**
|
84
|
+
* DeleteWorkspace deletes a workspace.
|
85
|
+
* When the workspace is running, it will be stopped as well.
|
86
|
+
* Deleted workspaces cannot be started again.
|
87
|
+
*
|
88
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.DeleteWorkspace
|
89
|
+
*/
|
90
|
+
readonly deleteWorkspace: {
|
91
|
+
readonly name: "DeleteWorkspace";
|
92
|
+
readonly I: typeof DeleteWorkspaceRequest;
|
93
|
+
readonly O: typeof DeleteWorkspaceResponse;
|
94
|
+
readonly kind: MethodKind.Unary;
|
95
|
+
};
|
96
|
+
/**
|
97
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.UpdatePort
|
98
|
+
*/
|
99
|
+
readonly updatePort: {
|
100
|
+
readonly name: "UpdatePort";
|
101
|
+
readonly I: typeof UpdatePortRequest;
|
102
|
+
readonly O: typeof UpdatePortResponse;
|
103
|
+
readonly kind: MethodKind.Unary;
|
104
|
+
};
|
105
|
+
};
|
106
|
+
};
|
107
|
+
//# 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,sBAAsB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,iBAAiB,EAAE,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAC5a,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;QAG1B;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;;;WAOG;;;;;;;QAOH;;;;;;WAMG;;;;;;;QAOH;;WAEG;;;;;;;;CAQG,CAAC"}
|
@@ -0,0 +1,114 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* Copyright (c) 2023 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
|
+
* StreamWorkspaceStatus returns workspace status once it changed.
|
45
|
+
*
|
46
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.StreamWorkspaceStatus
|
47
|
+
*/
|
48
|
+
streamWorkspaceStatus: {
|
49
|
+
name: "StreamWorkspaceStatus",
|
50
|
+
I: workspaces_pb_js_1.StreamWorkspaceStatusRequest,
|
51
|
+
O: workspaces_pb_js_1.StreamWorkspaceStatusResponse,
|
52
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
53
|
+
},
|
54
|
+
/**
|
55
|
+
* GetOwnerToken returns an owner token.
|
56
|
+
*
|
57
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.GetOwnerToken
|
58
|
+
*/
|
59
|
+
getOwnerToken: {
|
60
|
+
name: "GetOwnerToken",
|
61
|
+
I: workspaces_pb_js_1.GetOwnerTokenRequest,
|
62
|
+
O: workspaces_pb_js_1.GetOwnerTokenResponse,
|
63
|
+
kind: protobuf_1.MethodKind.Unary,
|
64
|
+
},
|
65
|
+
/**
|
66
|
+
* CreateAndStartWorkspace creates a new workspace and starts it.
|
67
|
+
*
|
68
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.CreateAndStartWorkspace
|
69
|
+
*/
|
70
|
+
createAndStartWorkspace: {
|
71
|
+
name: "CreateAndStartWorkspace",
|
72
|
+
I: workspaces_pb_js_1.CreateAndStartWorkspaceRequest,
|
73
|
+
O: workspaces_pb_js_1.CreateAndStartWorkspaceResponse,
|
74
|
+
kind: protobuf_1.MethodKind.Unary,
|
75
|
+
},
|
76
|
+
/**
|
77
|
+
* StopWorkspace stops a running workspace (instance).
|
78
|
+
* Errors:
|
79
|
+
* NOT_FOUND: the workspace_id is unkown
|
80
|
+
* FAILED_PRECONDITION: if there's no running instance
|
81
|
+
*
|
82
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.StopWorkspace
|
83
|
+
*/
|
84
|
+
stopWorkspace: {
|
85
|
+
name: "StopWorkspace",
|
86
|
+
I: workspaces_pb_js_1.StopWorkspaceRequest,
|
87
|
+
O: workspaces_pb_js_1.StopWorkspaceResponse,
|
88
|
+
kind: protobuf_1.MethodKind.Unary,
|
89
|
+
},
|
90
|
+
/**
|
91
|
+
* DeleteWorkspace deletes a workspace.
|
92
|
+
* When the workspace is running, it will be stopped as well.
|
93
|
+
* Deleted workspaces cannot be started again.
|
94
|
+
*
|
95
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.DeleteWorkspace
|
96
|
+
*/
|
97
|
+
deleteWorkspace: {
|
98
|
+
name: "DeleteWorkspace",
|
99
|
+
I: workspaces_pb_js_1.DeleteWorkspaceRequest,
|
100
|
+
O: workspaces_pb_js_1.DeleteWorkspaceResponse,
|
101
|
+
kind: protobuf_1.MethodKind.Unary,
|
102
|
+
},
|
103
|
+
/**
|
104
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.UpdatePort
|
105
|
+
*/
|
106
|
+
updatePort: {
|
107
|
+
name: "UpdatePort",
|
108
|
+
I: workspaces_pb_js_1.UpdatePortRequest,
|
109
|
+
O: workspaces_pb_js_1.UpdatePortResponse,
|
110
|
+
kind: protobuf_1.MethodKind.Unary,
|
111
|
+
},
|
112
|
+
}
|
113
|
+
};
|
114
|
+
//# 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,yDAA4a;AAC5a,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,qBAAqB,EAAE;YACrB,IAAI,EAAE,uBAAuB;YAC7B,CAAC,EAAE,+CAA4B;YAC/B,CAAC,EAAE,gDAA6B;YAChC,IAAI,EAAE,qBAAU,CAAC,eAAe;SACjC;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,CAA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