Documentation
¶
Index ¶
Constants ¶
View Source
const MaxRetries int = 15
Variables ¶
View Source
var ( ErrInputRegionRequired = errors.New("Input region is required") ErrInputTableNameRequired = errors.New("Input table name is required") ErrOutputRegionRequired = errors.New("Output region is required") ErrOutputTableNameRequired = errors.New("Output table name is required") ErrInputAndOutputTablesCannotMatch = errors.New("Input and output tables cannot match") ErrBackfillSegmentConfiguration = errors.New("Backfill segment configuration is invalid") ErrBackfillTotalSegmentsConfiguration = errors.New("Backfill total segments configuration is invalid") ErrStreamCannotRunWithSegmentedScan = errors.New("Stream must be disabled if scan segment target is specified") )
Functions ¶
This section is empty.
Types ¶
type OperationPlan ¶
type OperationPlan struct { Input Input `yaml:"input"` Output Output `yaml:"output"` Backfill Backfill `yaml:"backfill"` Stream Stream `yaml:"stream"` }
func ParseConfigFile ¶
func ParseConfigFile(filePath string) ([]OperationPlan, error)
func (OperationPlan) Description ¶
func (p OperationPlan) Description() string
Description returns a description of the operation input/output "InputTableName => OutputTableName:"
func (OperationPlan) GetSessions ¶
func (OperationPlan) Validate ¶
func (p OperationPlan) Validate() error
func (OperationPlan) WithDefaults ¶
func (p OperationPlan) WithDefaults() OperationPlan
type PlanConfig ¶
type PlanConfig struct {
Plan []OperationPlan `yaml:"plan"`
}
Click to show internal directories.
Click to hide internal directories.