mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-20 13:06:38 +00:00
* Updates containerd to v1.7.0 and new binary for 32-bit Arm OSes. * Updates Go dependencies - openfaas and external Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
10 lines
544 B
Go
Generated
10 lines
544 B
Go
Generated
// Package netns allows ultra-simple network namespace handling. NsHandles
|
|
// can be retrieved and set. Note that the current namespace is thread
|
|
// local so actions that set and reset namespaces should use LockOSThread
|
|
// to make sure the namespace doesn't change due to a goroutine switch.
|
|
// It is best to close NsHandles when you are done with them. This can be
|
|
// accomplished via a `defer ns.Close()` on the handle. Changing namespaces
|
|
// requires elevated privileges, so in most cases this code needs to be run
|
|
// as root.
|
|
package netns
|