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/ipn/ipnlocal
Tom DNetto 79905a1162 tka: make storage a parameter rather than an Authority struct member
Updates #5435

Based on the discussion in #5435, we can better support transactional data models
by making the underlying storage layer a parameter (which can be specialized for
the request) rather than a long-lived member of Authority.

Now that Authority is just an instantaneous snapshot of state, we can do things
like provide idempotent methods and make it cloneable, too.

Signed-off-by: Tom DNetto <tom@tailscale.com>
2 years ago
..
dnsconfig_test.go all: convert more code to use net/netip directly 2 years ago
local.go tka: make storage a parameter rather than an Authority struct member 2 years ago
local_test.go all: convert more code to use net/netip directly 2 years ago
loglines_test.go ipn/store: add common package for instantiating ipn.StateStores 3 years ago
network-lock.go tka: make storage a parameter rather than an Authority struct member 2 years ago
peerapi.go syncs, all: move to using Go's new atomic types instead of ours 2 years ago
peerapi_h2c.go wasm: exclude code that's not used on iOS for Wasm too 3 years ago
peerapi_macios_ext.go all: convert more code to use net/netip directly 2 years ago
peerapi_test.go syncs, all: move to using Go's new atomic types instead of ours 2 years ago
ssh.go ipn/ipnlocal: blend existing host SSH keys + newly-generated types as needed 2 years ago
ssh_stub.go ssh: make it build on darwin 3 years ago
ssh_test.go ipn/ipnlocal: blend existing host SSH keys + newly-generated types as needed 2 years ago
state_test.go syncs, all: move to using Go's new atomic types instead of ours 2 years ago