cloudflared-mirror/diagnostic
João "Pisco" Fernandes 7336a1a4d6 TUN-8914: Create a flags module to group all cloudflared cli flags
## Summary

This commit refactors some of the flags of cloudflared to their own module, so that they can be used across the code without requiring to literal strings which are much more error prone.

 Closes TUN-8914
2025-02-06 03:30:27 -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-8914: Create a flags module to group all cloudflared cli flags 2025-02-06 03:30:27 -08:00
consts.go TUN-8768: add job report to diagnostic zipfile 2024-12-04 10:32:49 -08:00
diagnostic.go TUN-8724: Add CLI command for diagnostic procedure 2024-12-13 10:07:56 -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