Documentation ¶
Index ¶
Constants ¶
View Source
const ( // StateKey is default key in state store StateKey = "state" DefaultSyncStateIntervalMS = 10000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultTask ¶
type DefaultTask struct { ID string // contains filtered or unexported fields }
func (*DefaultTask) GetID ¶
func (t *DefaultTask) GetID() string
func (*DefaultTask) Start ¶
func (t *DefaultTask) Start() (err error)
func (*DefaultTask) Stop ¶
func (t *DefaultTask) Stop()
type Task ¶
type Task interface { // GetID returns the id of the task. GetID() string // Start starts the task and blocks until task finished or error thrown. Start() error // Stop stops the task and blocks until stopped. Stop() }
Task is the runnable instance to do all ETL tasks.
func NewTaskFromJson ¶
Click to show internal directories.
Click to hide internal directories.