~frankban/juju-core/trial

Viewing all changes in revision 1721.

  • Committer: Tarmac
  • Author(s): John Arbash Meinel
  • Date: 2013-08-28 10:56:45 UTC
  • mfrom: (1712.1.5 new-api-conn)
  • Revision ID: tarmac-20130828105645-qc1jhq78kqfr59nr
[r=jameinel] juju: juju.NewAPIClientFromName

Rather than exposing APIConn and its associated Environ object, William asked
if we could expose something smaller. We really don't want CLI code to be
directly needing provider credentials, etc. The only thing the current caller
did with APIConn was ask for the conn.State.Client() anyway.

This should give us more focused thoughts that the CLI only thinks about
stuff via the API calls it makes, as the only thing it *has* is a thing to
make API calls.

https://codereview.appspot.com/12943045/

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: