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/tka
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
..
aum.go tka: move disablement logic out-of-band from AUMs 2 years ago
aum_test.go tka: move disablement logic out-of-band from AUMs 2 years ago
builder.go client,cmd/tailscale,ipn,tka,types: implement tka initialization flow 2 years ago
builder_test.go tka: make storage a parameter rather than an Authority struct member 2 years ago
chaintest_test.go tka,types/key: remove dependency for tailcfg & types/ packages on tka 2 years ago
key.go client,cmd/tailscale,ipn,tka,types: implement tka initialization flow 2 years ago
key_test.go tka: support rotating node-keys in node-key signatures 2 years ago
scenario_test.go tka: make storage a parameter rather than an Authority struct member 2 years ago
sig.go tka: support rotating node-keys in node-key signatures 2 years ago
sig_test.go tka: support rotating node-keys in node-key signatures 2 years ago
state.go tka: move disablement logic out-of-band from AUMs 2 years ago
state_test.go tka: move disablement logic out-of-band from AUMs 2 years ago
sync.go tka: make storage a parameter rather than an Authority struct member 2 years ago
sync_test.go tka: make storage a parameter rather than an Authority struct member 2 years ago
tailchonk.go tka: Use strict decoding settings, implement Unserialize() 2 years ago
tailchonk_test.go tka: move disablement logic out-of-band from AUMs 2 years ago
tka.go tka: make storage a parameter rather than an Authority struct member 2 years ago
tka_test.go tka: make storage a parameter rather than an Authority struct member 2 years ago