Documentation ¶
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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.