migrator

package
v1.5.41 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(tableName string, arn string, repopulateCache bool, scripts []interface{}) (int, error)

Types

type Counter

type Counter map[string]int

func (Counter) Inc

func (c Counter) Inc(key string, delta int)

type PreScanTransformation

type PreScanTransformation interface {
	PreScan(run *TransformationRun) error
}

type ScanTransformation

type ScanTransformation interface {
	GeneratePatches(run *TransformationRun, item map[string]types.AttributeValue) ([]types.WriteRequest, error)
}

type TransformationAlbumOwner

type TransformationAlbumOwner struct{}

func (*TransformationAlbumOwner) GeneratePatches

type TransformationRun

type TransformationRun struct {
	DynamoDBClient    *dynamodb.Client
	DynamoDBTableName string
	TopicARN          string
	Counter           Counter
}

type TransformationUpDateIndex

type TransformationUpDateIndex struct{}

func (TransformationUpDateIndex) PreScan

Jump to

Keyboard shortcuts

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