zrepl/model/model.go

30 lines
392 B
Go
Raw Normal View History

2017-04-14 19:26:32 +02:00
package model
type Filesystem struct {
2017-04-14 19:26:32 +02:00
Name string
2017-04-16 21:38:31 +02:00
Parent *Filesystem
Children []Filesystem
2017-04-15 15:43:28 +02:00
Snapshots []Snapshot
2017-04-14 19:26:32 +02:00
}
type FilesytemMapping struct {
From Filesystem
To Filesystem
2017-04-14 19:26:32 +02:00
}
type Snapshot struct {
2017-04-15 15:43:28 +02:00
Name string
2017-04-14 19:26:32 +02:00
}
type Pool struct {
Root Filesystem
2017-04-14 19:26:32 +02:00
}
type SSHTransport struct {
Host string
User string
Port uint16
2017-04-15 15:43:28 +02:00
TransportOpenCommand []string
Options []string
2017-04-14 19:26:32 +02:00
}