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
Brad Fitzpatrick ac0b15356d tailcfg, control/controlclient: start moving MapResponse.DefaultAutoUpdate to a nodeattr
And fix up the TestAutoUpdateDefaults integration tests as they
weren't testing reality: the DefaultAutoUpdate is supposed to only be
relevant on the first MapResponse in the stream, but the tests weren't
testing that. They were instead injecting a 2nd+ MapResponse.

This changes the test control server to add a hook to modify the first
map response, and then makes the test control when the node goes up
and down to make new map responses.

Also, the test now runs on macOS where the auto-update feature being
disabled would've previously t.Skipped the whole test.

Updates #11502

Change-Id: If2319bd1f71e108b57d79fe500b2acedbc76e1a6
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 week ago
..
appctype appc,*: publish events for route updates and storage (#17392) 2 months ago
bools types/bools: fix doc typo (#15021) 10 months ago
dnstype types/dnstype: delete unused func, move other one to its sole caller 2 months ago
empty all: update copyright and license headers 3 years ago
flagtype all: update copyright and license headers 3 years ago
geo all: rename variables with lowercase-l/uppercase-I 2 weeks ago
iox types/iox: add function types for Reader and Writer (#14366) 12 months ago
ipproto all: use Go 1.22 range-over-int 2 years ago
jsonx types/jsonx: add package for json/v2 helpers (#15756) 7 months ago
key all: rename variables with lowercase-l/uppercase-I 2 weeks ago
lazy types/lazy: document difference from sync.OnceValue 2 months ago
logger types/logger: release ArgWriter destination after use 7 months ago
logid types/logid: add Add method (#12478) 1 year ago
mapx types/mapx, ipn/ipnext: add ordered map, akin to set.Slice 7 months ago
netlogfunc net/connstats: prepare to remove package (#17554) 2 months ago
netlogtype wgengine/netlog: include node OS in logged attributes (#17755) 4 weeks ago
netmap tailcfg, control/controlclient: start moving MapResponse.DefaultAutoUpdate to a nodeattr 1 week ago
nettype wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 3 years ago
opt ipn{,/local},cmd/tailscale: add "sync" flag and pref to disable control map poll 2 weeks ago
persist Revert "control/controlclient: back out HW key attestation (#17664)" (#17732) 1 month ago
prefs all: rename variables with lowercase-l/uppercase-I 2 weeks ago
preftype cmd/tailscaled,*: add start of configuration file support 2 years ago
ptr all: update copyright and license headers 3 years ago
result types/result, util/lineiter: add package for a result type, use it 1 year ago
structs all: update copyright and license headers 3 years ago
tkatype types/tkatype: add test for MarshaledSignature's JSON format 2 years ago
views types/views: add min/max helpers to views.Slice 4 months ago