summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs.go
diff options
context:
space:
mode:
authorMarwan Sulaiman <marwan@tailscale.com>2023-09-13 18:41:15 -0500
committerMarwan Sulaiman <marwan.sameer@gmail.com>2023-09-14 10:22:38 -0500
commitf3a5bfb1b9a0b4c5c352ce4e1732b1fdcab3a8d1 (patch)
treecf121e9d5bc3247a806442ee031059e38385bf7e /control/controlknobs/controlknobs.go
parent7ce1c6f981e7adf96c61210b74a4629e2f5c6444 (diff)
downloadtailscale-f3a5bfb1b9a0b4c5c352ce4e1732b1fdcab3a8d1.tar.xz
tailscale-f3a5bfb1b9a0b4c5c352ce4e1732b1fdcab3a8d1.zip
cmd/tailscale/cli: add set serve validations
This PR adds validations for the new new funnel/serve commands under the following rules: 1. There is always a single config for one port (bg or fg). 2. Foreground configs under the same port cannot co-exists (for now). 3. Background configs can change as long as the serve type is the same. Updates #8489 Signed-off-by: Marwan Sulaiman <marwan@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions