lostandfound

package
v0.0.0-...-7fe2d08 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaggageCollector

type BaggageCollector interface {
	Run() error
}

func NewBaggageCollector

func NewBaggageCollector(
	logger lager.Logger,
	workerClient worker.Client,
	db BaggageCollectorDB,
	pipelineDBFactory db.PipelineDBFactory,
	oldResourceGracePeriod time.Duration,
	oneOffBuildImageResourceGracePeriod time.Duration,
) BaggageCollector

type BaggageCollectorDB

type BaggageCollectorDB interface {
	ReapVolume(string) error
	GetAllPipelines() ([]db.SavedPipeline, error)
	GetVolumes() ([]db.SavedVolume, error)
	GetVolumesForOneOffBuildImageResources() ([]db.SavedVolume, error)
}

Directories

Path Synopsis
This file was generated by counterfeiter This file was generated by counterfeiter
This file was generated by counterfeiter This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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