Versions in this module Expand all Collapse all v0 v0.1.0 Jun 3, 2019 Changes in this version + const FileTargetType + const FilenameLabel + 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) DiscoveredLabels() model.LabelSet + func (t *FileTarget) Labels() model.LabelSet + 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 Target interface + Details func() interface{} + DiscoveredLabels func() model.LabelSet + Labels func() model.LabelSet + 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