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/types/netmap
Brad Fitzpatrick b104688e04 ipn/ipnlocal, types/netmap: replace hasCapability with set lookup on NetworkMap
When node attributes were super rare, the O(n) slice scans looking for
node attributes was more acceptable. But now more code and more users
are using increasingly more node attributes. Time to make it a map.

Noticed while working on tailscale/corp#17879

Updates #cleanup

Change-Id: Ic17c80341f418421002fbceb47490729048756d2
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
8 months ago
..
netmap.go ipn/ipnlocal, types/netmap: replace hasCapability with set lookup on NetworkMap 8 months ago
netmap_test.go tailcfg, all: use []netip.AddrPort instead of []string for Endpoints 1 year ago
nodemut.go all: use reflect.TypeFor now available in Go 1.22 (#11078) 10 months ago
nodemut_test.go all: use reflect.TypeFor now available in Go 1.22 (#11078) 10 months ago