crowdsec/pkg/apiclient
mmetc c245b1e6f8
CI: enable linter "noctx" (#3528)
* CI: enable linter "noctx"

* rename NewRequestWithContext() -> PrepareRequest()
2025-03-24 15:16:40 +01:00
..
useragent refact: pkg/apiclient set and use default user agent (#3219) 2024-09-09 11:27:20 +02:00
alerts_service.go CI: enable linter "noctx" (#3528) 2025-03-24 15:16:40 +01:00
alerts_service_test.go tests: switch context.Background() -> t.Context() from go 1.24 (#3473) 2025-02-21 00:09:11 +01:00
allowlists_service.go CI: enable linter "noctx" (#3528) 2025-03-24 15:16:40 +01:00
auth_jwt.go refact: context propagation (apiclient, cticlient...) (#3477) 2025-02-21 13:23:39 +01:00
auth_key.go apiclient: split auth_key, auth_retry, auth_jwt (#2743) 2024-01-17 15:08:41 +01:00
auth_key_test.go tests: switch context.Background() -> t.Context() from go 1.24 (#3473) 2025-02-21 00:09:11 +01:00
auth_retry.go lint (intrange) (#2970) 2024-06-21 13:47:26 +02:00
auth_service.go CI: enable linter "noctx" (#3528) 2025-03-24 15:16:40 +01:00
auth_service_test.go tests: switch context.Background() -> t.Context() from go 1.24 (#3473) 2025-02-21 00:09:11 +01:00
client.go fix #3532 "reload causes crashing process" (#3534) 2025-03-24 15:10:10 +01:00
client_http.go CI: enable linter "noctx" (#3528) 2025-03-24 15:16:40 +01:00
client_http_test.go tests: switch context.Background() -> t.Context() from go 1.24 (#3473) 2025-02-21 00:09:11 +01:00
client_test.go tests: switch context.Background() -> t.Context() from go 1.24 (#3473) 2025-02-21 00:09:11 +01:00
clone.go apiclient: split auth_key, auth_retry, auth_jwt (#2743) 2024-01-17 15:08:41 +01:00
config.go context propagation: pass ctx to UpdateScenario() (#3258) 2024-10-02 13:39:07 +02:00
decisions_service.go CI: enable linter "noctx" (#3528) 2025-03-24 15:16:40 +01:00
decisions_service_test.go tests: switch context.Background() -> t.Context() from go 1.24 (#3473) 2025-02-21 00:09:11 +01:00
decisions_sync_service.go CI: enable linter "noctx" (#3528) 2025-03-24 15:16:40 +01:00
heartbeat.go CI: enable linter "noctx" (#3528) 2025-03-24 15:16:40 +01:00
metrics.go CI: enable linter "noctx" (#3528) 2025-03-24 15:16:40 +01:00
resperr.go lint: enable (some) gocritic checks (#3238) 2024-09-17 17:07:30 +02:00
retry_config.go jwt transport: fix retry on unauthorized from CAPI(#3006) 2024-05-24 14:43:12 +02:00
signal.go CI: enable linter "noctx" (#3528) 2025-03-24 15:16:40 +01:00
usagemetrics.go CI: enable linter "noctx" (#3528) 2025-03-24 15:16:40 +01:00