Documentation ¶
Index ¶
- func CreateNetNamespace(name string)
- func CreateVethInNetNamespace(vethNamePrefix, netNamespaceName string)
- func DestroyBridge(name string)
- func DestroyNetNamespace(name string)
- func DestroyVeth(namePrefix string)
- func EnsureOutputForCommand(command, expectedOutput string)
- func KillCmd(pid int)
- func RunCmdInNetNamespace(netNamespaceName string, cmdPathAndArgs string) (int, int)
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)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.