package
0.0.0-20170104014118-c5655c46b426
Repository: https://github.com/clusterhq/fli.git
Documentation: pkg.go.dev
# Functions
CompareTree does deep compare the two paths rootA & rootB and returns true if they match else returns false.
GetAndMatch is a function for testing.
GetFreePort gest an unused port on localhost and returns it as string with a preceding colon.
MainTestEntry is the main test function that gets called.
RunningAsRoot returns true if it is running as a super user.
SetupTest is the first function Go test framework calls when testing the 'datalayer' package.
ShutdownTest cleans up after running the tests.
Tar takes the src directory or file and generates destFile that is tar'ed & gzip'ed.
Untar takes the srcFile that is a tar'ed & gzip'ed file and expands in inside the destDir.
# Constants
DownloadResp expected reply from server when downloading.
TestRootDir defines the root directory used by tests to write temporary test data.
TokDownloadResp expected reply from server when downloading token.
TokUploadResp expected reply from server when uploading token.