Help us shape the future of Go! Take the 2026 Go Developer Survey

netns

package
v1.7.20 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 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) IsNamespaceEqual

func (f *Netns) IsNamespaceEqual(fd1, fd2 int) bool

func (*Netns) NamespaceUniqueID

func (f *Netns) NamespaceUniqueID(fd int) string

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