Documentation
¶
Index ¶
- func LoadJobPlugin(typ plugin.Type, name string) (plugin.Job, error)
- func LoadReaderJob(name string) (reader.Job, bool)
- func LoadReaderTask(name string) (reader.Task, bool)
- func LoadWriterJob(name string) (writer.Job, bool)
- func LoadWriterTask(name string) (writer.Task, bool)
- func RegisterReader(name string, reader spi.Reader)
- func RegisterWriter(name string, writer spi.Writer)
- func UnregisterReaders()
- func UnregisterWriters()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadJobPlugin ¶
LoadJobPlugin is currently not implemented properly and is only a placeholder. todo: Implement handle?
func LoadReaderJob ¶
LoadReaderJob retrieves the job of a reader by its name. If name does not exist, it returns false.
func LoadReaderTask ¶
LoadReaderTask retrieves the task of a reader by its name. If name does not exist, it returns false.
func LoadWriterJob ¶
LoadWriterJob retrieves the job of a writer by its name. If name does not exist, it returns false.
func LoadWriterTask ¶
LoadWriterTask retrieves the task of a writer by its name. If name does not exist, it returns false.
func RegisterReader ¶
RegisterReader registers a reader named name with the given reader. It will panic if name is duplicated, reader is nil, or reader's task and job are nil.
func RegisterWriter ¶
RegisterWriter registers a writer named name with the given writer. It will panic if name is duplicated, writer is nil, or writer's task and job are nil.
Types ¶
This section is empty.