Imports github.com/docker/distribution/storagedriver github.com/docker/distribution/storagedriver/factory github.com/docker/distribution/storagedriver/base github.com/AdRoll/goamz/s3 github.com/AdRoll/goamz/aws Standard library imports bytes fmt io io/ioutil net/http strconv strings time