store

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2017 License: Apache-2.0 Imports: 4 Imported by: 12

Documentation

Index

Constants

View Source
const (
	ImageDirName     = "images"
	VolumesDirName   = "volumes"
	LocksDirName     = "locks"
	MetaDirName      = "meta"
	TempDirName      = "tmp"
	DefaultStorePath = "/var/lib/grootfs"
)

Variables

Functions

This section is empty.

Types

type StoreMeasurer added in v0.17.0

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

func NewStoreMeasurer added in v0.17.0

func NewStoreMeasurer(storePath string, volumeDriver VolumeDriver) *StoreMeasurer

func (*StoreMeasurer) CacheUsage added in v0.28.0

func (s *StoreMeasurer) CacheUsage(logger lager.Logger, unusedVolumes []string) int64

func (*StoreMeasurer) Usage added in v0.26.0

func (s *StoreMeasurer) Usage(logger lager.Logger) (int64, error)

type VolumeDriver added in v0.26.0

type VolumeDriver interface {
	Volumes(logger lager.Logger) ([]string, error)
	VolumeSize(lager.Logger, string) (int64, error)
}

Directories

Path Synopsis
namespaced/namespacedfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
garbage_collectorfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
image_clonerfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
managerfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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