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 |
||
---|---|---|
.. | ||
controllers | ||
middlewares/v1 | ||
tests | ||
alerts_test.go | ||
api_key_test.go | ||
apic.go | ||
apic_metrics.go | ||
apic_metrics_test.go | ||
apic_test.go | ||
apiserver.go | ||
apiserver_test.go | ||
decisions_test.go | ||
heartbeat_test.go | ||
jwt_test.go | ||
machines_test.go | ||
papi.go | ||
papi_cmd.go |