MCPcopy Index your code
hub / github.com/tailscale/tailscale / nodeViews

Function nodeViews

wgengine/userspace_test.go:38–44  ·  view source on GitHub ↗
(v []*tailcfg.Node)

Source from the content-addressed store, hash-verified

36)
37
38func nodeViews(v []*tailcfg.Node) []tailcfg.NodeView {
39 nv := make([]tailcfg.NodeView, len(v))
40 for i, n := range v {
41 nv[i] = n.View()
42 }
43 return nv
44}
45
46func TestUserspaceEngineReconfig(t *testing.T) {
47 bus := eventbustest.NewBus(t)

Calls 1

ViewMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…