Documentation
¶
Overview ¶
Package containerdutil provides "caching" versions of containerd native snapshotter and content store. NOTE: caching should only be used for single, atomic operations, like `nerdctl images`, and NOT kept across successive, distincts operations. As such, caching is not persistent across invocations of nerdctl, and only lasts as long as the lifetime of the Snapshotter or ContentStore.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ReadBlob = readBlobWithCache()
Functions ¶
func NewProvider ¶
func NewProvider(client *containerd.Client) content.Provider
ContentStore should be called to get a Provider with caching
func SnapshotService ¶
func SnapshotService(client *containerd.Client, snapshotterName string) snapshots.Snapshotter
SnapshotService should be called to get a new caching snapshotter
Types ¶
type ImageStore ¶ added in v2.0.5
type ImageStore struct { }
Click to show internal directories.
Click to hide internal directories.