|
api: Implement RelationUnitsWatcher in client API
This completes the implementation of UniterAPI
WatchRelationUnits() at the client-side API by
implementing the rest of the RelationUnitsWatcher.
I missed some server-side code neede, which is
added now. Also, as a consequence some of the
relation and relation unit client methods got
implemented, as well as client uniter tests
were extended to cover the upcoming relation
units tests.
https://code.launchpad.net/~dimitern/juju-core/120-api-relationunitswatcher-client/+merge/184044
(do not edit description out of merge proposal)
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+334 lines, -81 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/api/apiclient.go
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/api/state.go
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
state/api/uniter/relation.go
|
View
|
|
3 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
 |
M |
state/api/uniter/relationunit.go
|
View
|
1
|
2 chunks |
+30 lines, -6 lines |
0 comments
|
Download
|
 |
M |
state/api/uniter/unit.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
state/api/uniter/uniter.go
|
View
|
|
4 chunks |
+47 lines, -14 lines |
0 comments
|
Download
|
 |
M |
state/api/uniter/uniter_test.go
|
View
|
|
20 chunks |
+113 lines, -51 lines |
0 comments
|
Download
|
 |
M |
state/api/watcher/interfaces.go
|
View
|
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/api/watcher/watcher.go
|
View
|
|
1 chunk |
+59 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/root.go
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/uniter/uniter_test.go
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
state/apiserver/watcher.go
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
Total messages: 3
|