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/ipn
Tyler Smalley e1fbb5457b
cmd/tailscale: combine serve and funnel for debug wip funnel stream model (#9169)
> **Note**
> Behind the `TAILSCALE_USE_WIP_CODE` flag

In preparing for incoming CLI changes, this PR merges the code path for the `serve` and `funnel` subcommands.

See the parent issue for more context.

The following commands will run in foreground mode when using the environment flag.
```
tailscale serve localhost:3000
tailscae funnel localhost:3000
```

Replaces #9134
Updates #8489

Signed-off-by: Tyler Smalley <tyler@tailscale.com>
Signed-off-by: Marwan Sulaiman <marwan@tailscale.com>
Co-authored-by: Marwan Sulaiman <marwan@tailscale.com>
1 year ago
..
ipnauth all: update copyright and license headers 2 years ago
ipnlocal cmd/tailscale: combine serve and funnel for debug wip funnel stream model (#9169) 1 year ago
ipnserver logpolicy, various: allow overriding log function 1 year ago
ipnstate ipn/ipnstate: add PeerStatus.AltSharerUserID, stop mangling Node.User 1 year ago
localapi cmd/tailscale: combine serve and funnel for debug wip funnel stream model (#9169) 1 year ago
policy ipn: prefer allow/denylist terminology 2 years ago
store cmd/k8s-operator,ipn/store/kubestore: patch secrets instead of updating 1 year ago
backend.go all: update copyright and license headers 2 years ago
doc.go all: update copyright and license headers 2 years ago
fake_test.go all: update copyright and license headers 2 years ago
ipn_clone.go cmd/cloner: use maps.Clone and ptr.To 1 year ago
ipn_view.go cmd/viewer, types/views, all: un-special case slice of netip.Prefix 1 year ago
prefs.go cmd/viewer, types/views, all: un-special case slice of netip.Prefix 1 year ago
prefs_test.go types/persist: drop duplicated Persist.LoginName 1 year ago
serve.go cmd/tailscale: combine serve and funnel for debug wip funnel stream model (#9169) 1 year ago
serve_test.go tailscale/cli: add interactive flow for enabling Funnel 1 year ago
store.go ipn: avoid useless no-op WriteState calls 1 year ago
store_test.go ipn: avoid useless no-op WriteState calls 1 year ago