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
Marwan Sulaiman 50990f8931 ipn, ipn/ipnlocal: add Foreground field for ServeConfig
This PR adds a new field to the serve config that can be used to identify which serves are in "foreground mode" and then can also be used to ensure they do not get persisted to disk so that if Tailscaled gets ungracefully shutdown, the reloaded ServeConfig will not have those ports opened.

Updates #8489

Signed-off-by: Marwan Sulaiman <marwan@tailscale.com>
2 years ago
..
ipnauth all: update copyright and license headers 3 years ago
ipnlocal ipn, ipn/ipnlocal: add Foreground field for ServeConfig 2 years ago
ipnserver logpolicy, various: allow overriding log function 2 years ago
ipnstate ipn/ipnstate: add PeerStatus.AltSharerUserID, stop mangling Node.User 2 years ago
localapi ipn, ipn/ipnlocal: add Foreground field for ServeConfig 2 years ago
policy ipn: prefer allow/denylist terminology 3 years ago
store cmd/k8s-operator,ipn/store/kubestore: patch secrets instead of updating 2 years ago
backend.go ipn, ipn/ipnlocal: add session identifier for WatchIPNBus 2 years ago
doc.go all: update copyright and license headers 3 years ago
fake_test.go all: update copyright and license headers 3 years ago
ipn_clone.go ipn, ipn/ipnlocal: add Foreground field to ServeConfig 2 years ago
ipn_view.go ipn, ipn/ipnlocal: add Foreground field to ServeConfig 2 years ago
prefs.go cmd/tailscale,ipn: add auto-update flags and prefs (#8861) 2 years ago
prefs_test.go cmd/tailscale,ipn: add auto-update flags and prefs (#8861) 2 years ago
serve.go ipn, ipn/ipnlocal: add Foreground field for ServeConfig 2 years ago
serve_test.go tailscale/cli: add interactive flow for enabling Funnel 2 years ago
store.go ipn: avoid useless no-op WriteState calls 2 years ago
store_test.go ipn: avoid useless no-op WriteState calls 2 years ago