MCPcopy Create free account
hub / github.com/AdRoll/baker / Run

Method Run

api.go:65–65  ·  view source on GitHub ↗

Start fetching data and pushing it into the channel. If this call blocks forever, the topology is permanent and acts like a long-running daemon; if this calls exits after it has finished, the topology is meant to be run as a task to process a fixed-size input, and baker will cleanly shutdown after a

(output chan<- *Data)

Source from the content-addressed store, hash-verified

63 // to process a fixed-size input, and baker will cleanly shutdown
64 // after all inputs have been fully processed.
65 Run(output chan<- *Data) error
66
67 // Force the input to stop as clean as possible, at a good boundary.
68 // This is usually issued at the user's request of exiting the process.

Callers 15

Test_assignFieldMappingFunction · 0.65
TestExampleHelpFunction · 0.65
TestE2EFullTopologyFunction · 0.65
TestMergeHistogramFunction · 0.65
TestMergeTimingsFunction · 0.65
TestRequiredFieldsFunction · 0.65
TestCheckRequiredFieldsFunction · 0.65
TestGenerateHelpFunction · 0.65
BenchmarkLogLineParseFunction · 0.65

Implementers 10

dummyInputtopology_test.go
SQSinput/sqs.go
Kinesisinput/kinesis.go
KCLinput/kcl.go
TCPinput/tcp.go
Listinput/list.go
Recordsinput/inputtest/records.go
Baseinput/inputtest/base.go
Randominput/inputtest/random.go
LogLineinput/inputtest/logline.go

Calls

no outgoing calls

Tested by 15

Test_assignFieldMappingFunction · 0.52
TestExampleHelpFunction · 0.52
TestE2EFullTopologyFunction · 0.52
TestMergeHistogramFunction · 0.52
TestMergeTimingsFunction · 0.52
TestRequiredFieldsFunction · 0.52
TestCheckRequiredFieldsFunction · 0.52
TestGenerateHelpFunction · 0.52
BenchmarkLogLineParseFunction · 0.52