~juju-qa/ubuntu/xenial/juju/2.0-rc2

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/cmd/juju/application/store.go

  • Committer: Nicholas Skaggs
  • Date: 2016-09-30 14:39:30 UTC
  • mfrom: (1.8.1)
  • Revision ID: nicholas.skaggs@canonical.com-20160930143930-vwwhrefh6ftckccy
import upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
 
59
59
// TODO(ericsnow) Return charmstore.CharmID from resolve()?
60
60
 
 
61
// ResolveCharmFunc is the type of a function that resolves a charm URL.
 
62
type ResolveCharmFunc func(
 
63
        resolveWithChannel func(*charm.URL) (*charm.URL, csparams.Channel, []string, error),
 
64
        conf *config.Config,
 
65
        url *charm.URL,
 
66
) (*charm.URL, csparams.Channel, []string, error)
 
67
 
61
68
func resolveCharm(
62
69
        resolveWithChannel func(*charm.URL) (*charm.URL, csparams.Channel, []string, error),
63
70
        conf *config.Config,