|
Add Machine to uniter API
This change adds the Machine entity
to the uniter API, to support coming
changes to the uniter. The uniter
will become responsible for watching
machine addresses and updating
relations.
Also, drive-by consolidation of Watch
methods into api/common.
https://code.launchpad.net/~axwalk/juju-core/api-uniter-machine/+merge/221332
(do not edit description out of merge proposal)
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+380 lines, -88 lines) |
Patch |
 |
A |
[revision details]
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
state/api/common/watch.go
|
View
|
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/api/firewaller/service.go
|
View
|
|
2 chunks |
+2 lines, -17 lines |
0 comments
|
Download
|
 |
M |
state/api/firewaller/unit.go
|
View
|
|
2 chunks |
+2 lines, -17 lines |
0 comments
|
Download
|
 |
M |
state/api/machiner/machine.go
|
View
|
|
2 chunks |
+2 lines, -19 lines |
0 comments
|
Download
|
 |
M |
state/api/params/internal.go
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
A |
state/api/uniter/machine.go
|
View
|
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
A |
state/api/uniter/machine_test.go
|
View
|
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/api/uniter/service.go
|
View
|
|
2 chunks |
+2 lines, -17 lines |
0 comments
|
Download
|
 |
M |
state/api/uniter/unit.go
|
View
|
|
3 chunks |
+22 lines, -17 lines |
0 comments
|
Download
|
 |
M |
state/api/uniter/unit_test.go
|
View
|
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/api/uniter/uniter.go
|
View
|
|
2 chunks |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/uniter/uniter.go
|
View
|
|
6 chunks |
+73 lines, -1 line |
0 comments
|
Download
|
 |
M |
state/apiserver/uniter/uniter_test.go
|
View
|
|
1 chunk |
+61 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4
|