|
state: embed charm.Relation in Endpoint.
We add the relation name and role to charm.Relation.
This makes it reasonable to use Relation in the API
interface for endpoints.
https://code.launchpad.net/~rogpeppe/juju-core/259-charm-relation-name/+merge/155801
(do not edit description out of merge proposal)
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+490 lines, -271 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
charm/meta.go
|
View
|
1
2
|
6 chunks |
+48 lines, -21 lines |
0 comments
|
Download
|
 |
M |
charm/meta_test.go
|
View
|
1
2
|
6 chunks |
+119 lines, -26 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/deploy_test.go
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
state/endpoint.go
|
View
|
|
4 chunks |
+29 lines, -41 lines |
0 comments
|
Download
|
 |
M |
state/endpoint_test.go
|
View
|
|
3 chunks |
+82 lines, -42 lines |
0 comments
|
Download
|
 |
M |
state/relation.go
|
View
|
1
2
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
state/relation_internal_test.go
|
View
|
|
1 chunk |
+19 lines, -11 lines |
0 comments
|
Download
|
 |
M |
state/relation_test.go
|
View
|
|
2 chunks |
+19 lines, -3 lines |
0 comments
|
Download
|
 |
M |
state/relationunit.go
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
state/service.go
|
View
|
1
2
|
2 chunks |
+11 lines, -12 lines |
0 comments
|
Download
|
 |
M |
state/service_test.go
|
View
|
1
2
|
4 chunks |
+67 lines, -45 lines |
0 comments
|
Download
|
 |
M |
state/state.go
|
View
|
1
2
|
4 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
state/state_test.go
|
View
|
|
3 chunks |
+69 lines, -45 lines |
0 comments
|
Download
|
 |
M |
worker/uniter/context.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
worker/uniter/relationer.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
worker/uniter/uniter.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 4
|