Skip to content

Commit 7676cda

Browse files
committed
[ws-manager] refactory image layers
1 parent 4205006 commit 7676cda

File tree

6 files changed

+237
-61
lines changed

6 files changed

+237
-61
lines changed

components/ws-manager-api/core.proto

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,11 +314,11 @@ message WorkspaceStatus {
314314
message IDEImage {
315315
// web_ref is a reference to an OCI image used for serving the web-based IDE
316316
string web_ref = 1;
317-
// desktop_ref is an optional reference to an OCI image used for serving desktop IDEs
317+
// DEPRECATED desktop_ref is an optional reference to an OCI image used for serving desktop IDEs
318318
string desktop_ref = 2;
319319
// supervisor_ref is a reference to an OCI image used as supervisor
320320
string supervisor_ref = 3;
321-
// desktop_plugin_ref is an optional reference to an OCI image used for serving desktop IDE plugin
321+
// DEPRECATED desktop_plugin_ref is an optional reference to an OCI image used for serving desktop IDE plugin
322322
string desktop_plugin_ref = 4;
323323
}
324324

@@ -567,6 +567,13 @@ message StartWorkspaceSpec {
567567

568568
// ssh_public_keys is user's uploaded ssh public keys
569569
repeated string ssh_public_keys = 15;
570+
571+
// sys_envvars are system level environment variables which ought to be available in the workspace
572+
repeated EnvironmentVariable sys_envvars = 16;
573+
574+
// image_layers are contains the images needed for the workspace to run,
575+
// including ide-desktop, desktop-plugin and so on
576+
repeated string image_layers = 17;
570577
}
571578

572579
// WorkspaceFeatureFlag enable non-standard behaviour in workspaces

components/ws-manager-api/go/core.pb.go

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

components/ws-manager-api/typescript/src/core_pb.d.ts

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

components/ws-manager-api/typescript/src/core_pb.js

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

0 commit comments

Comments
 (0)