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

Struct ConfigInput

config.go:37–44  ·  view source on GitHub ↗

The configuration for the topology is parsed from TOML format. Each of Input, Filter, Output have a separate section (table) in the file containing a key called "Name" that specifies which component will be used in the pipeline, plus a couple of other generic keys. Then, there are sub-tables called

Source from the content-addressed store, hash-verified

35
36// ConfigInput specifies the configuration for the input component.
37type ConfigInput struct {
38 Name string
39 ChanSize int // ChanSize represents the size of the channel to send records from the input to the filters, the default value is 1024
40 DecodedConfig interface{}
41
42 Config *toml.Primitive
43 desc *InputDesc
44}
45
46// ConfigFilterChain specifies the configuration for the whole fitler chain.
47type ConfigFilterChain struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected