# Packages
No description provided by the author
# Functions
CreateDir create the target directory with error handling.
FileExisted checks if a file or directory exists.
FSInfo linux returns (available bytes, byte capacity, byte usage, total inodes, inodes free, inode usage, error) for the filesystem that path resides upon.
GetMetrics get path metric.
GetNodeId reads node metadata from file.
IsDir checks if the target path is directory.
Mounted checks whether a volume is mounted.
NewVolumeLocks returns new VolumeLocks.
No description provided by the author
RunCommand runs a given shell command.
No description provided by the author
No description provided by the author
ServerReachable tests whether a server is connection using TCP.
Unmount tries to unmount a device from the node.
WaitTimeOut waits for a mount of time before continues.
# Constants
No description provided by the author
No description provided by the author
SnapshotOperationAlreadyExistsFmt string format to return for concurrent operation.
No description provided by the author
VolumeOperationAlreadyExistsFmt string format to return for concurrent operation.
# Structs
Metrics represents the used and available bytes of the Volume.
No description provided by the author
VolumeLocks implements a map with atomic operations.