add mount types.

This commit is contained in:
Miroslav Šedivý
2021-05-22 17:50:16 +02:00
parent 97b577ff55
commit 3cb777e047
6 changed files with 107 additions and 18 deletions
+11 -2
View File
@@ -39,9 +39,18 @@ type RoomEntry struct {
Created time.Time `json:"created"`
}
type MountType string
const (
MountPrivate MountType = "private"
MountTemplate MountType = "template"
MountPublic MountType = "public"
)
type RoomMount struct {
HostPath string `json:"host_path"`
ContainerPath string `json:"container_path"`
Type MountType `json:"type"`
HostPath string `json:"host_path"`
ContainerPath string `json:"container_path"`
}
type RoomSettings struct {