From 5e15a22cabe454c8468e7b31bba8d9673772c261 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Sat, 15 Apr 2017 15:43:28 +0200 Subject: [PATCH] Make model compile. --- model/model.go | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/model/model.go b/model/model.go index dd11ede..8a930a1 100644 --- a/model/model.go +++ b/model/model.go @@ -3,7 +3,7 @@ package model type Filesytem struct { Name string Children []Filesytem - Snapshots []Snaphot + Snapshots []Snapshot } type FilesytemMapping struct { @@ -12,22 +12,17 @@ type FilesytemMapping struct { } type Snapshot struct { - Name String + Name string } type Pool struct { - Transport Transport Root Filesytem } -type Transport interface { - Connect() Connection -} - type SSHTransport struct { Host string User string Port uint16 + TransportOpenCommand []string + Options []string } - -type LocalTransport struct{}