package
1.13.0-rc1
Repository: https://github.com/nullne/docker.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

DisableDebug sets the DEBUG env var to false and makes the logger to log at info level.
EnableDebug sets the DEBUG env var to true and makes the logger to log at debug level.
GetCallerName introspects the call stack and returns the name of the function `depth` levels down in the stack.
IsDebugEnabled checks whether the debug flag is set or not.
IsProcessAlive returns true if process with a given pid is running.
KillProcess force-stops a process.
ReplaceOrAppendEnvValues returns the defaults with the overrides either replaced by env key or appended to the list.
TestDirectory creates a new temporary directory and returns its path.

# Constants

RestrictedNameChars collects the characters allowed to represent a name, normally used to validate container and volume names.

# Variables

RestrictedNamePattern is a regular expression to validate names against the collection of restricted characters.
RestrictedVolumeNamePattern is a regular expression to validate volume names against the collection of restricted characters.