Skip to content

Commit 93a68d3

Browse files
iQQBotakosyakovfelladrinAndrea Falzetti
authored andcommitted
chore: extracting ide-service from server
Co-authored-by: Anton Kosyakov <[email protected]> Co-authored-by: Victor Nogueira <[email protected]> Co-authored-by: Andrea Falzetti <[email protected]>
1 parent b07b7e8 commit 93a68d3

File tree

40 files changed

+1437
-31
lines changed

40 files changed

+1437
-31
lines changed

components/ide-service-api/go/ide.pb.go

Lines changed: 377 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/ide-service-api/go/ide_grpc.pb.go

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/ide-service-api/ide.proto

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,41 @@ option java_package = "io.gitpod.ideservice.api";
1111

1212
service IDEService {
1313
rpc GetConfig(GetConfigRequest) returns (GetConfigResponse) {}
14+
rpc ResolveWorkspaceConfig(ResolveWorkspaceConfigRequest) returns (ResolveWorkspaceConfigResponse) {}
1415
}
1516

1617
message GetConfigRequest {}
1718

1819
message GetConfigResponse {
1920
string content = 1;
2021
}
22+
23+
// TODO: import type from other packages
24+
// EnvironmentVariable describes an env var as key/value pair
25+
message EnvironmentVariable {
26+
string name = 1;
27+
string value = 2;
28+
}
29+
30+
enum WorkspaceType {
31+
REGULAR = 0;
32+
PREBUILD = 1;
33+
}
34+
35+
36+
message ResolveWorkspaceConfigRequest {
37+
WorkspaceType type = 1;
38+
string context = 2;
39+
string ide_settings = 3;
40+
string workspace_config = 4;
41+
}
42+
43+
message ResolveWorkspaceConfigResponse {
44+
repeated EnvironmentVariable envvars = 1;
45+
string supervisor_image = 2;
46+
string web_image = 3;
47+
repeated string ide_image_layers = 4;
48+
// control whether to configure default IDE for a user
49+
string referer_ide = 5;
50+
string tasks = 6;
51+
}

0 commit comments

Comments
 (0)