namespace

package
v0.0.0-...-28e5ed5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2017 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnterNetworkNamespace

func EnterNetworkNamespace(pid int) error

EnterNetworkNamespace enters the network namespace of the given process Do not forget to defer ExitNetworkNamespace in order to unlock thread

func ExitNetworkNamespace

func ExitNetworkNamespace() error

ExitNetworkNamespace returns into the executor network namespace

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL