A Config specifies the configuration for a topology.
| 126 | |
| 127 | // A Config specifies the configuration for a topology. |
| 128 | type Config struct { |
| 129 | Input ConfigInput |
| 130 | FilterChain ConfigFilterChain |
| 131 | Filter []ConfigFilter |
| 132 | Output ConfigOutput |
| 133 | Upload ConfigUpload |
| 134 | |
| 135 | General ConfigGeneral |
| 136 | Fields ConfigFields |
| 137 | Validation ConfigValidation |
| 138 | Metrics ConfigMetrics |
| 139 | CSV ConfigCSV |
| 140 | User []ConfigUser |
| 141 | |
| 142 | shardingFuncs map[FieldIndex]ShardingFunc |
| 143 | validate ValidationFunc |
| 144 | createRecord func() Record |
| 145 | |
| 146 | fieldByName func(string) (FieldIndex, bool) |
| 147 | fieldNames []string |
| 148 | } |
| 149 | |
| 150 | // String returns a string representation of the exported fields of c. |
| 151 | func (c *Config) String() string { |
nothing calls this directly
no outgoing calls
no test coverage detected