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
aum_test.go
builder.go
builder_test.go tka: make storage a parameter rather than an Authority struct member 2 years ago
chaintest_test.go
key.go
key_test.go
scenario_test.go tka: make storage a parameter rather than an Authority struct member 2 years ago
sig.go
sig_test.go
state.go
state_test.go
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
tailchonk_test.go
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