From 18ce9cbd4f54b2b6df8a6e5f7953cd5a6c5bc908 Mon Sep 17 00:00:00 2001 From: Nick Khyl Date: Thu, 17 Apr 2025 18:00:31 -0500 Subject: tailcfg,types/netmap,wgengine/filter/filtertype: generate a read-only netmap.NetworkMapView Updates #12614 Updates tailscale/corp#27502 Signed-off-by: Nick Khyl --- types/netmap/netmap.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'types/netmap/netmap.go') diff --git a/types/netmap/netmap.go b/types/netmap/netmap.go index b1eecaa8f..42ba30807 100644 --- a/types/netmap/netmap.go +++ b/types/netmap/netmap.go @@ -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 -- cgit v1.3-3-g829e