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

Struct CatModeNoFetcher

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

CatModeNoTailer configures itself in "cat" mode but does not implement the Fetcher methods.

Source from the content-addressed store, hash-verified

603
604// CatModeNoTailer configures itself in "cat" mode but does not implement the Fetcher methods.
605type CatModeNoFetcher struct {}
606func (*CatModeNoFetcher) UnmarshalConfig(_ []byte) error { return nil }
607func (*CatModeNoFetcher) Configure(_ context.Context, _ []byte, _ *log.Entry, _ metrics.AcquisitionMetricsLevel) error { return nil }
608func (*CatModeNoFetcher) GetMode() string { return configuration.CAT_MODE }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected