Files
zrepl_patched/model/model.go
T
Christian Schwarz 123becbd22 Interface wireframe
2017-04-14 19:26:32 +02:00

34 lines
423 B
Go

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{}