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/localapi
M. J. Fromberger 55698c8511
ipn/localapi: plumb an event bus through the localapi.Handler (#16892)
Some of the operations of the local API need an event bus to correctly
instantiate other components (notably including the portmapper).

This commit adds that, and as the parameter list is starting to get a bit long
and hard to read, I took the opportunity to move the arguments to a config
type. Only a few call sites needed to be updated and this API is not intended
for general use, so I did not bother to stage the change.

Updates #15160
Updates #16842

Change-Id: I7b057d71161bd859f5acb96e2f878a34c85be0ef
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
4 months ago
..
cert.go cmd/tailscale: add --min-validity flag to the cert command (#12822) 1 year ago
debugderp.go derp/derphttp,ipn/localapi,net/captivedetection: add cache resistance to captive portal detection 10 months ago
disabled_stubs.go all: update copyright and license headers 3 years ago
localapi.go ipn/localapi: plumb an event bus through the localapi.Handler (#16892) 4 months ago
localapi_test.go net/netmon: publish events to event bus 8 months ago
pprof.go all: update copyright and license headers 3 years ago