netns

package
v1.4.39 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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