zrepl/model/model.go

22 lines
275 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-26 20:25:53 +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
}