Imports gopkg.in/macaroon-bakery.v2-unstable/httpbakery gopkg.in/juju/charmrepo.v3/csclient github.com/juju/loggo github.com/juju/utils gopkg.in/errgo.v1 gopkg.in/juju/charm.v6 gopkg.in/juju/charm.v6/resource gopkg.in/juju/charmrepo.v3/csclient/params Standard library imports encoding/json errors fmt io io/ioutil net net/http net/url os path/filepath sort strings crypto/sha512