tailscale/types
Maisem Ali b752bde280 types/views: add SliceMapKey[T]
views.Slice are meant to be immutable, and if used as such it
is at times desirable to use them as a key in a map. For non-viewed
slices it was kinda doable by creating a custom key struct but views.Slice
didn't allow for the same so add a method to create that struct here.

Updates tailscale/corp#17122

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2024-02-06 12:50:28 -08:00
..
appctype appc,ipn/ipnlocal,types/appctype: implement control provided routes 2024-01-17 14:40:09 -08:00
dnstype types/dnstype: update the usage documentation on dnstype.Resolver 2023-11-03 09:01:11 -07: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 wgengine/magicsock: implement probing of UDP path lifetime (#10844) 2024-01-23 09:37:32 -08:00
lazy types/lazy: helpers for lazily computed values 2023-02-10 20:59:58 -08:00
logger all: make use of ctxkey everywhere (#10846) 2024-01-16 13:56:23 -08:00
logid all: implement AppendText alongside MarshalText (#9207) 2023-09-01 18:15:19 -07:00
netlogtype all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netmap controlclient,tailcfg,types: expose MaxKeyDuration via localapi (#10401) 2024-01-05 12:06:12 +00: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 types/persist: drop duplicated Persist.LoginName 2023-08-08 13:43:37 -06: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: add SliceMapKey[T] 2024-02-06 12:50:28 -08:00