package metadata
import "github.com/containerd/containerd/metadata"
Index ¶
- func NewContainerStore(tx *bolt.Tx) containers.Store
- func NewContentStore(db *bolt.DB, cs content.Store) content.Store
- func NewImageStore(tx *bolt.Tx) images.Store
- func NewNamespaceStore(tx *bolt.Tx) namespaces.Store
- func NewSnapshotter(db *bolt.DB, name string, sn snapshot.Snapshotter) snapshot.Snapshotter
- func WithTransactionContext(ctx context.Context, tx *bolt.Tx) context.Context
Functions ¶
func NewContainerStore ¶
func NewContainerStore(tx *bolt.Tx) containers.Store
func NewContentStore ¶
NewContentStore returns a namespaced content store using an existing content store interface.
func NewImageStore ¶
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 ¶
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.
Source Files ¶
adaptors.go bolt.go buckets.go containers.go content.go helpers.go images.go namespaces.go snapshot.go
- Version
- v1.0.0-alpha0
- Published
- Jul 13, 2017
- Platform
- linux/amd64
- Imports
- 20 packages
- Last checked
- 2 minutes ago –
Tools for package owners.