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

# Functions

GetAllNetworkConfigList lists configured networks in configuration path directory provided by cniPath.
NewSetup creates and returns a network setup to configure, add and remove network interfaces in container.
NewSetupFromConfig creates and returns network setup to configure from a network configuration list.

# Constants

ErrNoCNIConfig corresponds to a missing CNI configuration path.
ErrNoCNIPlugin corresponds to a missing CNI plugin path.

# Structs

CNIPath contains path to CNI configuration directory and path to executable CNI plugins directory.
PortMapEntry describes a port mapping between host and container.
Setup contains network installation setup.