testing

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Unlicense Imports: 8 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 TestDynamoDBConfig

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

TestDynamoDBConfig creates an AWS config that can be used for local DynamoDB testing

Types

This section is empty.

Jump to

Keyboard shortcuts

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