This repository has been archived by the owner on Dec 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
/
workspace_paths.go
93 lines (69 loc) · 2.61 KB
/
workspace_paths.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
// Code generated by "go generate"; DO NOT EDIT.
package paths
import "fmt"
func Workspaces(organization string) string {
return fmt.Sprintf("/app/organizations/%s/workspaces", organization)
}
func CreateWorkspace(organization string) string {
return fmt.Sprintf("/app/organizations/%s/workspaces/create", organization)
}
func NewWorkspace(organization string) string {
return fmt.Sprintf("/app/organizations/%s/workspaces/new", organization)
}
func Workspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s", workspace)
}
func EditWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/edit", workspace)
}
func UpdateWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/update", workspace)
}
func DeleteWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/delete", workspace)
}
func LockWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/lock", workspace)
}
func UnlockWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/unlock", workspace)
}
func ForceUnlockWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/force-unlock", workspace)
}
func SetPermissionWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/set-permission", workspace)
}
func UnsetPermissionWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/unset-permission", workspace)
}
func WatchWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/watch", workspace)
}
func ConnectWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/connect", workspace)
}
func DisconnectWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/disconnect", workspace)
}
func StartRunWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/start-run", workspace)
}
func SetupConnectionProviderWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/setup-connection-provider", workspace)
}
func SetupConnectionRepoWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/setup-connection-repo", workspace)
}
func CreateTagWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/create-tag", workspace)
}
func DeleteTagWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/delete-tag", workspace)
}
func StateWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/state", workspace)
}
func PoolsWorkspace(workspace string) string {
return fmt.Sprintf("/app/workspaces/%s/pools", workspace)
}