test

package
v0.0.0-...-102fcc4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2015 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAppStackCycle

func CreateAppStackCycle(appName string) awsutil.Cycle

func CreateAppStackExistsCycle

func CreateAppStackExistsCycle(appName string) awsutil.Cycle

func DeleteStackCycle

func DeleteStackCycle(stackName string) awsutil.Cycle

func DescribeAppStackCycle

func DescribeAppStackCycle(stackName string) awsutil.Cycle

returns the stack you asked for

func DescribeAppStatusStackCycle

func DescribeAppStatusStackCycle(stackName string, status string) awsutil.Cycle

returns the stack you asked for with a status

func DescribeConvoxStackCycle

func DescribeConvoxStackCycle(stackName string) awsutil.Cycle

returns convox stack

func DescribeStackCycleWithoutQuery

func DescribeStackCycleWithoutQuery(appName string) awsutil.Cycle

no filter - returns convox stack and an app

func DescribeStackNotFound

func DescribeStackNotFound(stackName string) awsutil.Cycle

search for stack, return missing

func Runs

func Runs(t *testing.T, runs ...Run)

func Server

func Server(t *testing.T, stubs ...Http) *httptest.Server

Types

type ExecRun

type ExecRun struct {
	Command string
	Env     map[string]string
	Exit    int
	Stdin   string
	Stdout  string
	Stderr  string
}

func (ExecRun) Test

func (er ExecRun) Test(t *testing.T)

type Http

type Http struct {
	Method   string
	Path     string
	Code     int
	Body     string
	Response interface{}
}

type Run

type Run interface {
	Test(*testing.T)
}

Jump to

Keyboard shortcuts

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