lp:~jameinel/juju-core/api-rpc-reflect-version

Created by John A Meinel and last modified
Get this branch:
bzr branch lp:~jameinel/juju-core/api-rpc-reflect-version
Only John A Meinel can upload to this branch. If you are John A Meinel please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
John A Meinel
Project:
juju-core
Status:
Development

Recent revisions

2726. By John A Meinel

apply feedback from Dimiter's review.

2724. By John A Meinel

merge typed-registry, bringing it trunk and switch to github.com/juju/errors

2723. By John A Meinel

add some fullstops for comments in another branch

2722. By John A Meinel

address review comments.

2721. By John A Meinel

merge in rpc-version.

This gives us all of the functionality for passing Version in the RPC,
and changes the MethodCaller signature so that it can take the version
and the objId.

2720. By John A Meinel

Merge trunk r2730

2719. By John A Meinel

go fmt.

2718. By John A Meinel

export the type so that other places can have a reference to it.

2717. By John A Meinel

check that the type can be converted exactly to the version we want

2716. By John A Meinel

Create a registry.TypedNameVersion type.

This is meant as a generic Registry implementation, though the Typed
code allows you to ensure that the types of things registered exactly
match what you want.
We use ConvertibleTo and do the Convert internally, which allows you
to specify a named type for your interface, but pass in things
without having to actually cast them ahead of time.

Needs a bit more refinement, but should allow us an easy way to
have a generic Registry while still preserving the Types that we
care about.

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
This branch contains Public information 
Everyone can see this information.

Subscribers