package
1.1.0
Repository: https://github.com/fuweid/containerd.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewContainerStore returns a Store backed by an underlying bolt DB.
NewDB creates a new metadata database using the provided bolt database, content store, and snapshotters.
NewImageStore returns a store backed by a bolt DB.
NewLeaseManager creates a new lease manager for managing leases using the provided database transaction.
NewNamespaceStore returns a store backed by a bolt DB.
WithTransactionContext returns a new context holding the provided bolt transaction.

# Constants

ResourceContainer specifies a container resource.
ResourceContent specifies a content resource.
ResourceSnapshot specifies a snapshot resource.
ResourceTask specifies a task resource.
ResourceUnknown specifies an unknown resource.

# Structs

DB represents a metadata database backed by a bolt database.
GCStats holds the duration for the different phases of the garbage collector.
Lease retains resources to prevent garbage collection before the resources can be fully referenced.
LeaseManager manages the create/delete lifecyle of leases and also returns existing leases.