mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-27 22:00:02 +00:00
TUN-8730: implement diag/configuration
Implements the endpoint that retrieves the configuration of a running instance. The configuration consists in a map of cli flag to the provided value along with the uid that of the user that started the process
This commit is contained in:
@@ -94,6 +94,7 @@ func newMetricsHandler(
|
||||
})
|
||||
}
|
||||
|
||||
router.HandleFunc("/diag/configuration", config.DiagnosticHandler.ConfigurationHandler)
|
||||
router.HandleFunc("/diag/tunnel", config.DiagnosticHandler.TunnelStateHandler)
|
||||
router.HandleFunc("/diag/system", config.DiagnosticHandler.SystemHandler)
|
||||
|
||||
|
Reference in New Issue
Block a user