Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetNS ¶
type NetNS struct {
// contains filtered or unexported fields
}
NetNS allows communicating with a network namespace
func CreateNetNS ¶
CreateNetNS creates a new network namespace and sets a name
func (*NetNS) Exec ¶
Exec switches to the specified netns and executes the closure WARNING: CANNOT EXECUTE WITH GOROUTINES _INSIDE_ THE CLOSURE
Click to show internal directories.
Click to hide internal directories.