tailscale/ipn
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
..
ipnlocal tka: make storage a parameter rather than an Authority struct member 2022-08-26 10:44:28 -07:00
ipnserver tka: make storage a parameter rather than an Authority struct member 2022-08-26 10:44:28 -07:00
ipnstate client,cmd/tailscale,ipn,tka,types: implement tka initialization flow 2022-08-22 11:35:16 -07:00
localapi client,cmd/tailscale,ipn,tka,types: implement tka initialization flow 2022-08-22 11:35:16 -07:00
policy ipn/policy: treat DNS service as interesting so it's not filtered out 2021-12-03 12:55:54 -08:00
store all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
backend.go all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
doc.go Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
fake_test.go ipn/ipnlocal: move Ping method from IPN bus to LocalBackend (HTTP) 2022-05-03 15:59:19 -07:00
handle.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
ipn_clone.go net/netaddr: start migrating to net/netip via new netaddr adapter package 2022-07-25 16:20:43 -07:00
message_test.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
message.go all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
prefs_test.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
prefs.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
store.go assorted: plumb tka initialization & network-lock key into tailscaled 2022-08-03 14:51:47 -07:00