db

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

Copy copy dynamodb items from origin to target table. This performs BatchGetItems from origin dynamodb table, and BatchPutItems to target dynamodb table.

Types

type DynamoDBConfig

type DynamoDBConfig struct {
	Region    string
	TableName string

	// Endpoint required for local.
	Endpoint string
}

DynamoDBConfig represents required parameters to open a remote session with dynamodb table.

type SyncDynamoDBConfig

type SyncDynamoDBConfig struct {
	Origin *DynamoDBConfig
	Target *DynamoDBConfig
}

SyncDynamoDBConfig includes origin and target dynamodb configs

Jump to

Keyboard shortcuts

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