tailscale/ipn/localapi
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>
2023-09-07 13:13:05 -04:00
..
cert.go ipn/{ipnlocal,localapi}: actually renew certs before expiry (#8731) 2023-07-27 12:29:40 -07:00
debugderp.go all: avoid repeated default interface lookups 2023-04-20 15:46:01 -07:00
disabled_stubs.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
localapi_test.go all: use tstest.Replace more 2023-03-04 12:24:55 -08:00
localapi.go ipn, ipn/ipnlocal: add Foreground field for ServeConfig 2023-09-07 13:13:05 -04:00
pprof.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00