|
state/api: Deployer client-side facade.
Implemented all the necessary API calls for the
deployer worker. This is the last step needed
before the deployer can be refactored to use
only the API to talk to state.
Also fixed the StringsWatcher client implementation
(I initially got it wrong, but since nobody was using
it yet it got undetected).
Few other minor issues discovered and fixed in state,
adding tests as needed.
https://code.launchpad.net/~dimitern/juju-core/070-deployer-client-facade/+merge/174973
(do not edit description out of merge proposal)
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+484 lines, -21 lines) |
Patch |
|
A |
[revision details]
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
state/api/deployer/deployer.go
|
View
|
|
1 chunk |
+61 lines, -0 lines |
0 comments
|
Download
|
|
A |
state/api/deployer/deployer_test.go
|
View
|
1
|
1 chunk |
+244 lines, -0 lines |
0 comments
|
Download
|
|
A |
state/api/deployer/machine.go
|
View
|
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
A |
state/api/deployer/unit.go
|
View
|
|
1 chunk |
+85 lines, -0 lines |
0 comments
|
Download
|
|
M |
state/api/machiner/machiner.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
state/api/state.go
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
state/api/upgrader/upgrader_test.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
state/api/watcher/watcher.go
|
View
|
1
|
1 chunk |
+12 lines, -16 lines |
0 comments
|
Download
|
|
M |
state/apiserver/root.go
|
View
|
1
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
state/machine.go
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
state/machine_test.go
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
state/unit.go
|
View
|
1
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
state/unit_test.go
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5
|