Documentation
¶
Overview ¶
Package awstest starts the ministack AWS emulator for integration specs.
The emulator runs in Docker, possibly on a remote host, so callers must use the endpoint it reports rather than assuming localhost.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Emulator ¶
type Emulator struct {
Endpoint string
Region string
AccessKey string
SecretKey string
// contains filtered or unexported fields
}
Emulator is a running ministack instance.
func Start ¶
Start launches an ephemeral ministack. It is an error when Docker is unavailable; there is no fallback. Any instance that did start is stopped before the error is returned.
func (*Emulator) SessionOptions ¶
func (e *Emulator) SessionOptions() cloudaws.SessionOptions
SessionOptions are the options for a cloudaws.Session talking to the emulator.