diff options
| author | Nick Khyl <nickk@tailscale.com> | 2025-04-17 18:00:31 -0500 |
|---|---|---|
| committer | Nick Khyl <nickk@tailscale.com> | 2025-04-17 18:00:31 -0500 |
| commit | 18ce9cbd4f54b2b6df8a6e5f7953cd5a6c5bc908 (patch) | |
| tree | e3252c390b0878959ce8ba86432b81f5e3a3149f /types/netmap/netmap.go | |
| parent | 20d6058e7b810cdc91c4cdd73dbcb0a4bed935a4 (diff) | |
| download | tailscale-nickkhyl/viewer-improvements.tar.xz tailscale-nickkhyl/viewer-improvements.zip | |
tailcfg,types/netmap,wgengine/filter/filtertype: generate a read-only netmap.NetworkMapViewnickkhyl/viewer-improvements
Updates #12614
Updates tailscale/corp#27502
Signed-off-by: Nick Khyl <nickk@tailscale.com>
Diffstat (limited to 'types/netmap/netmap.go')
| -rw-r--r-- | types/netmap/netmap.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
