MCPcopy
hub / github.com/containerd/containerd / dockerBase

Struct dockerBase

core/remotes/docker/resolver.go:486–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484}
485
486type dockerBase struct {
487 refspec reference.Spec
488 repository string
489 hosts []RegistryHost
490 header http.Header
491 performances transfer.ImageResolverPerformanceSettings
492 limiter *semaphore.Weighted
493}
494
495func (r *dockerBase) Acquire(ctx context.Context, weight int64) error {
496 if r.limiter == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected