Documentation ¶
Overview ¶
Package clitestutil contains utilities for
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirEntry ¶
DirEntry represents directory entry.
func ListDirectory ¶
ListDirectory lists a given directory and returns directory entries.
type SnapshotInfo ¶
SnapshotInfo represents a single snapshot information.
type SourceInfo ¶
type SourceInfo struct { User string Host string Path string Snapshots []SnapshotInfo }
SourceInfo represents a single source (user@host:/path) with its snapshots.
func ListSnapshotsAndExpectSuccess ¶
func ListSnapshotsAndExpectSuccess(t *testing.T, e testEnv, targets ...string) []SourceInfo
ListSnapshotsAndExpectSuccess lists given snapshots and parses the output.
func MustParseSnapshots ¶
func MustParseSnapshots(t *testing.T, lines []string) []SourceInfo
MustParseSnapshots parsers the output of 'snapshot list'.
Click to show internal directories.
Click to hide internal directories.