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: 1

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