metadata

package
v1.0.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2017 License: Apache-2.0, CC-BY-SA-4.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContainerStore

func NewContainerStore(tx *bolt.Tx) containers.Store

func NewContentStore

func NewContentStore(db *bolt.DB, cs content.Store) content.Store

NewContentStore returns a namespaced content store using an existing content store interface.

func NewImageStore

func NewImageStore(tx *bolt.Tx) images.Store

func NewNamespaceStore

func NewNamespaceStore(tx *bolt.Tx) namespaces.Store

func NewSnapshotter

func NewSnapshotter(db *bolt.DB, name string, sn snapshot.Snapshotter) snapshot.Snapshotter

NewSnapshotter returns a new Snapshotter which namespaces the given snapshot using the provided name and metadata store.

func WithTransactionContext

func WithTransactionContext(ctx context.Context, tx *bolt.Tx) context.Context

WithTransactionContext returns a new context holding the provided bolt transaction. Functions which require a bolt transaction will first check to see if a transaction is already created on the context before creating their own.

Types

This section is empty.

Jump to

Keyboard shortcuts

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