|
charm/hook: moved from worker/uniter
After a discussion, we realized it makes sense to move the
hook module from worker/uniter into charm/. All relation
types and global hooks are defined there.
In addition, I added a ScanCharm() call, which will be
used to fix bug #864164 and can be useful to validate
a charm's hooks dir against the metadata defined relations.
https://code.launchpad.net/~dimitern/juju-core/reorganize-charm-hook-consts/+merge/148436
(do not edit description out of merge proposal)
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+326 lines, -223 lines) |
Patch |
|
A |
[revision details]
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
charm/hook/hook.go
|
View
|
1
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
|
M |
charm/meta.go
|
View
|
1
|
2 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
|
M |
charm/meta_test.go
|
View
|
1
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
|
worker/uniter/hook/hook.go
|
View
|
|
1 chunk |
+0 lines, -78 lines |
0 comments
|
Download
|
|
D |
worker/uniter/hook/hook.go
|
View
|
1
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
|
|
worker/uniter/hook/hook_test.go
|
View
|
|
1 chunk |
+0 lines, -55 lines |
0 comments
|
Download
|
|
|
worker/uniter/hook/hook_test.go
|
View
|
1
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
|
M |
worker/uniter/modes.go
|
View
|
1
|
6 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
worker/uniter/relation/hookqueue.go
|
View
|
1
|
10 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
|
M |
worker/uniter/relation/hookqueue_test.go
|
View
|
1
|
8 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
worker/uniter/relation/relation.go
|
View
|
1
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
worker/uniter/relation/relation_test.go
|
View
|
1
|
6 chunks |
+18 lines, -17 lines |
0 comments
|
Download
|
|
M |
worker/uniter/relationer.go
|
View
|
1
|
4 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
worker/uniter/relationer_test.go
|
View
|
1
|
13 chunks |
+19 lines, -18 lines |
0 comments
|
Download
|
|
M |
worker/uniter/state.go
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
worker/uniter/state_test.go
|
View
|
1
|
6 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
worker/uniter/uniter.go
|
View
|
1
|
9 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
Total messages: 3
|