Interface wireframe

This commit is contained in:
Christian Schwarz
2017-04-14 19:26:32 +02:00
parent 8f11874a6e
commit 123becbd22
7 changed files with 278 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
package model
type Filesytem struct {
Name string
Children []Filesytem
Snapshots []Snaphot
}
type FilesytemMapping struct {
From Filesytem
To Filesytem
}
type Snapshot struct {
Name String
}
type Pool struct {
Transport Transport
Root Filesytem
}
type Transport interface {
Connect() Connection
}
type SSHTransport struct {
Host string
User string
Port uint16
}
type LocalTransport struct{}