archive

package
v0.0.0-...-baf1042 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToS3

func ToS3(c *S3ArchiveConfig) error

ToS3 archives the dynamo table to a file in s3 bucket

Types

type S3ArchiveConfig

type S3ArchiveConfig struct {
	Region             string
	TableName          string
	TableIndex         string
	ScanPartitions     int
	ScanLimit          int
	ScanFilterName     string
	ScanFilterValue    string
	ScanFilterType     string
	ScanFilterOperator string
	UploadBucket       string
	UploadChunkSize    int64
	UploadConcurrency  int
	BackupPrefix       string
	Transformer        Transformer
	RunOnLocalStack    bool
}

S3ArchiveConfig provides the configuration for archiving dynamo table to s3

type Transformer

type Transformer interface {
	Transform(input []map[string]interface{}) []map[string]interface{}
}

Jump to

Keyboard shortcuts

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