Versions in this module Expand all Collapse all v1 v1.0.2 Jul 26, 2019 Changes in this version + const DroppedTargetType + const FileTargetType + const FilenameLabel + const JournalTargetType + func IsDropped(t Target) bool + type Config struct + SyncPeriod time.Duration + func (cfg *Config) RegisterFlags(flags *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) Ready() bool + func (t *FileTarget) Stop() + func (t *FileTarget) Type() TargetType + type FileTargetManager struct + func NewFileTargetManager(logger log.Logger, positions *positions.Positions, client api.EntryHandler, ...) (*FileTargetManager, error) + func (tm *FileTargetManager) ActiveTargets() map[string][]Target + func (tm *FileTargetManager) AllTargets() map[string][]Target + func (tm *FileTargetManager) Ready() bool + func (tm *FileTargetManager) Stop() + type JournalTarget struct — linux/amd64 + func NewJournalTarget(logger log.Logger, handler api.EntryHandler, positions *positions.Positions, ...) (*JournalTarget, error) + func (t *JournalTarget) Details() interface{} + func (t *JournalTarget) Ready() bool + func (t *JournalTarget) Stop() error + func (t *JournalTarget) Type() TargetType + type JournalTargetManager struct + func NewJournalTargetManager(logger log.Logger, positions *positions.Positions, client api.EntryHandler, ...) (*JournalTargetManager, error) + func (tm *JournalTargetManager) ActiveTargets() map[string][]Target + func (tm *JournalTargetManager) AllTargets() map[string][]Target + func (tm *JournalTargetManager) Ready() bool + func (tm *JournalTargetManager) Stop() + type Target interface + Details func() interface{} + Ready func() bool + Type func() TargetType + type TargetManagers struct + func NewTargetManagers(logger log.Logger, positions *positions.Positions, client api.EntryHandler, ...) (*TargetManagers, error) + func (tm *TargetManagers) ActiveTargets() map[string][]Target + func (tm *TargetManagers) AllTargets() map[string][]Target + func (tm *TargetManagers) Ready() bool + func (tm *TargetManagers) Stop() + type TargetType string