MCPcopy
hub / github.com/google/go-containerregistry / BlobHandler

Interface BlobHandler

pkg/registry/blobs.go:53–56  ·  view source on GitHub ↗

BlobHandler represents a minimal blob storage backend, capable of serving blob contents.

Source from the content-addressed store, hash-verified

51// BlobHandler represents a minimal blob storage backend, capable of serving
52// blob contents.
53type BlobHandler interface {
54 // Get gets the blob contents, or errNotFound if the blob wasn't found.
55 Get(ctx context.Context, repo string, h v1.Hash) (io.ReadCloser, error)
56}
57
58// BlobStatHandler is an extension interface representing a blob storage
59// backend that can serve metadata about blobs.

Callers 5

handleMethod · 0.65
handleTagsMethod · 0.65
handleCatalogMethod · 0.65
handleMethod · 0.65
TestCallsFunction · 0.65

Implementers 6

memHandlerpkg/registry/blobs.go
diskHandlerpkg/registry/blobs_disk.go
helperpkg/authn/keychain_test.go
fscachepkg/v1/cache/fs.go
memcachepkg/v1/cache/cache_test.go
Pullerpkg/v1/remote/puller.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…