reaper

package
v0.0.0-...-ef2e20d Latest Latest
Warning

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

Go to latest
Published: May 30, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunner

func NewRunner(
	logger lager.Logger,
	clock clock.Clock,
	interval time.Duration,
	reapFunc func(lager.Logger) error,
) ifrit.Runner

Types

type Reaper

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

func NewReaper

func NewReaper(
	clock clock.Clock,
	repository volume.Repository,
) *Reaper

func (*Reaper) Reap

func (reaper *Reaper) Reap(logger lager.Logger) error

Jump to

Keyboard shortcuts

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