# Packages

No description provided by the author
No description provided by the author

# Functions

CopyDir copies a dir from one location to another.
CopyFile copies a file from one location to another.
GetAvailableSpace gets the amount of available space at the path specified.
GetAvailableSpaceBlock gets the amount of available space at the block device path specified.
GetAvailableSpaceByVolumeMode calls another method based on the volumeMode parameter to get the amount of available space at the path specified.
GetNamespace returns the namespace the pod is executing in.
MinQuantity calculates the minimum of two quantities.
ParseEnvVar provides a wrapper to attempt to fetch the specified env var.
RandAlphaNum provides an implementation to generate a random alpha numeric string of the specified length.
RetryBackoffSize Calls the passed in function to size/resize and if it fails lowers the size and tries again up to 10 times.
StreamDataToFile provides a function to stream the specified io.Reader to the specified local file.
UnArchiveLocalTar unarchives a local tar file to the specified destination.
UnArchiveTar unarchives a tar file and streams its files using the specified io.Reader to the specified destination.
WriteTerminationMessage writes the passed in message to the default termination message file.
WriteTerminationMessageToFile writes the passed in message to the passed in message file.

# Structs

CountingReader is a reader that keeps track of how much has been read.