Documentation ¶
Index ¶
- type Input
- type Manager
- func (m *Manager) InputsReceiveChans() []<-chan job.Input
- func (m *Manager) Registry() Registry
- func (m *Manager) StartAllInputs() error
- func (m *Manager) StartAllOutputs() error
- func (m *Manager) StartAllProcessors() error
- func (m *Manager) StartInput(name string) error
- func (m *Manager) StartOutput(name string) error
- func (m *Manager) StartProcessor(name string) error
- func (m *Manager) StopAllInputs() error
- func (m *Manager) StopAllOutputs() error
- func (m *Manager) StopAllProcessors() error
- func (m *Manager) StopInput(name string) error
- func (m *Manager) StopOutput(name string) error
- func (m *Manager) StopProcessor(name string) error
- type Output
- type Processor
- type ProcessorReadOnly
- type ProcessorReadWrite
- type ProcessorReadWriteStream
- type Registry
- func (m *Registry) AllProcessors() map[string]Processor
- func (m *Registry) Component(key string) component.Base
- func (m *Registry) Input(name string) *Input
- func (m *Registry) LoadInput(name string, config config.Input) error
- func (m *Registry) LoadOutput(name string, config config.Output) error
- func (m *Registry) LoadProcessor(name string, config config.Processor) error
- func (m *Registry) Output(name string) *Output
- func (m *Registry) Processor(key string) Processor
- type Resource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(c config.Components, Logger zap.SugaredLogger) (*Manager, error)
func (*Manager) InputsReceiveChans ¶
func (*Manager) StartAllInputs ¶
func (*Manager) StartAllOutputs ¶
func (*Manager) StartAllProcessors ¶
func (*Manager) StartInput ¶
func (*Manager) StartOutput ¶
func (*Manager) StartProcessor ¶
func (*Manager) StopAllInputs ¶
func (*Manager) StopAllOutputs ¶
func (*Manager) StopAllProcessors ¶
func (*Manager) StopOutput ¶
func (*Manager) StopProcessor ¶
type ProcessorReadOnly ¶
processorReadOnly wraps a readonly processor Plugin Instance and its resource
type ProcessorReadWrite ¶
processorReadWrite wraps a read-write processor Plugin Instance and its resource
type ProcessorReadWriteStream ¶
type ProcessorReadWriteStream struct { processor.ReadWriteStream Resource Resource }
processorReadWriteStream wraps a read-write-stream processor Plugin Instance and its resource
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry Contains Plugin Instances
func (*Registry) AllProcessors ¶
func (*Registry) LoadInput ¶
LoadInput Load wrapper.Input Plugin in the loaded registry, according to the parsed config.
func (*Registry) LoadOutput ¶
LoadOutput Load wrapper.Output Plugin in the loaded registry, according to the parsed config.
func (*Registry) LoadProcessor ¶
LoadProcessor Load wrapper.ProcessReadWrite Plugin in the loaded registry, according to the parsed config.
Click to show internal directories.
Click to hide internal directories.