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>
2 months ago
..
appctype appc,*: publish events for route updates and storage (#17392) 4 months ago
bools types/bools: fix doc typo (#15021) 11 months ago
dnstype types/dnstype: delete unused func, move other one to its sole caller 4 months ago
empty
flagtype
geo all: rename variables with lowercase-l/uppercase-I 2 months ago
iox
ipproto
jsonx types/jsonx: add package for json/v2 helpers (#15756) 9 months ago
key all: rename variables with lowercase-l/uppercase-I 2 months ago
lazy types/lazy: document difference from sync.OnceValue 4 months ago
logger types/logger: release ArgWriter destination after use 9 months ago
logid
mapx types/mapx, ipn/ipnext: add ordered map, akin to set.Slice 9 months ago
netlogfunc net/connstats: prepare to remove package (#17554) 3 months ago
netlogtype wgengine/netlog: include node OS in logged attributes (#17755) 3 months ago
netmap tailcfg, control/controlclient: start moving MapResponse.DefaultAutoUpdate to a nodeattr 2 months ago
nettype
opt ipn{,/local},cmd/tailscale: add "sync" flag and pref to disable control map poll 2 months ago
persist Revert "control/controlclient: back out HW key attestation (#17664)" (#17732) 3 months ago
prefs all: rename variables with lowercase-l/uppercase-I 2 months ago
preftype
ptr
result
structs
tkatype
views types/views: add min/max helpers to views.Slice 5 months ago