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

Struct MockSourceByDSN

pkg/acquisition/acquisition_test.go:512–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510}
511
512type MockSourceByDSN struct {
513 configuration.DataSourceCommonCfg `yaml:",inline"`
514 Toto string `yaml:"toto"`
515 logger *log.Entry //nolint:unused
516}
517
518func (*MockSourceByDSN) UnmarshalConfig(_ []byte) error { return nil }
519func (*MockSourceByDSN) Configure(_ context.Context, _ []byte, _ *log.Entry, _ metrics.AcquisitionMetricsLevel) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected