crowdsec/pkg/csconfig
mmetc 338141f067
Refact cscli hub / pkg/cwhub (part 5) (#2521)
* remove unused yaml tags
* cscli/cwhub: deduplicate, remove dead code
* log.Fatal -> fmt.Errorf
* deflate utils.go by moving functions to respective files
* indexOf() -> slices.Index()
* ItemStatus() + toEmoji() -> Item.status()
* Item.versionStatus()
* move getSHA256() to loader.go
2023-10-06 13:59:51 +02:00
..
tests Alert context (#1895) 2023-01-04 16:50:02 +01:00
api.go fix issue #2499 - nil dereference while using capi whitelists (#2501) 2023-10-02 11:42:17 +02:00
api_test.go fix issue #2499 - nil dereference while using capi whitelists (#2501) 2023-10-02 11:42:17 +02:00
common.go errors.Wrap -> fmt.Errorf; clean up imports (#2301) 2023-06-23 14:04:58 +02:00
common_test.go lint: error handling cleanup (#1877) 2022-11-29 09:16:07 +01:00
config.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
config_paths.go errors.Wrap -> fmt.Errorf; clean up imports (#2301) 2023-06-23 14:04:58 +02:00
config_test.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
console.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +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 update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
cscli.go Allow feature.yml to change available subcommands (#2156) 2023-04-03 10:11:56 +02:00
cscli_test.go lint: error handling cleanup (#1877) 2022-11-29 09:16:07 +01:00
database.go refactor alert/decisions insert/update to avoid database locking in bulk operations (#2446) 2023-09-04 14:21:45 +02:00
database_test.go option db_client.decision_bulk_size (#2440) 2023-08-25 17:05:17 +02:00
fflag.go Allow feature.yml to change available subcommands (#2156) 2023-04-03 10:11:56 +02:00
hub.go Refact cscli hub / pkg/cwhub (part 5) (#2521) 2023-10-06 13:59:51 +02:00
hub_test.go functional tests, minor refactoring and lint/cleanup (#1570) 2022-06-06 15:24:48 +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 update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
prometheus.go CI: add tests for metrics configuration (#2251) 2023-06-05 23:17:30 +02:00
prometheus_test.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
simulation.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
simulation_test.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00