Documentation ¶
Index ¶
- type BundleStore
- func (s *BundleStore) Bundle(id string) (r bundle.Bundle, err error)
- func (s *BundleStore) BundleGC(ttl time.Duration, containers bundle.ContainerStore) (r []bundle.Bundle, err error)
- func (s *BundleStore) Bundles() (l []bundle.Bundle, err error)
- func (s *BundleStore) CreateBundle(id string, update bool) (b *bundle.LockedBundle, err error)
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) 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) CreateBundle ¶
func (s *BundleStore) CreateBundle(id string, update bool) (b *bundle.LockedBundle, err error)
Click to show internal directories.
Click to hide internal directories.