registryResolver implements ImageResolver by querying OCI Distribution tag list endpoints. It caches tag lists per repository.
| 35 | // registryResolver implements ImageResolver by querying OCI Distribution |
| 36 | // tag list endpoints. It caches tag lists per repository. |
| 37 | type registryResolver struct { |
| 38 | client *http.Client |
| 39 | mu sync.Mutex |
| 40 | cache map[string][]string |
| 41 | } |
| 42 | |
| 43 | // NewRegistryResolver creates an ImageResolver that checks tags against |
| 44 | // the OCI Distribution API. Pass nil to use http.DefaultClient. |
nothing calls this directly
no outgoing calls
no test coverage detected