# Functions
AddImageNames adds the specified names to the specified image.
ExpandNames takes unqualified names, parses them as image names, and returns the fully expanded result, including a tag.
FindImage locates the locally-stored image which corresponds to a given name.
FindLocalRuntime find the local runtime of the system searching through the config file for possible locations.
GetContainerIDs uses ID mappings to compute the container-level IDs that will correspond to a UID/GID pair on the host.
GetFailureCause checks the type of the error "err" and returns a new error message that reflects the reason of the failure.
GetHostIDs uses ID mappings to compute the host-level IDs that will correspond to a UID/GID pair in the container.
GetHostRootIDs uses ID mappings in spec to compute the host-level IDs that will correspond to UID/GID 0/0 in the container.
GetPolicyContext sets up, initializes and returns a new context for the specified policy.
LogIfNotRetryable logs "what" if err is set and is not an EINTR or EAGAIN syscall.Errno.
LogIfUnexpectedWhileDraining logs "what" if err is set and is not an EINTR or EAGAIN or EIO syscall.Errno.
MergeEnv merges two lists of environment variables, avoiding duplicates.
resolveNameToReferences tries to create a list of possible references (including their transports) from the provided image name.
Runtime is the default command to use to run the container.
StringInSlice is deprecated, use slices.Contains.
TruncateString trims the given string to the provided maximum amount of characters and shortens it with `...`.
WriteError writes `lastError` into `w` if not nil and return the next error `err`.
# Constants
DefaultRuntime if containers.conf fails.
DefaultTransport is a prefix that we apply to an image name if we can't find one in the local Store, in order to generate a source reference for the image that we can then copy to the local Store.
# Variables
nolint.
nolint.
RegistryDefaultPathPrefix contains a per-registry listing of default prefixes to prepend to image names that only contain a single path component.