crowdsec/pkg/cwhub
mmetc 3d27e83bf5
pkg/cwhub: improve support for k8s config maps with custom items (#3154)
* pkg/cwhub: improve support for k8s config maps as custom items

 - allow links to links
 - ignore hidden ..data directories, but allow links to their content

* allow any number of subdirectories in /etc/crowdsec/{hubtype}

* item name as subdir/file.yaml

* improve func test

* lint
2024-08-20 17:36:07 +02:00
..
testdata allow .index.json to embed item content (#3145) 2024-07-22 10:54:39 +02:00
cwhub.go update user agent with version and platform information (#3035) 2024-05-30 09:45:43 +02:00
cwhub_test.go Use the new hub api url (#3132) 2024-07-24 12:20:23 +02:00
dataset.go refactor: prefer logrus.WithField over WithFields with a single param (#3087) 2024-06-20 10:38:23 +02:00
doc.go Use the new hub api url (#3132) 2024-07-24 12:20:23 +02:00
errors.go pkg/cwhub: improve support for k8s config maps with custom items (#3154) 2024-08-20 17:36:07 +02:00
hub.go CI: use golangci-lint 1.60 (#3180) 2024-08-19 14:09:17 +02:00
hub_test.go Use the new hub api url (#3132) 2024-07-24 12:20:23 +02:00
item.go allow .index.json to embed item content (#3145) 2024-07-22 10:54:39 +02:00
item_test.go cscli hub list: show only non-empty tables with -o human 2023-12-05 13:38:52 +01:00
iteminstall.go command "cscli doc --target /path/to/dir" (#3169) 2024-08-07 12:45:54 +02:00
iteminstall_test.go pkg/cwhub: use explicit context for item install, upgrade (#3067) 2024-06-07 17:32:52 +02:00
itemlink.go cscli: silence cwhub logger for non-hub related commands (#2675) 2023-12-19 17:20:09 +01:00
itemremove.go pkg/cwhub: improve error messages (#2712) 2024-01-11 10:28:58 +01:00
itemupgrade.go reduce log verbosity, minor CI fixes, lint (#3157) 2024-08-01 10:55:04 +02:00
itemupgrade_test.go Use the new hub api url (#3132) 2024-07-24 12:20:23 +02: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
relativepath.go pkg/cwhub: improve support for k8s config maps with custom items (#3154) 2024-08-20 17:36:07 +02:00
relativepath_test.go pkg/cwhub: improve support for k8s config maps with custom items (#3154) 2024-08-20 17:36:07 +02:00
remote.go refactor: prefer logrus.WithField over WithFields with a single param (#3087) 2024-06-20 10:38:23 +02:00
sync.go pkg/cwhub: improve support for k8s config maps with custom items (#3154) 2024-08-20 17:36:07 +02:00