awstest

package
v0.1.93 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func Start(ctx context.Context) (*Emulator, error)

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.

func (*Emulator) Stop

func (e *Emulator) Stop(ctx context.Context) error

Stop stops the emulator.

Jump to

Keyboard shortcuts

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