setup

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Record = flag.Bool("record", false, "whether to run tests against cloud resources and record the interactions")

Functions

func NewAWSSession

func NewAWSSession(t *testing.T, region, filename string) (sess *session.Session, done func())

NewAWSSession creates a new session for testing against AWS. If the test is short, the session reads a replay file and runs the test as a replay, which never makes an outgoing HTTP call and uses fake credentials. If the test is not short, the test will call out to AWS, and the results recorded as a new replay file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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