Documentation ¶
Index ¶
- func CopyFile(src, dst string) error
- func DumpVal(vals ...interface{})
- func GenerateRandomID() string
- func GetHomeDir() string
- func GetUsername() string
- func TruncateID(id string) string
- func WaitFor(f func() bool) error
- func WaitForSpecific(f func() bool, maxAttempts int, waitInterval time.Duration) error
- func WaitForSpecificOrError(f func() (bool, error), maxAttempts int, waitInterval time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHomeDir ¶
func GetHomeDir() string
GetHomeDir returns the home directory TODO: Having this here just strikes me as dangerous, but some of the drivers depend on it ;_;
func GetUsername ¶
func GetUsername() string
func TruncateID ¶
TruncateID returns a shorten id Following two functions are from github.com/docker/docker/utils module. It was way overkill to include the whole module, so we just have these bits that we're using here.
func WaitForSpecific ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.