hm

package
v0.0.0-...-f627d75 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2017 License: Apache-2.0, MIT Imports: 39 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyze

func Analyze(l lager.Logger, sink lager.Sink, conf *config.Config, poll bool)

func Dump

func Dump(l lager.Logger, conf *config.Config, raw bool)

func NewFixedClock

func NewFixedClock(now time.Time) clock.Clock

func ServeAPI

func ServeAPI(l lager.Logger, conf *config.Config)

func Shred

func Shred(l lager.Logger, conf *config.Config, poll bool)

func StartEvacuator

func StartEvacuator(logger lager.Logger, conf *config.Config)

func StartListeningForActual

func StartListeningForActual(logger lager.Logger, conf *config.Config)

Types

type Component

type Component struct {
	// contains filtered or unexported fields
}

func NewComponent

func NewComponent(name string, conf *config.Config, pollingInterval time.Duration, timeout time.Duration,
	logger lager.Logger, action func() error) *Component

func (*Component) Run

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

Jump to

Keyboard shortcuts

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