Descriptionjuju: 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://code.launchpad.net/~jameinel/juju-core/new-api-conn/+merge/182098
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : juju: juju.NewAPIClientFromName #Patch Set 3 : juju: juju.NewAPIClientFromName #
MessagesTotal messages: 4
|