netnsbuilder

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAlreadyExist = errors.New("network namespace already exists")
)

Functions

func UnmountNetworkNamespace

func UnmountNetworkNamespace(ctx context.Context, path string) error

Types

type Manager

type Manager interface {
	Create(context.Context, string, types.Network) error
}

func NewManager

func NewManager(c *config.Config) Manager

Jump to

Keyboard shortcuts

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