Documentation ¶
Index ¶
- func Configure(plugins []string) error
- type Registry
- func (r *Registry) ForEachFilterPlugin(cb func(plug model.FilterPlugin) error) error
- func (r *Registry) ForEachOutputPlugin(cb func(plug model.OutputPlugin) error) error
- func (r *Registry) LookupFilterPlugin(name string) model.FilterPlugin
- func (r *Registry) LookupOutputPlugin(name string) model.OutputPlugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry contains registered output and filter plugins
func (*Registry) ForEachFilterPlugin ¶
func (r *Registry) ForEachFilterPlugin(cb func(plug model.FilterPlugin) error) error
ForEachFilterPlugin iterates over all filter plugins
func (*Registry) ForEachOutputPlugin ¶
func (r *Registry) ForEachOutputPlugin(cb func(plug model.OutputPlugin) error) error
ForEachOutputPlugin iterates over all output plugins
func (*Registry) LookupFilterPlugin ¶
func (r *Registry) LookupFilterPlugin(name string) model.FilterPlugin
LookupFilterPlugin retrieve a filter plugin by its name
func (*Registry) LookupOutputPlugin ¶
func (r *Registry) LookupOutputPlugin(name string) model.OutputPlugin
LookupOutputPlugin retrieve an output plugin by its name
Click to show internal directories.
Click to hide internal directories.