GoogleContainerTools / minikube-build-tools-for-java

Minikube lifecycle management tools for Gradle and Maven.
Apache License 2.0
57 stars 27 forks source link

Adds BlobChecker. #108

Closed coollog closed 6 years ago

coollog commented 6 years ago

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 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.

See also https://docs.docker.com/registry/spec/api/#existing-layers