89f704ef18
* 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 |
||
---|---|---|
.. | ||
alerts_service.go | ||
alerts_service_test.go | ||
auth.go | ||
auth_service.go | ||
auth_service_test.go | ||
auth_test.go | ||
client.go | ||
client_http.go | ||
client_http_test.go | ||
client_test.go | ||
config.go | ||
decisions_service.go | ||
decisions_service_test.go | ||
decisions_sync_service.go | ||
heartbeat.go | ||
metrics.go | ||
signal.go |