package
4.3.0-rc.1
Repository: https://github.com/sylabs/singularity.git
Documentation: pkg.go.dev

# Functions

AddHostEnv processes given key and returns if the environment variable should be added to the container or not.
FileMap returns a map of KEY=VAL env vars from an environment file f.
HostEnvMap returns a map of host env vars to pass into the container.
MergeMap merges two maps of environment variables, with values in b replacing values also set in a.
SetContainerEnv cleans environment variables before running the container.
SetFromList sets environment variables from environ argument list.
SingularityEnvMap returns a map of SINGULARITYENV_ prefixed env vars to their values.

# Constants

DefaultPath defines default value for PATH environment variable.
SingularityEnvPrefix defines the environment variable prefix SINGULARITYENV_.
SingularityPrefix defines the environment variable prefix SINGULARITY_.

# Variables

AlwaysOmitKeys lists environment variables that are never passed from the host into the container, with a boolean to indicate whether the key can be overridden by a user-specificed SINGULARITYENV_ / --env / --env-file value.
AlwaysPassKeys lists environment variables that are always passed from the host into the container.