crowdsec/pkg/csconfig
mmetc 89f704ef18
light pkg/api{client,server} refact (#2659)
* tests: don't run crowdsec if not necessary
* make listen_uri report the random port number when 0 is requested
* move apiserver.getTLSAuthType() -> csconfig.TLSCfg.GetAuthType()
* move apiserver.isEnrolled() -> apiclient.ApiClient.IsEnrolled()
* extract function apiserver.recoverFromPanic()
* simplify and move APIServer.GetTLSConfig() -> TLSCfg.GetTLSConfig()
* moved TLSCfg type to csconfig/tls.go
* APIServer.InitController(): early return / happy path
* extract function apiserver.newGinLogger()
* lapi tests
* update unit test
* lint (testify)
* lint (whitespace, variable names)
* update docker tests
2023-12-14 14:54:11 +01:00
..
testdata Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
api.go light pkg/api{client,server} refact (#2659) 2023-12-14 14:54:11 +01:00
api_test.go light pkg/api{client,server} refact (#2659) 2023-12-14 14:54:11 +01:00
common.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
config.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
config_paths.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
config_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
console.go remove PAPI feature flag (#2601) 2023-12-08 14:55:45 +01:00
crowdsec_service.go cwhub: context type (#2631) 2023-12-07 16:20:13 +01:00
crowdsec_service_test.go cwhub: context type (#2631) 2023-12-07 16:20:13 +01:00
cscli.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
cscli_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01: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 cscli config feeature-flags: point user to the right location of feature.yaml (#2539) 2023-10-13 09:52:51 +02:00
hub.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
hub_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01: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 Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
simulation.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
simulation_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
tls.go light pkg/api{client,server} refact (#2659) 2023-12-14 14:54:11 +01:00