Documentation ¶ Index ¶ type Netns func New() *Netns func (f *Netns) DeleteNamed(name string) error func (f *Netns) Get() (int, error) func (f *Netns) GetFromName(name string) (int, error) func (f *Netns) NewNamed(name string) (int, error) func (f *Netns) Set(fileDescriptor int) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Netns ¶ type Netns struct{} func New ¶ func New() *Netns func (*Netns) DeleteNamed ¶ func (f *Netns) DeleteNamed(name string) error func (*Netns) Get ¶ func (f *Netns) Get() (int, error) func (*Netns) GetFromName ¶ func (f *Netns) GetFromName(name string) (int, error) func (*Netns) NewNamed ¶ func (f *Netns) NewNamed(name string) (int, error) func (*Netns) Set ¶ func (f *Netns) Set(fileDescriptor int) error Source Files ¶ View all Source files netns.go Click to show internal directories. Click to hide internal directories.