Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Extractors is a factory for extractors Extractors = NewExtractorFactory() // Sinks is a factory for sinks Sinks = NewSinkFactory() // Processors is a factory for processors Processors = NewProcessorFactory() )
Functions ¶
This section is empty.
Types ¶
type ExtractorFactory ¶
type ExtractorFactory struct {
// contains filtered or unexported fields
}
ExtractorFactory is a factory for Extractors.
func NewExtractorFactory ¶
func NewExtractorFactory() *ExtractorFactory
NewExtractorFactory returns a new ExtractorFactory
func (*ExtractorFactory) Get ¶
func (f *ExtractorFactory) Get(name string) (plugins.Extractor, error)
Get returns an Extractor by name.
func (*ExtractorFactory) Info ¶
func (f *ExtractorFactory) Info(name string) (plugins.Info, error)
Info returns information about an Extractor.
type ProcessorFactory ¶
type ProcessorFactory struct {
// contains filtered or unexported fields
}
ProcessorFactory is a factory for Processors.
func NewProcessorFactory ¶
func NewProcessorFactory() *ProcessorFactory
NewProcessorFactory returns a new ProcessorFactory
func (*ProcessorFactory) Get ¶
func (f *ProcessorFactory) Get(name string) (plugins.Processor, error)
Get returns a Processor by name.
func (*ProcessorFactory) Info ¶
func (f *ProcessorFactory) Info(name string) (info plugins.Info, err error)
Info returns information about a Processor.
type SinkFactory ¶
type SinkFactory struct {
// contains filtered or unexported fields
}
SinkFactory is a factory for Sinks.
func (*SinkFactory) Get ¶
func (f *SinkFactory) Get(name string) (plugins.Syncer, error)
Get returns a Sink by name.
func (*SinkFactory) Info ¶
func (f *SinkFactory) Info(name string) (info plugins.Info, err error)
Info returns information about a Sink.
Click to show internal directories.
Click to hide internal directories.