MCPcopy Index your code
hub / github.com/coder/coder / ResolveDERPMap

Method ResolveDERPMap

tailnet/test/integration/network.go:62–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62func (c TestNetworkingClient) ResolveDERPMap() (*tailcfg.DERPMap, error) {
63 if c.DERPMap != nil {
64 return c.DERPMap, nil
65 }
66
67 return basicDERPMap(c.ServerAccessURL)
68}
69
70type TestNetworkingProcess struct {
71 // NetNS to enter. If nil, the current network namespace is used.

Callers 2

TestIntegrationFunction · 0.80
prepareSTUNServerFunction · 0.80

Calls 1

basicDERPMapFunction · 0.85

Tested by 1

TestIntegrationFunction · 0.64