-
Notifications
You must be signed in to change notification settings - Fork 974
feat(cli): add enterprise external-workspaces CLI command #19287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1d9ad42
to
2b42673
Compare
b641ffe
to
07a9c42
Compare
039892b
to
e1fd6e8
Compare
60cccc2
to
0cf5381
Compare
e1fd6e8
to
e7e9376
Compare
@@ -29,7 +29,12 @@ const PresetNone = "none" | |||
|
|||
var ErrNoPresetFound = xerrors.New("no preset found") | |||
|
|||
func (r *RootCmd) create() *serpent.Command { | |||
type CreateOptions struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you should put a comment here explaining what these are for. E.g. "CreateOptions provides middleware for the workspace creation command so it can be extended for other create commands."
d36771a
to
cec9a8d
Compare
4e94ed6
to
5a0bf15
Compare
ac11687
to
515fd53
Compare
5a0bf15
to
ed93d09
Compare
d5f8141
to
ae3f780
Compare
bcd7ad2
to
c143ef7
Compare
Merge activity
|
ae3f780
to
9bd7ae5
Compare
pty.ExpectMatch("export CODER_AGENT_TOKEN=") | ||
pty.ExpectMatch("curl -fsSL") | ||
|
||
<-doneChan |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See testutil/chan.go
for some helpful methods here.
This pull request introduces support for external workspace management, allowing users to register and manage workspaces that are provisioned and managed outside of the Coder.