zrepl/model/model.go
2017-04-26 20:29:54 +02:00

30 lines
454 B
Go

package model
type Filesystem struct {
Name string
Parent *Filesystem
Children []Filesystem
Snapshots []Snapshot
}
type FilesytemMapping struct {
From Filesystem
To Filesystem
}
type Snapshot struct {
Name string
}
type Pool struct {
Root Filesystem
}
type SSHTransport struct {
Host string
User string
Port uint16
TransportOpenCommand []string
Options []string
}