testing

package
v1.1.58 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmptyTable

func EmptyTable(ctx context.Context, cfg aws.Config, table *dynamodb.CreateTableInput) error

EmptyTable ensures that the table is in pristine condition for testing

func EnsureTableExists

func EnsureTableExists(ctx context.Context, cfg aws.Config, table *dynamodb.CreateTableInput) error

EnsureTableExists ensures that the table exists for testing purposes

func TestAWSConfig

func TestAWSConfig(ctx context.Context, region string, port int) aws.Config

TestAWSConfig creates an AWS config that can be used for local testing

Types

This section is empty.

Jump to

Keyboard shortcuts

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