|
state: AddMachine revamp continues
We bring the exported State methods closer to the underlying
implementation.
The old interface is still visible in the API, which we can't
easily change for backward compatibility reasons.
As a drive-by fix, we also remove state.Machine.TxnRevno because it's
unnecessary.
https://code.launchpad.net/~rogpeppe/juju-core/468-state-addmachines/+merge/197934
(do not edit description out of merge proposal)
Total comments: 31
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+585 lines, -679 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
agent/bootstrap.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cmd/juju/addmachine.go
|
View
|
1
2
3
4
5
6
|
1 chunk |
+14 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/addmachine_test.go
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/addunit_test.go
|
View
|
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/deploy_test.go
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/status_test.go
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/machine_test.go
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
environs/manual/provisioner.go
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
juju/deploy.go
|
View
|
1
2
3
4
5
6
|
1 chunk |
+7 lines, -10 lines |
0 comments
|
Download
|
 |
M |
provider/common/bootstrap_test.go
|
View
|
1
2
3
4
5
6
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
state/addmachine.go
|
View
|
1
2
3
4
5
6
|
8 chunks |
+128 lines, -171 lines |
0 comments
|
Download
|
 |
M |
state/address.go
|
View
|
1
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
state/api/client.go
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
state/api/params/params.go
|
View
|
1
2
3
4
5
6
|
1 chunk |
+25 lines, -5 lines |
0 comments
|
Download
|
 |
M |
state/api/provisioner/provisioner_test.go
|
View
|
1
2
3
4
5
6
|
4 chunks |
+13 lines, -19 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/agent/agent_test.go
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/client/client.go
|
View
|
1
2
3
4
5
6
|
3 chunks |
+50 lines, -60 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/client/client_test.go
|
View
|
1
2
3
4
5
6
|
5 chunks |
+64 lines, -89 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/provisioner/provisioner_test.go
|
View
|
1
2
3
4
5
6
|
3 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
 |
M |
state/assign_test.go
|
View
|
1
2
3
4
5
6
|
4 chunks |
+16 lines, -28 lines |
0 comments
|
Download
|
 |
M |
state/cleanup_test.go
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
state/export_test.go
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/machine.go
|
View
|
1
2
3
4
5
6
|
3 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
state/machine_test.go
|
View
|
1
2
3
4
5
6
|
6 chunks |
+21 lines, -42 lines |
0 comments
|
Download
|
 |
M |
state/state_test.go
|
View
|
1
2
3
4
5
6
|
19 chunks |
+136 lines, -130 lines |
0 comments
|
Download
|
 |
M |
state/unit.go
|
View
|
1
|
4 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
state/watcher.go
|
View
|
1
2
3
4
5
6
|
6 chunks |
+30 lines, -10 lines |
0 comments
|
Download
|
 |
M |
worker/provisioner/container_initialisation_test.go
|
View
|
1
2
|
3 chunks |
+8 lines, -12 lines |
0 comments
|
Download
|
 |
M |
worker/provisioner/kvm-broker_test.go
|
View
|
1
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
worker/provisioner/lxc-broker_test.go
|
View
|
1
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
worker/provisioner/provisioner_test.go
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
Total messages: 6
|