|
|
LogDog: Implement prefix registration in Butler.
Implement the prefix registration protocol in Butler. The Butler will now
connect to the "RegisterPrefix" endpoint on creation to register its
prefix and obtain its stream creation secret for that prefix.
This causes output creation to happen immediately before process spawning. Secret is
now an optional parameter and supplied by the Coordinator.
Do some Butler code cleanup and reorganization now that its final form
is taking shape.
BUG=
Committed: https://github.com/luci/luci-go/commit/64d2557248bd6211b50d7f636cc87388227b47c4
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+330 lines, -231 lines) |
Patch |
 |
M |
client/cmd/logdog_butler/main.go
|
View
|
|
13 chunks |
+30 lines, -88 lines |
0 comments
|
Download
|
 |
M |
client/cmd/logdog_butler/output.go
|
View
|
|
3 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/cmd/logdog_butler/output_log.go
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
client/cmd/logdog_butler/output_logdog.go
|
View
|
1
2
3
4
5
|
1 chunk |
+204 lines, -0 lines |
0 comments
|
Download
|
 |
D |
client/cmd/logdog_butler/output_pubsub.go
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -108 lines |
0 comments
|
Download
|
 |
M |
client/cmd/logdog_butler/subcommand_run.go
|
View
|
|
3 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
 |
M |
client/cmd/logdog_butler/subcommand_serve.go
|
View
|
|
1 chunk |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/cmd/logdog_butler/subcommand_stream.go
|
View
|
|
1 chunk |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/internal/logdog/butler/bundler/bundler.go
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
client/internal/logdog/butler/butler.go
|
View
|
|
3 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
client/internal/logdog/butler/butler_test.go
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
client/internal/logdog/butler/output/pubsub/pubsubOutput.go
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
server/internal/logdog/collector/coordinator/cache.go
|
View
|
1
2
3
4
5
|
5 chunks |
+20 lines, -16 lines |
0 comments
|
Download
|
 |
M |
server/internal/logdog/collector/coordinator/cache_test.go
|
View
|
1
2
3
4
5
|
2 chunks |
+19 lines, -2 lines |
0 comments
|
Download
|
Total messages: 13 (6 generated)
|