Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prospector ¶
type Prospector struct { core.PipelineSegment core.PipelineConfigReceiver // contains filtered or unexported fields }
Prospector handles the crawling of paths and starting and stopping of harvester routines against discovered files
func NewProspector ¶
func NewProspector(pipeline *core.Pipeline, config *config.Config, fromBeginning bool, registrarImp registrar.Registrator, spoolerImp *spooler.Spooler) (*Prospector, error)
NewProspector creates a new path crawler with the given configuration If fromBeginning is true and registrar reports no state was loaded, all new files on the FIRST scan will be started from the beginning, as opposed to from the end
type ProspectorSkipError ¶
type ProspectorSkipError struct {
// contains filtered or unexported fields
}
func (*ProspectorSkipError) Error ¶
func (e *ProspectorSkipError) Error() string
Click to show internal directories.
Click to hide internal directories.