lp:~jameinel/juju-core/describe-api-versions
- Get this branch:
- bzr branch lp:~jameinel/juju-core/describe-api-versions
Branch merges
Branch information
Recent revisions
- 2707. By John A Meinel
-
implement RegisterStandar
dFacade as a way to not have to write all the boilerplate func() The boilerplate func() stuff just existed in order to proxy one argument
from an exact type into being a pure interface{}.
We can create those functions on the fly using reflect, and it saves
rewriting a lot of code.
The specific code is a bit longer and uglier because of reflect, but
it works, and it is also thoroughly checked. - 2705. By John A Meinel
-
turns out reflect.ValueOf doesn't play nicely with nil arguments.
If you pass in something that is 'nil', you get the ZeroValue. But reflect.
Value(& foo).Elem( )
always has a concrete type and can give you a concrete value of nil. - 2704. By John A Meinel
-
at least we can now run the test suite again.
stuff is still broken, but *progress* :)
Start working on having helpers to make registering types dirt simple.
And some helper functions to validate that stuff. - 2702. By John A Meinel
-
Try out the MethodCaller interface.
The test suite doesn't actually pass when you use MethodCaller,
because Watchers are a different API Facade, so while it can create
the Watch, it fails to actually use it. - 2701. By John A Meinel
-
start using the registry for a few of the Facades.
This allows all of the facade helpers to use common code inside
of srvRoot, though eventually we'll probably get rid of all of that
in favor of a new MethodCaller interface.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~go-bot/juju-core/trunk