Vendor aws-sdk-go (dep ensure) (#178)
This commit is contained in:
13
vendor/github.com/aws/aws-sdk-go/awstesting/unit/unit.go
generated
vendored
Normal file
13
vendor/github.com/aws/aws-sdk-go/awstesting/unit/unit.go
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// Package unit performs initialization and validation for unit tests
|
||||
package unit
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
"github.com/aws/aws-sdk-go/aws/session"
|
||||
)
|
||||
|
||||
// Session is a shared session for unit tests to use.
|
||||
var Session = session.Must(session.NewSession(aws.NewConfig().
|
||||
WithCredentials(credentials.NewStaticCredentials("AKID", "SECRET", "SESSION")).
|
||||
WithRegion("mock-region")))
|
||||
Reference in New Issue
Block a user