test_utils

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2016 License: Apache-2.0 Imports: 19 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 PreCreatePool

func PreCreatePool(pool string)

func RunIPAMPlugin

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

func WipeEtcd added in v1.5.5

func WipeEtcd()

Delete everything under /calico from etcd

Types

This section is empty.

Jump to

Keyboard shortcuts

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