package metadata

import "github.com/containerd/containerd/metadata"

Index

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.

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
windows/amd64
Imports
20 packages
Last checked
1 second ago

Tools for package owners.