|
jujud: machine agent removes dead units
This was accomplished by using a Deployer in place of a Machiner, thereby
rendering redundant and enabling the removal of:
* the container package
* the worker/machiner package
* the state.MachinePrincipalUnitsWatcher type
In the name of clarity and convenience, the following methods were added:
* (*state.State) Addrs() []string
* (*state.State) CACert() []byte
* (*state.UnitsWatcher) EntityName() string
...allowing for neater Manager and Deployer creation.
https://code.launchpad.net/~fwereade/juju-core/machine-agent-deployer/+merge/140174
(do not edit description out of merge proposal)
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+80 lines, -930 lines) |
Patch |
 |
A |
[revision details]
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/machine.go
|
View
|
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
D |
container/container.go
|
View
|
|
1 chunk |
+0 lines, -114 lines |
0 comments
|
Download
|
 |
D |
container/container_test.go
|
View
|
|
1 chunk |
+0 lines, -111 lines |
0 comments
|
Download
|
 |
M |
state/machine_test.go
|
View
|
|
2 chunks |
+3 lines, -259 lines |
0 comments
|
Download
|
 |
M |
state/open.go
|
View
|
|
4 chunks |
+20 lines, -9 lines |
0 comments
|
Download
|
 |
M |
state/state.go
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
state/state_test.go
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/watcher.go
|
View
|
|
6 chunks |
+32 lines, -166 lines |
0 comments
|
Download
|
 |
M |
worker/deployer/deployer.go
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
worker/deployer/deployer_test.go
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
worker/deployer/simple.go
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
D |
worker/machiner/export_test.go
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
D |
worker/machiner/machiner.go
|
View
|
|
1 chunk |
+0 lines, -95 lines |
0 comments
|
Download
|
 |
D |
worker/machiner/machiner_test.go
|
View
|
|
1 chunk |
+0 lines, -156 lines |
0 comments
|
Download
|
Total messages: 4
|