| 484 | } |
| 485 | |
| 486 | type 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 | |
| 495 | func (r *dockerBase) Acquire(ctx context.Context, weight int64) error { |
| 496 | if r.limiter == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected