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/util
Maisem Ali 1ecc16da5f tailcfg,ipn/ipnlocal,wgengine: add values to PeerCapabilities
Define PeerCapabilty and PeerCapMap as the new way of sending down
inter-peer capability information.

Previously, this was unstructured and you could only send down strings
which got too limiting for certain usecases. Instead add the ability
to send down raw JSON messages that are opaque to Tailscale but provide
the applications to define them however they wish.

Also update accessors to use the new values.

Updates #4217

Signed-off-by: Maisem Ali <maisem@tailscale.com>
1 year ago
..
cibuild all: update copyright and license headers 2 years ago
clientmetric util/clientmetric: allow client metric values to be provided by a function 2 years ago
cloudenv all: update copyright and license headers 2 years ago
cmpver all: update copyright and license headers 2 years ago
cmpx util/cmpx: add package with cmp-like things from future Go releases 1 year ago
codegen util/codegen: support embedded fields 2 years ago
cstruct all: update copyright and license headers 2 years ago
deephash tailcfg,ipn/ipnlocal,wgengine: add values to PeerCapabilities 1 year ago
dirwalk all: use tstest.Replace more 2 years ago
dnsname cmd/tailscale: extend hostname validation (#7678) 2 years ago
goroutines util/goroutines: let ScrubbedGoroutineDump get only current stack 1 year ago
groupmember all: update copyright and license headers 2 years ago
hashx all: update copyright and license headers 2 years ago
httpm all: update copyright and license headers 2 years ago
jsonutil all: update copyright and license headers 2 years ago
lineread all: update copyright and license headers 2 years ago
linuxfw util/linuxfw: remove yet-unused code to fix linux/arm64 crash 1 year ago
lru util/lru: add a package for a typed LRU cache 1 year ago
mak various: add golangci-lint, fix issues (#7905) 2 years ago
multierr util/multierr: implement Go 1.20+'s multiple error Unwrap 2 years ago
must all: update copyright and license headers 2 years ago
osshare all: update copyright and license headers 2 years ago
pidowner all: update copyright and license headers 2 years ago
precompress all: update copyright and license headers 2 years ago
quarantine all: update copyright and license headers 2 years ago
racebuild all: update copyright and license headers 2 years ago
ringbuffer util/ringbuffer: move generic ringbuffer from corp repo 2 years ago
set util/set: add a basic map-based Set type 2 years ago
singleflight all: update copyright and license headers 2 years ago
slicesx util/slicesx: add Partition function 1 year ago
sysresources util/sysresources, magicsock: scale DERP buffer based on system memory 2 years ago
systemd all: update copyright and license headers 2 years ago
truncate util: add truncate package (#7490) 2 years ago
uniq all: update copyright and license headers 2 years ago
vizerror util/vizerror: add As function to get wrapped Error 2 years ago
winutil cmd/tailscaled, util/winutil: log our registry keys during tailscaled startup 1 year ago