mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-14 13:24:34 +02:00
* 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 |
||
---|---|---|
.. | ||
testdata | ||
api.go | ||
api_test.go | ||
common.go | ||
config.go | ||
config_paths.go | ||
config_test.go | ||
console.go | ||
crowdsec_service.go | ||
crowdsec_service_test.go | ||
cscli.go | ||
cscli_test.go | ||
database.go | ||
database_test.go | ||
fflag.go | ||
hub.go | ||
hub_test.go | ||
plugin_config.go | ||
profiles.go | ||
prometheus.go | ||
simulation.go | ||
simulation_test.go | ||
tls.go |