-
Notifications
You must be signed in to change notification settings - Fork 424
Open
Description
Currently the VirtualWorkspaceURLs for both terminators and initializers are packed together in a singular field, requiring end-users to parse them out correctly using string matching on "terminating" and "initializing". This can be a bit confusing
status quo
virtualWorkspaces:
- url: https://127.0.0.1:7444/services/initializingworkspaces/ba4lih084zcuemhg:alpha-ppcyckaokc
- url: https://127.0.0.1:7444/services/terminatingworkspaces/ba4lih084zcuemhg:alpha-ppcyckaokc
- url: https://127.0.0.1:7445/services/initializingworkspaces/ba4lih084zcuemhg:alpha-ppcyckaokc
- url: https://127.0.0.1:7445/services/terminatingworkspaces/ba4lih084zcuemhg:alpha-ppcyckaokcCurrently there are two ideas to resolve this:
-
We could move both of them into their separate EndpointSlice Type, similar to how we do it with ApiExportEndpointSlice
-
We could introduce a field "type" on the virtualWorkspaceURL to make them distinguishable
- url: https://127.0.0.1:7444/services/initializingworkspaces/ba4lih084zcuemhg:alpha-ppcyckaokc type: initializing - url: https://127.0.0.1:7444/services/terminatingworkspaces/ba4lih084zcuemhg:alpha-ppcyckaokc type: terminating - url: https://127.0.0.1:7445/services/initializingworkspaces/ba4lih084zcuemhg:alpha-ppcyckaokc type: initializing - url: https://127.0.0.1:7445/services/terminatingworkspaces/ba4lih084zcuemhg:alpha-ppcyckaokc type: terminating
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
New