mirror of
https://github.com/zrepl/zrepl.git
synced 2025-02-16 18:30:54 +01:00
30 lines
454 B
Go
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
|
|
}
|