netsetgo_suite_helpers

package
v0.0.0-...-c61b441 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNetNamespace

func CreateNetNamespace(name string)

func CreateVethInNetNamespace

func CreateVethInNetNamespace(vethNamePrefix, netNamespaceName string)

func DestroyBridge

func DestroyBridge(name string)

func DestroyNetNamespace

func DestroyNetNamespace(name string)

func DestroyVeth

func DestroyVeth(namePrefix string)

func EnsureOutputForCommand

func EnsureOutputForCommand(command, expectedOutput string)

func KillCmd

func KillCmd(pid int)

func RunCmdInNetNamespace

func RunCmdInNetNamespace(netNamespaceName string, cmdPathAndArgs string) (int, int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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