file

package
v0.0.0-...-221c3f5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileCollector

type FileCollector struct {
	// contains filtered or unexported fields
}

FileCollector manages file-based log collection.

func New

func New() *FileCollector

New creates a new FileCollector.

func (*FileCollector) Name

func (fc *FileCollector) Name() string

func (*FileCollector) Start

func (fc *FileCollector) Start(ctx context.Context, queue chan *plugins.Log)

Start begins watching for configuration changes using fsnotify. It performs an initial reconciliation and then reacts to config file changes.

func (*FileCollector) Stop

func (fc *FileCollector) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL