Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToDyanmo ¶
func ToDyanmo(c *DynamoResotreConfig) error
ToDyanmo restores the data from the file in the s3 bucket to the specified dynamo table
Types ¶
type DynamoResotreConfig ¶
type DynamoResotreConfig struct { Region string TableName string Workers int Bucket string RestoreFile string RunOnLocalStack bool }
DynamoResotreConfig provides the configuration for archiving dynamo table to s3
type DynamoWriter ¶
DynamoWriter provides the interface to write data to dynamo
func NewDynamoBatchWriter ¶
func NewDynamoBatchWriter(db dynamodbiface.DynamoDBAPI, table string) DynamoWriter
NewDynamoBatchWriter creates new dynamo writer which sends the data to dynamo in batches of 25 requests
Click to show internal directories.
Click to hide internal directories.