ImagePull takes an image name and pulls it from a registry to the cache. It should be efficient and only write missing blobs, based on their content hash. If the ref already exists in the cache, it should not pull anything, unless alwaysPull is set to true.
(ref *reference.Spec, platform []imagespec.Platform, alwaysPull bool)
| 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. |
| 23 | ImagePull(ref *reference.Spec, platform []imagespec.Platform, alwaysPull bool) error |
| 24 | // ImageInCache takes an image name and checks if it exists in the cache, including checking that the given |
| 25 | // architecture is complete. Like ImagePull, it should be efficient and only write missing blobs, based on |
| 26 | // their content hash. |
no outgoing calls
no test coverage detected