tailscale/control
Brad Fitzpatrick e701fde6b3 control/controlknobs: make Knobs.AsDebugJSON automatic, not require maintenance
The AsDebugJSON method (used only for a LocalAPI debug call) always
needed to be updated whenever a new controlknob was added. We had a
test for it, which was nice, but it was a tedious step we don't need
to do. Use reflect instead.

Updates #14788

Change-Id: If59cd776920f3ce7c748f86ed2eddd9323039a0b
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2025-01-26 18:49:11 +00:00
..
controlbase all: add Node.HomeDERP int, phase out "127.3.3.40:$region" hack [capver 111] 2025-01-14 12:27:14 -08:00
controlclient control/controlclient: sanitize invalid DERPMap nil Region from control 2025-01-24 17:19:12 -08:00
controlhttp control/controlhttp: set *health.Tracker in tests 2024-11-26 18:05:05 -05:00
controlknobs control/controlknobs: make Knobs.AsDebugJSON automatic, not require maintenance 2025-01-26 18:49:11 +00:00