cleaner

package
v0.0.0-...-be7a702 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRetainer

func NewRetainer() *retainer

Types

type CheckFunc

type CheckFunc func(id layercake.ID) bool

func (CheckFunc) Check

func (fn CheckFunc) Check(id layercake.ID) bool

type Checker

type Checker interface {
	Check(id layercake.ID) bool
}

type OvenCleaner

type OvenCleaner struct {
	GraphCleanupThreshold Threshold
	// contains filtered or unexported fields
}

func NewOvenCleaner

func NewOvenCleaner(retainCheck Checker, graphCleanupThreshold Threshold) *OvenCleaner

func (*OvenCleaner) GC

func (g *OvenCleaner) GC(log lager.Logger, cake layercake.Cake) error

type RetainChecker

type RetainChecker interface {
	layercake.Retainer
	Checker
}

type Threshold

type Threshold interface {
	Exceeded(log lager.Logger, cake layercake.Cake) bool
}

func NewThreshold

func NewThreshold(limit int64) Threshold

Directories

Path Synopsis
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