Documentation ¶
Index ¶
- Constants
- type RsyncConn
- func (c *RsyncConn) Export(label, parent, outdir string) (err error)
- func (c *RsyncConn) Import(label, indir string) (err error)
- func (c *RsyncConn) Name() string
- func (c *RsyncConn) Path() string
- func (c *RsyncConn) RemoveSnapshot(label string) error
- func (c *RsyncConn) Rollback(label string) (err error)
- func (c *RsyncConn) Snapshot(label string) (err error)
- func (c *RsyncConn) SnapshotPath(label string) string
- func (c *RsyncConn) Snapshots() ([]string, error)
- func (c *RsyncConn) Unmount() error
- type RsyncDriver
Constants ¶
View Source
const (
// DriverName is the name of this rsync volume driver implementation
DriverName = "rsync"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RsyncConn ¶
RsyncConn is a connection to a rsync volume
func (*RsyncConn) RemoveSnapshot ¶
RemoveSnapshot removes the snapshot with the given label
func (*RsyncConn) SnapshotPath ¶
type RsyncDriver ¶
RsyncDriver is a driver for the rsync volume
func (*RsyncDriver) List ¶
func (d *RsyncDriver) List(rootDir string) (result []string)
List lists all of the folders at given root dir
Click to show internal directories.
Click to hide internal directories.