tailscale/types
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>
2024-03-22 15:30:46 -07:00
..
appctype appc,ipn/ipnlocal,types/appctype: implement control provided routes 2024-01-17 14:40:09 -08:00
dnstype all: use reflect.TypeFor now available in Go 1.22 (#11078) 2024-02-08 17:34:22 -08:00
empty all: update copyright and license headers 2023-01-27 15:36:29 -08:00
flagtype all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ipproto types/ipproto: import and test string parsing for ipproto 2023-10-11 18:56:33 -07:00
key types/key: remove copy returning array by value 2024-02-26 19:09:12 -08:00
lazy types/lazy: helpers for lazily computed values 2023-02-10 20:59:58 -08:00
logger cmd/derper, types/logger: move log filter to shared package 2024-03-07 11:05:03 -05:00
logid all: use new AppendEncode methods available in Go 1.22 (#11079) 2024-02-08 17:55:03 -08:00
netlogtype all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netmap ipn/ipnlocal, types/netmap: replace hasCapability with set lookup on NetworkMap 2024-03-22 15:30:46 -07:00
nettype wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 2023-04-15 13:40:15 -07:00
opt ipn: apply tailnet-wide default for auto-updates (#10508) 2023-12-18 14:57:03 -08:00
persist control/controlclient: fix panic regression from earlier load balancer hint header 2024-03-21 12:54:58 -07:00
preftype cmd/tailscaled,*: add start of configuration file support 2023-10-16 10:40:27 -07:00
ptr all: update copyright and license headers 2023-01-27 15:36:29 -08:00
structs all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tkatype types/tkatype: add test for MarshaledSignature's JSON format 2023-08-19 19:34:18 -07:00
views types/views: optimize slices contains under some conditions (#11449) 2024-03-18 16:19:16 -07:00