Make model compile.

This commit is contained in:
Christian Schwarz 2017-04-15 15:43:28 +02:00
parent 123becbd22
commit 5e15a22cab

View File

@ -3,7 +3,7 @@ package model
type Filesytem struct { type Filesytem struct {
Name string Name string
Children []Filesytem Children []Filesytem
Snapshots []Snaphot Snapshots []Snapshot
} }
type FilesytemMapping struct { type FilesytemMapping struct {
@ -12,22 +12,17 @@ type FilesytemMapping struct {
} }
type Snapshot struct { type Snapshot struct {
Name String Name string
} }
type Pool struct { type Pool struct {
Transport Transport
Root Filesytem Root Filesytem
} }
type Transport interface {
Connect() Connection
}
type SSHTransport struct { type SSHTransport struct {
Host string Host string
User string User string
Port uint16 Port uint16
TransportOpenCommand []string
Options []string
} }
type LocalTransport struct{}