...
1 package workspaces
2
3
4
5
6
7
8
9
10 type State string
11
12 const (
13
14 Deleted State = "Deleted"
15
16 Disabled State = "Disabled"
17
18 Enabled State = "Enabled"
19
20 Migrated State = "Migrated"
21
22 Registered State = "Registered"
23
24 Unregistered State = "Unregistered"
25
26 Updated State = "Updated"
27 )
28
29
30 func PossibleStateValues() []State {
31 return []State{Deleted, Disabled, Enabled, Migrated, Registered, Unregistered, Updated}
32 }
33
34
35 type WorkspaceType string
36
37 const (
38
39 Anonymous WorkspaceType = "Anonymous"
40
41 Free WorkspaceType = "Free"
42
43 PaidPremium WorkspaceType = "PaidPremium"
44
45 PaidStandard WorkspaceType = "PaidStandard"
46
47 Production WorkspaceType = "Production"
48 )
49
50
51 func PossibleWorkspaceTypeValues() []WorkspaceType {
52 return []WorkspaceType{Anonymous, Free, PaidPremium, PaidStandard, Production}
53 }
54
View as plain text