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

Method SetupNetworking

tailnet/test/integration/integration.go:108–108  ·  view source on GitHub ↗

SetupNetworking creates interfaces and network namespaces for the test. The most simple implementation is NetworkSetupDefault, which only creates a network namespace shared for all tests.

(t *testing.T, logger slog.Logger)

Source from the content-addressed store, hash-verified

106 // The most simple implementation is NetworkSetupDefault, which only creates
107 // a network namespace shared for all tests.
108 SetupNetworking(t *testing.T, logger slog.Logger) TestNetworking
109}
110
111type ClientStarter interface {

Callers 1

TestIntegrationFunction · 0.65

Implementers 3

NetworkingLoopbacktailnet/test/integration/network.go
NetworkingNATtailnet/test/integration/network.go
TriangleNetworktailnet/test/integration/network.go

Calls

no outgoing calls

Tested by 1

TestIntegrationFunction · 0.52