MCPcopy Index your code
hub / github.com/containerd/containerd / Pusher

Method Pusher

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

Pusher returns a new pusher for the provided reference The returned Pusher should satisfy content.Ingester and concurrent attempts to push the same blob using the Ingester API should result in ErrUnavailable.

(ctx context.Context, ref string)

Source from the content-addressed store, hash-verified

51 // The returned Pusher should satisfy content.Ingester and concurrent attempts
52 // to push the same blob using the Ingester API should result in ErrUnavailable.
53 Pusher(ctx context.Context, ref string) (Pusher, error)
54}
55
56// ResolverWithOptions is a Resolver that also supports setting options.

Callers 2

PushMethod · 0.65
content.goFile · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected