Documentation ¶
Index ¶
- type 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) IsNamespaceEqual(fd1, fd2 int) bool
- func (f *Netns) NamespaceUniqueID(fd int) string
- 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 (*Netns) DeleteNamed ¶
func (*Netns) IsNamespaceEqual ¶
func (*Netns) NamespaceUniqueID ¶
Click to show internal directories.
Click to hide internal directories.