mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
feat: add orphan support (#3849)
* feat: add resource orphanage * feat: deny custom state in build for regular users * Minor protoc improvements
This commit is contained in:
@ -39,6 +39,8 @@ type CreateWorkspaceBuildRequest struct {
|
||||
Transition WorkspaceTransition `json:"transition" validate:"oneof=create start stop delete,required"`
|
||||
DryRun bool `json:"dry_run,omitempty"`
|
||||
ProvisionerState []byte `json:"state,omitempty"`
|
||||
// Orphan may be set for the Destroy transition.
|
||||
Orphan bool `json:"orphan,omitempty"`
|
||||
// ParameterValues are optional. It will write params to the 'workspace' scope.
|
||||
// This will overwrite any existing parameters with the same name.
|
||||
// This will not delete old params not included in this list.
|
||||
|
Reference in New Issue
Block a user