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
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
..
ipnlocal tka: make storage a parameter rather than an Authority struct member 2 years ago
ipnserver tka: make storage a parameter rather than an Authority struct member 2 years ago
ipnstate client,cmd/tailscale,ipn,tka,types: implement tka initialization flow 2 years ago
localapi client,cmd/tailscale,ipn,tka,types: implement tka initialization flow 2 years ago
policy ipn/policy: treat DNS service as interesting so it's not filtered out 3 years ago
store all: gofmt for Go 1.19 2 years ago
backend.go all: gofmt for Go 1.19 2 years ago
doc.go Move Linux client & common packages into a public repo. 5 years ago
fake_test.go ipn/ipnlocal: move Ping method from IPN bus to LocalBackend (HTTP) 3 years ago
handle.go all: convert more code to use net/netip directly 2 years ago
ipn_clone.go net/netaddr: start migrating to net/netip via new netaddr adapter package 2 years ago
message.go all: gofmt for Go 1.19 2 years ago
message_test.go all: use any instead of interface{} 3 years ago
prefs.go all: convert more code to use net/netip directly 2 years ago
prefs_test.go all: convert more code to use net/netip directly 2 years ago
store.go assorted: plumb tka initialization & network-lock key into tailscaled 2 years ago