poller

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Poller

type Poller struct {
	Logger       lager.Logger
	PollInterval time.Duration

	SingleCycleFunc func() error
}

func (*Poller) Run

func (m *Poller) Run(signals <-chan os.Signal, ready chan<- struct{}) error

type SinglePollCycle added in v0.6.0

type SinglePollCycle struct {
	Planner planner

	Enforcer          ruleEnforcer
	CollectionEmitter agent_metrics.TimeMetricsEmitter
}

func (*SinglePollCycle) DoCycle added in v0.6.0

func (m *SinglePollCycle) DoCycle() error

Jump to

Keyboard shortcuts

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