package
1.4.0-beta.2
Repository: https://github.com/crisesw/containerd.git
Documentation: pkg.go.dev

# Functions

CommitActive renames the active snapshot transaction referenced by `key` as a committed snapshot referenced by `Name`.
CreateSnapshot inserts a record for an active or view snapshot with the provided parent.
GetInfo returns the snapshot Info directly from the metadata.
GetSnapshot returns the metadata for the active or view snapshot transaction referenced by the given key.
IDMap returns all the IDs mapped to their key.
NewMetaStore returns a snapshot MetaStore for storage of metadata related to a snapshot driver backed by a bolt file database.
Remove removes a snapshot from the metastore.
UpdateInfo updates an existing snapshot info's data.
WalkInfo iterates through all metadata Info for the stored snapshots and calls the provided function for each.

# Variables

ErrNoTransaction is returned when an operation is attempted with a context which is not inside of a transaction.

# Structs

MetaStore is used to store metadata related to a snapshot driver.
Snapshot hold the metadata for an active or view snapshot transaction.

# Interfaces

Transactor is used to finalize an active transaction.