You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd
Marwan Sulaiman f3a5bfb1b9 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>
1 year ago
..
addlicense all: update tools that manage copyright headers 2 years ago
cloner cmd/cloner: use maps.Clone and ptr.To 1 year ago
containerboot cm/k8s-operator,cmd/containerboot: fix STS config, more tests (#9155) 1 year ago
derper net/netmon, net/tsdial: add some link change metrics 1 year ago
derpprobe prober: migrate to Prometheus metric library 2 years ago
dist cmd/dist,release/dist: add distsign signing hooks (#9070) 1 year ago
get-authkey all: use cmpx.Or where it made sense 1 year ago
gitops-pusher .github,cmd/gitops-pusher: update to checkout@v4 1 year ago
hello all: update copyright and license headers 2 years ago
k8s-operator cmd/k8s-operator: emit event if HTTPS is disabled on Tailnet 1 year ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 2 years ago
mkpkg go.mod: upgrade nfpm to v2 (#8786) 1 year ago
mkversion version/mkversion: open-source version generation logic 2 years ago
nardump all: update copyright and license headers 2 years ago
netlogfmt all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 1 year ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 2 years ago
pgproxy various: add golangci-lint, fix issues (#7905) 2 years ago
printdep cmd/printdep: print correct toolchain URL 2 years ago
proxy-to-grafana tailcfg,all: add and use Node.IsTagged() 2 years ago
sniproxy cmd/sniproxy: move default debug-port away from 8080. 1 year ago
speedtest all: update copyright and license headers 2 years ago
ssh-auth-none-demo all: replace deprecated ioutil references 1 year ago
stunc all: update copyright and license headers 2 years ago
sync-containers all: adjust some build tags for plan9 1 year ago
tailscale cmd/tailscale/cli: add set serve validations 1 year ago
tailscaled wgengine{,/netstack}: remove AddNetworkMapCallback from Engine interface 1 year ago
testcontrol all: update copyright and license headers 2 years ago
testwrapper cmd/testwrapper: fix exit deflake (#9342) 1 year ago
tsconnect cmd/tsconnect/wasm: pass a netmon to ipnserver.New 1 year ago
tsshd all: update copyright and license headers 2 years ago
viewer types/views,cmd/viewer: add ByteSlice[T] to replace mem.RO 1 year ago