store

package
v0.7.1-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: Apache-2.0 Imports: 8 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BundleStore

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

func NewBundleStore

func NewBundleStore(dir string, info log.FieldLogger, debug log.FieldLogger) *BundleStore

func (*BundleStore) Bundle

func (s *BundleStore) Bundle(id string) (r bundle.Bundle, err error)

func (*BundleStore) BundleGC

func (s *BundleStore) BundleGC(ttl time.Duration, containers bundle.ContainerStore) (r []bundle.Bundle, err error)

Deletes all bundles that have not been used longer than the given TTL.

func (*BundleStore) Bundles

func (s *BundleStore) Bundles() (l []bundle.Bundle, err error)

func (*BundleStore) CreateBundle

func (s *BundleStore) CreateBundle(id string, update bool) (b *bundle.LockedBundle, err error)

Jump to

Keyboard shortcuts

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