poller

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2017 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 Planner added in v0.10.0

type Planner interface {
	GetRulesAndChain() (enforcer.RulesWithChain, error)
}

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 {
	Planners          []Planner
	Enforcer          ruleEnforcer
	CollectionEmitter agent_metrics.TimeMetricsEmitter
	Logger            lager.Logger
	// contains filtered or unexported fields
}

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