crowdsec/pkg/csconfig
mmetc 9ae8bd79c5
Refact pkg/csconfig tests (#2526)
* remove unused method
* whitespace, redundant comments
* use test helpers
* move DumpConsoleConfig() from pkg/csconfig to cscli
* package doc header
* var -> const
* rename ./tests -> ./testdata
* shorter tests with more error checks
* lint/formatting
* use helpers; fix tests that didn't actually test
* lint; rename expectedResult -> expected
2023-10-09 11:10:51 +02:00
..
testdata Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
api.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
api_test.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
common.go errors.Wrap -> fmt.Errorf; clean up imports (#2301) 2023-06-23 14:04:58 +02:00
common_test.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
config.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
config_paths.go errors.Wrap -> fmt.Errorf; clean up imports (#2301) 2023-06-23 14:04:58 +02:00
config_test.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
console.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
crowdsec_service.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
crowdsec_service_test.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
cscli.go Allow feature.yml to change available subcommands (#2156) 2023-04-03 10:11:56 +02:00
cscli_test.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
database.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
database_test.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
fflag.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
hub.go Refact cscli hub / pkg/cwhub (part 5) (#2521) 2023-10-06 13:59:51 +02:00
hub_test.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
plugin_config.go Make plugin runner configurable and run only registered plugins (#944) 2021-09-08 11:36:42 +02:00
profiles.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
prometheus.go CI: add tests for metrics configuration (#2251) 2023-06-05 23:17:30 +02:00
prometheus_test.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
simulation.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
simulation_test.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00