testing

package
v0.13.2-gc72711f Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Region = "us-west-2"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	testcontainers.Container
	Address string
}

Container is an internal wrapper around the `testcontainers.Container` carrying also the `Address` (which could be a URI) to which the Server can be reached at.

func NewLocalstackContainer

func NewLocalstackContainer(ctx context.Context) (*Container, error)

NewLocalstackContainer creates a new connection to the `LocalStack` `testcontainers`

func NewRedisContainer

func NewRedisContainer(ctx context.Context) (*Container, error)

Jump to

Keyboard shortcuts

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