test_utils

package
v1.4.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(cmd string) string

func CmdWithStdin

func CmdWithStdin(cmd, stdin_string string) string

func CreateContainer

func CreateContainer(netconf string) (container_id, netnspath string, session *gexec.Session, contVeth netlink.Link, contAddr []netlink.Addr, contRoutes []netlink.Route, err error)

func DeleteContainer

func DeleteContainer(netconf, netnspath string) (session *gexec.Session, err error)

func EtcdGetCommand

func EtcdGetCommand(path string) string

func GetEtcdMostRecentSubdir

func GetEtcdMostRecentSubdir(path string) string

func GetEtcdString

func GetEtcdString(path string) string

func PreCreatePool

func PreCreatePool(pool string) string

func RunIPAMPlugin

func RunIPAMPlugin(netconf, command, args string) (types.Result, int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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