testings

package
v0.11.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2015 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FakeServiceDefinition

func FakeServiceDefinition(tmpDir, name, definition string) error

Write a fake service definition file in a tmpDir Eris home directory.

func IfExit

func IfExit(err error)
func Links(name string, t string, n int) []string

Return container links. For sake of simplicity, don't expose anything else.

func RemoveAllContainers

func RemoveAllContainers() error

Remove everything Eris.

func RemoveContainer

func RemoveContainer(name string, t string, n int) error

Remove a container of some name, type, and number.

func TestExistAndRun

func TestExistAndRun(name, typ string, contNum int, toExist, toRun bool) bool

return to handle failings in each pkg typ = type of test for dealing with do.() details

func TestsInit

func TestsInit(testType string) (err error)

testType = one of each package, will switch over it for make additional tempDirs and vars as needed -> [zr] or not, TBD

func TestsTearDown

func TestsTearDown() error

each pacakge will need its own custom stuff if need be do it through a custom pre-process ifExit in each package that calls tests.IfExit()

Types

type TestingInfo

type TestingInfo struct {
}

hold things...?

Jump to

Keyboard shortcuts

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