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