The BlobChecker is an interface to the registry endpoint for checking if a BLOB exists on a registry or not. This endpoint returns the size of the BLOB in the Content-Length header if the BLOB exists, or gives a 404 Not Found error (with error details in the response body) if the BLOB doesn't exist.
Step 5 of #59 .
The
BlobChecker
is an interface to the registry endpoint for checking if a BLOB exists on a registry or not. This endpoint returns the size of the BLOB in theContent-Length
header if the BLOB exists, or gives a404 Not Found
error (with error details in the response body) if the BLOB doesn't exist.See also https://docs.docker.com/registry/spec/api/#existing-layers