Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OutletFactory ¶
type OutletFactory struct {
// contains filtered or unexported fields
}
func NewOutletFactory ¶
func NewOutletFactory( done <-chan struct{}, pipeline beat.Pipeline, wgEvents eventCounter, ) *OutletFactory
NewOutletFactory creates a new outlet factory for connecting a prospector to the publisher pipeline.
func (*OutletFactory) Create ¶
func (f *OutletFactory) Create(cfg *common.Config) (Outleter, error)
Create builds a new Outleter, while applying common prospector settings. Prospectors and all harvesters use the same pipeline client instance. This guarantees ordering between events as required by the registrar for file.State updates
type Outleter ¶
Outleter is the outlet for a prospector
func CloseOnSignal ¶
CloseOnSignal closes the outlet, once the signal triggers.
Click to show internal directories.
Click to hide internal directories.