apiserver/pkg/server/filters
Patrick Ohly ba3b8e9322 enhance and fix log calls
Some of these changes are cosmetic (repeatedly calling klog.V instead of
reusing the result), others address real issues:

- Logging a message only above a certain verbosity threshold without
  recording that verbosity level (if klog.V().Enabled() { klog.Info... }):
  this matters when using a logging backend which records the verbosity
  level.

- Passing a format string with parameters to a logging function that
  doesn't do string formatting.

All of these locations where found by the enhanced logcheck tool from
https://github.com/kubernetes/klog/pull/297.

In some cases it reports false positives, but those can be suppressed with
source code comments.

Kubernetes-commit: edffc700a43e610f641907290a5152ca593bad79
2022-02-16 12:17:47 +01:00
..
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
content_type.go add a content-type filter to apiserver filters to autoset nosniff 2019-01-04 14:06:46 -08:00
content_type_test.go add a content-type filter to apiserver filters to autoset nosniff 2019-01-04 14:06:46 -08:00
cors.go fix the address of restful-CORS-filter.go and restful-basic-authentication.go in the comment of ./staging/src/k8s.io/apiserver/pkg/server/filters/cors.go 2021-02-06 09:07:58 +08:00
cors_test.go fix using defer in loop in cors test 2018-01-26 16:56:12 +08:00
doc.go move genericapiserver/server/filters to apiserver 2017-01-27 14:15:18 -05:00
goaway.go fix S1008 simplify bool returns 2020-06-26 10:39:16 -05:00
goaway_test.go remove unused variable responseBodySize 2021-11-16 22:49:22 +01:00
hsts.go Fix HSTS Missing From HTTPS Server(Nessus Scanner) 2020-11-12 16:10:58 +08:00
longrunning.go Do not time-out profiler requests. 2018-01-02 14:42:01 +01:00
maxinflight.go Record dropped requests in apiserver_request_total metric 2022-03-23 16:16:36 +01:00
maxinflight_test.go do not allow inflight watermark histograms to fall too far behind 2020-10-05 11:26:48 -04:00
priority-and-fairness.go enhance and fix log calls 2022-02-16 12:17:47 +01:00
priority-and-fairness_test.go apf: ensure exempt request notes the classification 2021-12-05 11:29:15 -05:00
timeout.go Copy request in timeout handler 2022-02-24 13:42:32 +00:00
timeout_test.go fix: race detected in TestErrConnKilled 2022-03-24 01:48:49 +08:00
waitgroup.go apiserver: add a new mode for graceful termination 2021-07-14 10:39:29 -04:00
with_retry_after.go Revert "Merge pull request #104281 from tkashem/not-ready-429" 2021-08-31 10:10:46 -04:00
with_retry_after_test.go Revert "Merge pull request #104281 from tkashem/not-ready-429" 2021-08-31 10:10:46 -04:00
wrap.go remove ReallyCrashForTesting and cleaned up some references to HandleCrash behavior 2021-05-04 00:10:11 +00:00