mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-25 11:11:18 -08:00
ipn/ipnlocal: add start of netmap caching
Updates #12639 Change-Id: I425d421dc6b4edd06d683ad5fc3fab72165b4b6e Signed-off-by: Brad Fitzpatrick <[email protected]>
This commit is contained in:
1 parent
408336a089
commit
85003d25c3
3 files changed
+319
-8
No files matched your search
@@ -26,6 +26,8 @@ import (
|
||||
// The fields should all be considered read-only. They might
|
||||
// alias parts of previous NetworkMap values.
|
||||
type NetworkMap struct {
|
||||
Cached bool // whether this NetworkMap was loaded from disk cache (as opposed to live from network)
|
||||
|
||||
SelfNode tailcfg.NodeView
|
||||
AllCaps set.Set[tailcfg.NodeCapability] // set version of SelfNode.Capabilities + SelfNode.CapMap
|
||||
NodeKey key.NodePublic
|
||||
|
||||
Reference in new issue
Block a user