Documentation ¶
Index ¶
- type Config
- type Notifier
- func (notif *Notifier) Dump(w io.Writer) error
- func (notif *Notifier) HasTargets() bool
- func (notif *Notifier) IsCurrent() bool
- func (notif *Notifier) Loop(hostname string, interval time.Duration, autoTrack bool)
- func (notif *Notifier) MatchArgv(argv []string) (procfind.Entry, bool)
- func (notif *Notifier) Once(hostname string)
- func (notif *Notifier) Scan() error
- func (notif *Notifier) Update(hostname string, interval int)
- type Proc
- type Target
- type TargetConfigs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
type Notifier struct { Debug bool // contains filtered or unexported fields }
func NewNotifier ¶
func NewNotifier(targets []Config, pr *podfind.PodResolver, sinkPath string) *Notifier
func (*Notifier) HasTargets ¶
type TargetConfigs ¶
type TargetConfigs struct {
Configs []Config
}
Click to show internal directories.
Click to hide internal directories.