summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs
diff options
context:
space:
mode:
authorSonia Appasamy <sonia@tailscale.com>2024-03-05 18:46:42 -0500
committerSonia Appasamy <appasamysm@gmail.com>2024-03-06 13:26:03 -0500
commitc58c59ee547845822d8ef68d4f05b7727c543fb4 (patch)
treea7fd71be29ba0c466dd7c6d4bf05e9723e75df43 /control/controlknobs
parent65255b060be8d2655ccf2f5561400f5aea77e5f8 (diff)
downloadtailscale-c58c59ee547845822d8ef68d4f05b7727c543fb4.tar.xz
tailscale-c58c59ee547845822d8ef68d4f05b7727c543fb4.zip
{ipn,cmd/tailscale/cli}: move ServeConfig mutation logic to ipn/serve
Moving logic that manipulates a ServeConfig into recievers on the ServeConfig in the ipn package. This is setup work to allow the web client and cli to both utilize these shared functions to edit the serve config. Any logic specific to flag parsing or validation is left untouched in the cli command. The web client will similarly manage its validation of user's requested changes. If validation logic becomes similar-enough, we can make a serve util for shared functionality, which likely does not make sense in ipn. Updates #10261 Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions