store

package
v0.7.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2018 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) (s *BundleStore, err error)

func (*BundleStore) Bundle

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

func (*BundleStore) BundleGC

func (s *BundleStore) BundleGC(ttl time.Duration) (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(builder *bundle.BundleBuilder, update bool) (*bundle.LockedBundle, error)

Jump to

Keyboard shortcuts

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