Discover Packages
github.com/coreos/mantle
system
ns
package
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: Jun 21, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
Documentation
¶
NsCreate returns a handle to a new network namespace.
NsEnter must be used to safely enter and exit the new namespace.
NsEnter locks the current goroutine the OS thread and switches to a
new network namespace. The returned function must be called in order
to restore the previous state and unlock the thread.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.