We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 450b3e1 commit 0bde254Copy full SHA for 0bde254
codersdk/workspaces.go
@@ -66,7 +66,12 @@ type Workspace struct {
66
AllowRenames bool `json:"allow_renames"`
67
Favorite bool `json:"favorite"`
68
NextStartAt *time.Time `json:"next_start_at" format:"date-time"`
69
- IsPrebuild bool `json:"is_prebuild"`
+ // IsPrebuild indicates whether the workspace is a prebuilt workspace.
70
+ // Prebuilt workspaces are owned by the prebuilds system user and have specific behavior,
71
+ // such as being managed differently from regular workspaces.
72
+ // Once a prebuilt workspace is claimed by a user, it transitions to a regular workspace,
73
+ // and IsPrebuild returns false.
74
+ IsPrebuild bool `json:"is_prebuild"`
75
}
76
77
func (w Workspace) FullName() string {
0 commit comments