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>
2023-09-01 12:28:29 -07:00
..
ipnauth all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ipnlocal cmd/tailscale: combine serve and funnel for debug wip funnel stream model (#9169) 2023-09-01 12:28:29 -07:00
ipnserver logpolicy, various: allow overriding log function 2023-07-10 18:08:50 -04:00
ipnstate ipn/ipnstate: add PeerStatus.AltSharerUserID, stop mangling Node.User 2023-08-20 08:18:52 -07:00
localapi cmd/tailscale: combine serve and funnel for debug wip funnel stream model (#9169) 2023-09-01 12:28:29 -07:00
policy ipn: prefer allow/denylist terminology 2023-04-04 08:02:50 -07:00
store cmd/k8s-operator,ipn/store/kubestore: patch secrets instead of updating 2023-08-29 13:24:05 -07:00
backend.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
doc.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
fake_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ipn_clone.go cmd/cloner: use maps.Clone and ptr.To 2023-08-20 13:47:26 -04:00
ipn_view.go cmd/viewer, types/views, all: un-special case slice of netip.Prefix 2023-08-18 12:27:44 -07:00
prefs_test.go types/persist: drop duplicated Persist.LoginName 2023-08-08 13:43:37 -06:00
prefs.go cmd/viewer, types/views, all: un-special case slice of netip.Prefix 2023-08-18 12:27:44 -07:00
serve_test.go tailscale/cli: add interactive flow for enabling Funnel 2023-08-09 18:55:43 -04:00
serve.go cmd/tailscale: combine serve and funnel for debug wip funnel stream model (#9169) 2023-09-01 12:28:29 -07:00
store_test.go ipn: avoid useless no-op WriteState calls 2023-08-07 08:44:24 -07:00
store.go ipn: avoid useless no-op WriteState calls 2023-08-07 08:44:24 -07:00