|
api/common: shared Life implementation
This is intended for imminent use by the deployer; hence the changes to
common.PasswordChanger and the rhymingimplementation of LifeGetter. In
short: the set of units accessible to the deployer needs to be figured
out by looking in the db (the Authorizer's entity could be stale, and I
don't want to mix Refresh()y concerns in there), so the auth funcs are
generated as late as possible.
https://code.launchpad.net/~fwereade/juju-core/api-common-life/+merge/173721
(do not edit description out of merge proposal)
Total comments: 18
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+312 lines, -64 lines) |
Patch |
|
A |
[revision details]
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
state/apiserver/common/export_test.go
|
View
|
|
1 chunk |
+10 lines, -3 lines |
0 comments
|
Download
|
|
M |
state/apiserver/common/interfaces.go
|
View
|
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
|
A |
state/apiserver/common/life.go
|
View
|
|
1 chunk |
+51 lines, -0 lines |
2 comments
|
Download
|
|
A |
state/apiserver/common/life_test.go
|
View
|
|
1 chunk |
+94 lines, -0 lines |
6 comments
|
Download
|
|
M |
state/apiserver/common/password.go
|
View
|
|
2 chunks |
+17 lines, -8 lines |
2 comments
|
Download
|
|
M |
state/apiserver/common/password_test.go
|
View
|
|
4 chunks |
+30 lines, -9 lines |
4 comments
|
Download
|
|
M |
state/apiserver/machine/agent.go
|
View
|
|
1 chunk |
+5 lines, -3 lines |
2 comments
|
Download
|
|
M |
state/apiserver/machine/agent_test.go
|
View
|
|
1 chunk |
+22 lines, -0 lines |
2 comments
|
Download
|
|
M |
state/apiserver/machine/machiner.go
|
View
|
|
3 chunks |
+13 lines, -23 lines |
0 comments
|
Download
|
|
M |
state/state.go
|
View
|
|
2 chunks |
+26 lines, -8 lines |
0 comments
|
Download
|
|
M |
state/state_test.go
|
View
|
|
3 chunks |
+37 lines, -4 lines |
0 comments
|
Download
|
Total messages: 4
|