Imports github.com/Sirupsen/logrus github.com/docker/distribution/context github.com/docker/distribution/registry/auth github.com/docker/libtrust Standard library imports crypto/x509 encoding/base64 encoding/json encoding/pem errors fmt io/ioutil net/http os strings time crypto