MCPcopy
hub / github.com/containerd/containerd / NewImageStore

Function NewImageStore

core/metadata/images.go:46–48  ·  view source on GitHub ↗

NewImageStore returns a store backed by a bolt DB

(db *DB)

Source from the content-addressed store, hash-verified

44
45// NewImageStore returns a store backed by a bolt DB
46func NewImageStore(db *DB) images.Store {
47 return &imageStore{db: db}
48}
49
50func (s *imageStore) Get(ctx context.Context, name string) (images.Image, error) {
51 var image images.Image

Callers 6

FuzzImageStoreFunction · 0.92
initFunction · 0.92
initFunction · 0.92
TestImagesListFunction · 0.85
createFunction · 0.85

Calls

no outgoing calls

Tested by 4

FuzzImageStoreFunction · 0.74
TestImagesListFunction · 0.68
createFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…