package
3.1.0+incompatible
Repository: https://github.com/mem/singularity.git
Documentation: pkg.go.dev
# Functions
Normalize takes a slice of capabilities, normalizes and unwraps CAP_ALL.
ReadFrom reads a capability configuration from an io.Reader and returns a capability config with the set of authorized user/group capabilities.
RemoveDuplicated removes duplicated capabilities from provided list.
Split takes a list of capabilities separated by commas and returns a string list with normalized capability name and a second list with unrecognized capabilities.
# Constants
Ambient capability string constant.
Bounding capability string constant.
Effective capability string constant.
Inheritable capability string constant.
Permitted capability string constant.
# Variables
Map maps each capability name to a struct with details about the capability.
# Structs
Config is the in memory representation of the user/group capability authorizations as set by an admin.
# Type aliases
Caplist defines a map of users/groups with associated list of capabilities.