Versions in this module Expand all Collapse all v1 v1.6.2 Jan 17, 2024 Changes in this version + const FilenameLabel + type Config struct + Stdin bool + SyncPeriod time.Duration + func (cfg *Config) RegisterFlags(flags *flag.FlagSet) + func (cfg *Config) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet) + type FileTarget struct + func NewFileTarget(logger log.Logger, handler api.EntryHandler, positions positions.Positions, ...) (*FileTarget, error) + func (t *FileTarget) Details() interface{} + func (t *FileTarget) DiscoveredLabels() model.LabelSet + func (t *FileTarget) Labels() model.LabelSet + func (t *FileTarget) Ready() bool + func (t *FileTarget) Stop() + func (t *FileTarget) Type() target.TargetType + type FileTargetManager struct + func NewFileTargetManager(logger log.Logger, positions positions.Positions, client api.EntryHandler, ...) (*FileTargetManager, error) + func (tm *FileTargetManager) ActiveTargets() map[string][]target.Target + func (tm *FileTargetManager) AllTargets() map[string][]target.Target + func (tm *FileTargetManager) Ready() bool + func (tm *FileTargetManager) Stop()