mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
feat: support dynamic parameters on create template request (#18636)
Future work is to add this checkbox to the UI to opt into dynamic parameters from the first template create.
This commit is contained in:
@ -200,6 +200,12 @@ type CreateTemplateRequest struct {
|
||||
// MaxPortShareLevel allows optionally specifying the maximum port share level
|
||||
// for workspaces created from the template.
|
||||
MaxPortShareLevel *WorkspaceAgentPortShareLevel `json:"max_port_share_level"`
|
||||
|
||||
// UseClassicParameterFlow allows optionally specifying whether
|
||||
// the template should use the classic parameter flow. The default if unset is
|
||||
// true, and is why `*bool` is used here. When dynamic parameters becomes
|
||||
// the default, this will default to false.
|
||||
UseClassicParameterFlow *bool `json:"template_use_classic_parameter_flow,omitempty"`
|
||||
}
|
||||
|
||||
// CreateWorkspaceRequest provides options for creating a new workspace.
|
||||
|
Reference in New Issue
Block a user