cloudflared-mirror/diagnostic
Luis Neto 02e7ffd5b7 TUN-8792: Make diag/system endpoint always return a JSON
## Summary
Change the system information collector and respective http handler so that it always returns a JSON.

Closes [TUN-8792](https://jira.cfdata.org/browse/TUN-8792)
2024-12-11 02:48:41 -08:00
..
network TUN-8767: include raw output from network collector in diagnostic zipfile 2024-12-04 04:40:51 -08:00
client.go TUN-8792: Make diag/system endpoint always return a JSON 2024-12-11 02:48:41 -08:00
consts.go TUN-8768: add job report to diagnostic zipfile 2024-12-04 10:32:49 -08:00
diagnostic.go TUN-8784: Set JSON encoder options to print formatted JSON when writing diag files 2024-12-10 13:01:24 -08:00
diagnostic_utils.go TUN-8784: Set JSON encoder options to print formatted JSON when writing diag files 2024-12-10 13:01:24 -08:00
diagnostic_utils_test.go TUN-8786: calculate cli flags once for the diagnostic procedure 2024-12-11 01:29:20 -08:00
error.go TUN-8725: implement diagnostic procedure 2024-12-04 03:37:57 -08:00
handlers.go TUN-8792: Make diag/system endpoint always return a JSON 2024-12-11 02:48:41 -08:00
handlers_test.go TUN-8792: Make diag/system endpoint always return a JSON 2024-12-11 02:48:41 -08:00
log_collector.go TUN-8735: add managed/local log collection 2024-11-26 10:30:44 -08:00
log_collector_docker.go TUN-8734: add log collection for kubernetes 2024-11-27 03:15:15 -08:00
log_collector_host.go TUN-8783: fix log collectors for the diagnostic procedure 2024-12-10 09:53:13 -08:00
log_collector_kubernetes.go TUN-8769: fix k8s log collector arguments 2024-12-03 06:24:14 -08:00
log_collector_utils.go TUN-8783: fix log collectors for the diagnostic procedure 2024-12-10 09:53:13 -08:00
system_collector.go TUN-8792: Make diag/system endpoint always return a JSON 2024-12-11 02:48:41 -08:00
system_collector_linux.go TUN-8792: Make diag/system endpoint always return a JSON 2024-12-11 02:48:41 -08:00
system_collector_macos.go TUN-8792: Make diag/system endpoint always return a JSON 2024-12-11 02:48:41 -08:00
system_collector_test.go TUN-8731: Implement diag/system endpoint 2024-11-22 08:10:05 -08:00
system_collector_utils.go TUN-8731: Implement diag/system endpoint 2024-11-22 08:10:05 -08:00
system_collector_windows.go TUN-8792: Make diag/system endpoint always return a JSON 2024-12-11 02:48:41 -08:00