MCPcopy
hub / github.com/crowdsecurity/crowdsec / MockSource

Struct MockSource

pkg/acquisition/acquisition_test.go:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected