package
3.8.7+incompatible
Repository: https://github.com/hpcng/singularity.git
Documentation: pkg.go.dev

# Functions

GetConfig parses a subuid/subgid configuration file and returns a Config holding all mapping entries, it allows to pass a custom function getUserFn used to lookup in a custom user database, if there is no custom function, the default one is used.
GetIDRange determines UID/GID mappings based on configuration file provided in path.

# Constants

SubGIDFile is the default path to the subgid file.
SubUIDFile is the default path to the subuid file.

# Structs

Config holds all entries found in the corresponding configuration file and manages its configuration.
Entry
Entry represents an entry line of subuid/subgid configuration file.

# Type aliases

GetUserFn defines the user lookup function prototype.