Imports github.com/Sirupsen/logrus github.com/docker/distribution/digest github.com/docker/distribution/manifest github.com/docker/distribution/registry/api/v2 github.com/docker/docker/pkg/archive github.com/docker/libtrust github.com/gorilla/mux Standard library imports archive/tar bytes encoding/json flag fmt io net/http net/http/httptest net/http/httputil net/url os path regexp strconv strings