crowdsec/pkg/cwhub
mmetc 042d316fab
Refact cwhub: remove global hub, func test improvements (#2588)
* csConfig.Cscli is always loaded now, configuration paths too
* Remove global/singleton hub instance
* read {index_path} from config instead of assuming {hub_dir}/.index.json
* fix segfault with cscli explain when no parser is installed
* cscli: help text
* hub download timeout 20 sec
* reduce log verbosity
* allow func tests with empty hub or pre-download
* cscli <itemtype> remove --all --purge
2023-11-14 14:58:36 +01:00
..
testdata Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00
cwhub.go Refact cwhub: remove global hub, func test improvements (#2588) 2023-11-14 14:58:36 +01:00
cwhub_test.go Refact cwhub (#2586) 2023-11-10 10:25:29 +01:00
dataset.go Refact cwhub (#2586) 2023-11-10 10:25:29 +01:00
dataset_test.go Refact pkg/cwhub, cscli: hub upgrades (#2568) 2023-10-30 17:23:50 +01:00
enable.go Refact cwhub (#2586) 2023-11-10 10:25:29 +01:00
enable_test.go Refact cwhub (#2586) 2023-11-10 10:25:29 +01:00
errors.go Refact cwhub: version comparison and branch selection (#2581) 2023-11-08 13:21:59 +01:00
helpers.go Refact cwhub: remove global hub, func test improvements (#2588) 2023-11-14 14:58:36 +01:00
helpers_test.go Refact cwhub: remove global hub instance (#2587) 2023-11-10 17:32:12 +01:00
hub.go Refact cwhub: remove global hub instance (#2587) 2023-11-10 17:32:12 +01:00
hub_test.go Refact cwhub: remove global hub instance (#2587) 2023-11-10 17:32:12 +01:00
items.go Refact cwhub: remove global hub, func test improvements (#2588) 2023-11-14 14:58:36 +01:00
items_test.go Refact cwhub: move methods from hub to item (#2585) 2023-11-09 15:19:38 +01:00
leakybucket.go Refact cwhub: version comparison and branch selection (#2581) 2023-11-08 13:21:59 +01:00
pathseparator_unix.go Refact pkg/cwhub (part 4) (#2518) 2023-10-05 09:35:03 +02:00
pathseparator_windows.go Refact pkg/cwhub (part 1) (#2512) 2023-10-04 10:34:10 +02:00
remote.go Refact cwhub (#2586) 2023-11-10 10:25:29 +01:00
sync.go Refact cwhub (#2586) 2023-11-10 10:25:29 +01:00