mirror of
https://github.com/zrepl/zrepl.git
synced 2025-02-16 10:29:54 +01:00
Make model compile.
This commit is contained in:
parent
123becbd22
commit
5e15a22cab
@ -3,7 +3,7 @@ package model
|
|||||||
type Filesytem struct {
|
type Filesytem struct {
|
||||||
Name string
|
Name string
|
||||||
Children []Filesytem
|
Children []Filesytem
|
||||||
Snapshots []Snaphot
|
Snapshots []Snapshot
|
||||||
}
|
}
|
||||||
|
|
||||||
type FilesytemMapping struct {
|
type FilesytemMapping struct {
|
||||||
@ -12,22 +12,17 @@ type FilesytemMapping struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Snapshot struct {
|
type Snapshot struct {
|
||||||
Name String
|
Name string
|
||||||
}
|
}
|
||||||
|
|
||||||
type Pool struct {
|
type Pool struct {
|
||||||
Transport Transport
|
|
||||||
Root Filesytem
|
Root Filesytem
|
||||||
}
|
}
|
||||||
|
|
||||||
type Transport interface {
|
|
||||||
Connect() Connection
|
|
||||||
}
|
|
||||||
|
|
||||||
type SSHTransport struct {
|
type SSHTransport struct {
|
||||||
Host string
|
Host string
|
||||||
User string
|
User string
|
||||||
Port uint16
|
Port uint16
|
||||||
|
TransportOpenCommand []string
|
||||||
|
Options []string
|
||||||
}
|
}
|
||||||
|
|
||||||
type LocalTransport struct{}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user