Documentation ¶
Index ¶
- Variables
- func AssertStatus(t *testing.T, status int, method, url string, values url.Values) string
- func CreateAppStackCycle(appName string) awsutil.Cycle
- func CreateAppStackExistsCycle(appName string) awsutil.Cycle
- func DeleteInstanceCycle(instance string) awsutil.Cycle
- func DeleteStackCycle(stackName string) awsutil.Cycle
- func DescribeAppStackCycle(stackName string) awsutil.Cycle
- func DescribeAppStackResourcesCycle(stackName string) awsutil.Cycle
- func DescribeAppStatusStackCycle(stackName string, status string) awsutil.Cycle
- func DescribeContainerInstancesCycle(clusterName string) awsutil.Cycle
- func DescribeContainerInstancesFilteredCycle(clusterName string) awsutil.Cycle
- func DescribeConvoxStackCycle(stackName string) awsutil.Cycle
- func DescribeInstancesCycle() awsutil.Cycle
- func DescribeInstancesFilteredCycle() awsutil.Cycle
- func DescribeServicesCycle(clusterName string) awsutil.Cycle
- func DescribeServicesWithDeploymentsCycle(clusterName string) awsutil.Cycle
- func DescribeStackCycleWithoutQuery(appName string) awsutil.Cycle
- func DescribeStackNotFound(stackName string) awsutil.Cycle
- func DescribeTaskDefinition1Cycle(clusterName string) awsutil.Cycle
- func DescribeTaskDefinition3Cycle(clusterName string) awsutil.Cycle
- func DescribeTaskDefinitionCycle(clusterName string) awsutil.Cycle
- func DescribeTasksCycle(clusterName string) awsutil.Cycle
- func GetAppTemplateCycle(stackName string) awsutil.Cycle
- func HTTPBody(method, url string, values url.Values) string
- func HttpdDescribeServicesCycle() awsutil.Cycle
- func HttpdDescribeServicesResponse() string
- func HttpdDescribeStackResourcesCycle() awsutil.Cycle
- func HttpdListServicesCycle() awsutil.Cycle
- func ListContainerInstancesCycle(clusterName string) awsutil.Cycle
- func ListContainersCycle() awsutil.Cycle
- func ListConvoxContainersCycle() awsutil.Cycle
- func ListServicesCycle(clusterName string) awsutil.Cycle
- func ListTasksCycle(clusterName string) awsutil.Cycle
- func Runs(t *testing.T, runs ...Run)
- func Server(t *testing.T, stubs ...Http) *httptest.Server
- func StatsCycle() awsutil.Cycle
- func StubAws(cycles ...awsutil.Cycle) (s *httptest.Server)
- func StubDocker(cycles ...awsutil.Cycle) (s *httptest.Server)
- type ExecRun
- type Http
- type Run
Constants ¶
This section is empty.
Variables ¶
View Source
var HandlerFunc http.HandlerFunc
Functions ¶
func AssertStatus ¶
func CreateAppStackCycle ¶
func DeleteInstanceCycle ¶
func DeleteStackCycle ¶
func DescribeAppStackCycle ¶
returns the stack you asked for
func DescribeAppStatusStackCycle ¶
returns the stack you asked for with a status
func DescribeConvoxStackCycle ¶
returns convox stack
func DescribeInstancesCycle ¶
func DescribeServicesCycle ¶
func DescribeStackCycleWithoutQuery ¶
no filter - returns convox stack and an app
func DescribeStackNotFound ¶
search for stack, return missing
func DescribeTasksCycle ¶
func GetAppTemplateCycle ¶
func HttpdDescribeServicesCycle ¶
$ aws ecs describe-services --cluster convox-Cluster-1NCWX9EC0JOV4 --services httpd-web-SRZPVERKQOL
func HttpdDescribeServicesResponse ¶
func HttpdDescribeServicesResponse() string
func HttpdDescribeStackResourcesCycle ¶
$ aws cloudformation describe-stack-resources --stack-name httpd --debug
func HttpdListServicesCycle ¶
$ aws ecs list-services --cluster convox-Cluster-1NCWX9EC0JOV4
func ListContainersCycle ¶
func ListServicesCycle ¶
func ListTasksCycle ¶
func StatsCycle ¶
func StubDocker ¶
Create a test server that mocks an Docker request/response cycle, suitable for a single test
Example:
s := StubDocker(ListContainersCycle()) defer s.Close() d, _ := Docker(test.TestConfig.DockerHost) d.ListContainers(...)
Types ¶
type ExecRun ¶
Click to show internal directories.
Click to hide internal directories.