Documentation ¶
Index ¶
- type Manager
- func (m *Manager) AddOutputProcessor(def *model.OutputDef) (*Processor, error)
- func (m *Manager) GetAvailableOutputs() []model.Spec
- func (m *Manager) GetOutputDefs() []model.OutputDef
- func (m *Manager) GetOutputProcessor(id string) (*Processor, error)
- func (m *Manager) Push(articles []*model.Article)
- func (m *Manager) RemoveOutputProcessor(def *model.OutputDef) error
- func (m *Manager) Shutdown()
- func (m *Manager) UpdateOutputProcessor(def *model.OutputDef) (*Processor, error)
- type Processor
- type Status
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
}
Manager is the object that manage outputs.
func NewOutputManager ¶
NewOutputManager creates a new output manager
func (*Manager) AddOutputProcessor ¶
AddOutputProcessor add an output processor to the manager
func (*Manager) GetAvailableOutputs ¶
GetAvailableOutputs get all available outputs
func (*Manager) GetOutputDefs ¶
GetOutputDefs return all output definitions of the pipeline
func (*Manager) GetOutputProcessor ¶
GetOutputProcessor removes an output from the pipeline
func (*Manager) RemoveOutputProcessor ¶
RemoveOutputProcessor removes an output from the pipeline
type Processor ¶
Processor is the object that operate an output.
func NewOutputProcessor ¶
func NewOutputProcessor(out model.Output, filters *filter.Chain, cm *cache.Manager) (*Processor, error)
NewOutputProcessor creates a new output processor
Click to show internal directories.
Click to hide internal directories.