Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNSRunDir ¶
GetNSRunDir returns the dir of where to create the netNS. When running rootless, it needs to be at a location writable by user.
func NewNS ¶
NewNS creates a new persistent (bind-mounted) network namespace and returns an object representing that namespace, without switching to it.
func NewNSWithName ¶
NewNSWithName creates a new persistent (bind-mounted) network namespace and returns an object representing that namespace, without switching to it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.