ns

package
v27.5.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// NetlinkSocketsTimeout represents the default timeout duration for the sockets
	NetlinkSocketsTimeout = 3 * time.Second
)

Functions

func Init

func Init()

Init initializes a new network namespace

func NlHandle

func NlHandle() nlwrap.Handle

NlHandle returns the netlink handler

func ParseHandlerInt

func ParseHandlerInt() int

ParseHandlerInt transforms the namespace handler into an integer

Types

This section is empty.

Jump to

Keyboard shortcuts

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