|
state/machine: new agent API
As discussed, for testing reasons it makes sense to
place APIs for a given agent alongside one another,
so this CL puts the machiner API and the machine agent
API alongside one another.
Client-side machine agent API in a subsequent CL.
Re-proposing to avoid the prereq, which I can't
submit right now.
Original CL here: https://codereview.appspot.com/10398043/
https://code.launchpad.net/~rogpeppe/juju-core/321-apiserver-machineagent-api/+merge/170306
(do not edit description out of merge proposal)
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+322 lines, -106 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/bootstrap.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cmd/jujud/bootstrap_test.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cmd/jujud/machine.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/machine_test.go
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
state/api/params/params.go
|
View
|
|
2 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/common/interfaces.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
state/apiserver/login_test.go
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
A |
state/apiserver/machine/agent.go
|
View
|
1
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
 |
A |
state/apiserver/machine/agent_test.go
|
View
|
|
1 chunk |
+91 lines, -0 lines |
0 comments
|
Download
|
 |
A |
state/apiserver/machine/common_test.go
|
View
|
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/machine/machiner.go
|
View
|
|
7 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/machine/machiner_test.go
|
View
|
|
3 chunks |
+9 lines, -61 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/root.go
|
View
|
|
3 chunks |
+22 lines, -13 lines |
0 comments
|
Download
|
 |
M |
state/machine.go
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
state/state_test.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 2
|