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

# Packages

No description provided by the author

# Functions

Create creates a skeleton plugin directory structure to start development of a new plugin.
Disable disables the plugin named "name" found under rootDir.
Enable enables the plugin named "name" found under rootDir.
GetModules parses the go.mod file found in directory and returns a GoMod instance.
Inspect obtains information about the plugin "name".
Install installs a plugin from a SIF image under rootDir.
List returns all the singularity plugins installed in rootDir in the form of a list of Meta information.
LoadCallbacks loads plugins registered for the hook instance passed in parameter.
LoadObject loads a plugin object in memory and returns the Plugin object set within the plugin.
PrepareGoModules returns a byte array containing a generated go.mod matching Singularity modules in use in order to compile/load the plugin with same version of dependencies.
Uninstall removes the plugin matching "name" from the singularity plugin installation directory.

# Constants

SingularitySource represents the symlink name which will point to the Singularity source directory.

# Structs

GoMod describes a parsed go.mod file.
Meta is an internal representation of a plugin binary and all of its artifacts.
Module describes a Go module with its corresponding path and version.
Replace describes a replace directive in go.mod files.
Require describes a require directive in go.mod files.