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>
2022-08-26 10:44:28 -07:00
..
dnsconfig_test.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
local_test.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
local.go tka: make storage a parameter rather than an Authority struct member 2022-08-26 10:44:28 -07:00
loglines_test.go ipn/store: add common package for instantiating ipn.StateStores 2022-02-28 13:23:33 -08:00
network-lock.go tka: make storage a parameter rather than an Authority struct member 2022-08-26 10:44:28 -07:00
peerapi_h2c.go wasm: exclude code that's not used on iOS for Wasm too 2022-06-06 13:52:52 -07:00
peerapi_macios_ext.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
peerapi_test.go syncs, all: move to using Go's new atomic types instead of ours 2022-08-04 07:47:59 -07:00
peerapi.go syncs, all: move to using Go's new atomic types instead of ours 2022-08-04 07:47:59 -07:00
ssh_stub.go ssh: make it build on darwin 2022-02-24 13:00:45 -08:00
ssh_test.go ipn/ipnlocal: blend existing host SSH keys + newly-generated types as needed 2022-07-28 11:42:58 -07:00
ssh.go ipn/ipnlocal: blend existing host SSH keys + newly-generated types as needed 2022-07-28 11:42:58 -07:00
state_test.go syncs, all: move to using Go's new atomic types instead of ours 2022-08-04 07:47:59 -07:00