Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDBReader ¶ added in v0.5.0
func BuildDBReader(connURL *url.URL) (data.DBReaderConn, error)
func CreateCompressedWriter ¶
Types ¶
type Config ¶
type Config struct { Source string `json:"source,omitempty" yaml:"source,omitempty"` Dest string `json:"dest,omitempty" yaml:"dest,omitempty"` SourceConn *Connection `json:"-" yaml:"-"` DestConn *Connection `json:"-" yaml:"-"` StreamConfig *data.StreamConfig `json:"stream_config,omitempty" yaml:"stream_config,omitempty"` }
type Connection ¶
type ExecutionConfig ¶
type ExecutionConfig struct { Config *Config WriterPipe *io.PipeWriter Concurrency int }
func NewExecutionConfig ¶
func NewExecutionConfig(config *Config, concurrency int) *ExecutionConfig
type Task ¶
type Task struct {
ExecConfig *ExecutionConfig
}
func NewTask ¶
func NewTask(exec ExecutionConfig) *Task
Click to show internal directories.
Click to hide internal directories.