FindDescriptor find the descriptor pointed to by the reference in the cache. ref is a valid reference, such as docker.io/library/alpine:3.15 or alpine@sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 If both tag and digest are provided, will use digest exclusively. Will expand
(ref *reference.Spec)
| 17 | // Will expand to full names, so "alpine" becomes "docker.io/library/alpine:latest". |
| 18 | // If none is found, returns nil Descriptor and no error. |
| 19 | FindDescriptor(ref *reference.Spec) (*v1.Descriptor, error) |
| 20 | // ImagePull takes an image name and pulls it from a registry to the cache. It should be |
| 21 | // efficient and only write missing blobs, based on their content hash. If the ref already |
| 22 | // exists in the cache, it should not pull anything, unless alwaysPull is set to true. |
no outgoing calls
no test coverage detected