MCPcopy
hub / github.com/containerd/containerd / Fetcher

Method Fetcher

core/remotes/resolver.go:48–48  ·  view source on GitHub ↗

Fetcher returns a new fetcher for the provided reference. All content fetched from the returned fetcher will be from the namespace referred to by ref.

(ctx context.Context, ref string)

Source from the content-addressed store, hash-verified

46 // All content fetched from the returned fetcher will be
47 // from the namespace referred to by ref.
48 Fetcher(ctx context.Context, ref string) (Fetcher, error)
49
50 // Pusher returns a new pusher for the provided reference
51 // The returned Pusher should satisfy content.Ingester and concurrent attempts

Callers 6

TestResolveProxyFunction · 0.95
TestResolveProxyFallbackFunction · 0.95
runBasicTestFunction · 0.95
runReferrersTestFunction · 0.95
fetchMethod · 0.65
content.goFile · 0.65

Implementers 2

dockerResolvercore/remotes/docker/resolver.go
OCIRegistrycore/transfer/registry/registry.go

Calls

no outgoing calls

Tested by 4

TestResolveProxyFunction · 0.76
TestResolveProxyFallbackFunction · 0.76
runBasicTestFunction · 0.76
runReferrersTestFunction · 0.76