IndexSource a source for an image in the OCI distribution cache. Implements a spec.ImageSource.
| 17 | // IndexSource a source for an image in the OCI distribution cache. |
| 18 | // Implements a spec.ImageSource. |
| 19 | type IndexSource struct { |
| 20 | ref *reference.Spec |
| 21 | provider *Provider |
| 22 | descriptor *v1.Descriptor |
| 23 | platforms []imagespec.Platform |
| 24 | } |
| 25 | |
| 26 | // NewIndexSource return an IndexSource for a specific ref in the given |
| 27 | // cache directory. |
nothing calls this directly
no outgoing calls
no test coverage detected