zrepl/model/model.go
Christian Schwarz c1aed10e8b Further drafting of rpc module.
Also: fix typo in model definitions.
2017-04-15 18:31:14 +02:00

29 lines
370 B
Go

package model
type Filesystem struct {
Name string
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
}