ingress-nginx-helm/internal/ingress/metric/collectors
Chen Chen d44a8e0045
Fix golang-ci linter errors (#10128)
* Fix golang-ci linter errors

Signed-off-by: z1cheng <imchench@gmail.com>

* Fix gofmt errors

Signed-off-by: z1cheng <imchench@gmail.com>

* Add nolint comment to defaults.Backend in Configuration

Signed-off-by: z1cheng <imchench@gmail.com>

* Add #nosec comment to rand.New func

Signed-off-by: z1cheng <imchench@gmail.com>

* Fix errcheck warnings

Signed-off-by: z1cheng <imchench@gmail.com>

* Fix gofmt check

Signed-off-by: z1cheng <imchench@gmail.com>

* Fix unit tests and comments

Signed-off-by: z1cheng <imchench@gmail.com>

---------

Signed-off-by: z1cheng <imchench@gmail.com>
2023-07-03 05:50:52 -07:00
..
admission.go feature: added AdmissionController metrics (#7711) 2021-11-02 10:54:34 -07:00
admission_test.go feature: added AdmissionController metrics (#7711) 2021-11-02 10:54:34 -07:00
controller.go Add new prometheus metric for orphaned ingress (#8230) 2023-01-16 04:22:51 -08:00
controller_test.go Move APIs to be used by both controller and configurer (#8854) 2022-07-21 17:32:48 -07:00
main.go Refactor controller metrics interface 2018-07-12 12:46:34 -04:00
nginx_status.go Migrate to structured logging (klog) 2020-09-27 18:59:57 -03:00
nginx_status_test.go fix: use exponential backoff mechanism to listen on nginx.StatusPort 2021-05-13 15:02:11 +08:00
process.go Spelling 2020-12-15 16:10:48 -05:00
process_test.go Fix golang-ci linter errors (#10128) 2023-07-03 05:50:52 -07:00
socket.go Exclude socket metrics (#9770) 2023-04-11 01:01:18 -07:00
socket_test.go Fix golang-ci linter errors (#10128) 2023-07-03 05:50:52 -07:00
testutils.go Fix some typos 2018-11-05 22:10:11 +08:00