heroku / docker-registry-client

A Go API client for the v2 Docker Registry API
BSD 3-Clause "New" or "Revised" License
297 stars 225 forks source link

Add function to return the V2 Manifest Digest #51

Open peragwin opened 6 years ago

peragwin commented 6 years ago

This can be different than the digest that is returned if the "Accept:" field is left out the of the request header, so include a new function which ensures that we are getting the HEAD of a V2 manifest.