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

# Functions

ReadToken reads a sylabs JWT auth token from a file.

# Variables

ErrCouldntReadFile is returned for issues when reading file.
ErrEmptyToken is returned for empty token string.
ErrTokenFileNotFound is returned when token file not found.
ErrTokenToolong is returned for token longer than 4096 b.
ErrTokenTooShort is returned for token shorter than 200 b.