| 27 | ) |
| 28 | |
| 29 | type MockSource struct { |
| 30 | Toto string `yaml:"toto"` |
| 31 | logger *log.Entry |
| 32 | configuration.DataSourceCommonCfg `yaml:",inline"` |
| 33 | } |
| 34 | |
| 35 | func (f *MockSource) UnmarshalConfig(cfg []byte) error { |
| 36 | err := yaml.UnmarshalWithOptions(cfg, f, yaml.Strict()) |
nothing calls this directly
no outgoing calls
no test coverage detected