Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Plugin ¶
func Plugin(name string, b Constructor) map[string][]interface{}
func RegisterDiscovererPlugin ¶
func RegisterDiscovererPlugin(name string, discoverer Constructor)
Types ¶
type Builders ¶
func NewBuilder ¶
func (*Builders) AddAppender ¶
func (*Builders) AddBuilder ¶
func (*Builders) SetFactory ¶
func (*Builders) StartModuleRunners ¶
func (b *Builders) StartModuleRunners(obj interface{})
func (*Builders) StopModuleRunners ¶
func (b *Builders) StopModuleRunners(obj interface{})
type Constructor ¶
type Constructor func(config *common.Config) (Discoverer, error)
type Discoverer ¶
type DiscovererPlugin ¶
type DiscovererPlugin struct { Name string Config *common.Config Discoverer Discoverer }
func InitDiscoverers ¶
func InitDiscoverers( configs map[string]*common.Config, ) ([]*DiscovererPlugin, error)
Click to show internal directories.
Click to hide internal directories.