tailcfg,types/netmap,wgengine/filter/filtertype: generate a read-only netmap.NetworkMapView

Updates #12614
Updates tailscale/corp#27502

Signed-off-by: Nick Khyl <[email protected]>
This commit is contained in:
Nick Khyl committed 2025-04-17 18:00:31 -05:00
1 parent 20d6058e7b
commit 18ce9cbd4f
8 files changed
+430 -5

No files matched your search

+2
View File
@@ -21,6 +21,8 @@ import (
"tailscale.com/wgengine/filter/filtertype"
)
//go:generate go run tailscale.com/cmd/viewer -type=NetworkMap
// NetworkMap is the current state of the world.
//
// The fields should all be considered read-only. They might