Imports gopkg.in/macaroon-bakery.v2-unstable/httpbakery gopkg.in/httprequest.v1 gopkg.in/macaroon.v2-unstable gopkg.in/errgo.v1 gopkg.in/juju/charm.v6 gopkg.in/juju/charmrepo.v3/csclient/params Standard library imports bytes encoding/base64 encoding/json fmt io io/ioutil unicode crypto/sha512 net/http net/url os reflect strconv strings time