NetworkingLoopback creates a network namespace with a loopback interface for all tests to share. This is the simplest networking setup. The network namespace only exists for isolation on the host and doesn't serve any routing purpose.
| 85 | // namespace only exists for isolation on the host and doesn't serve any routing |
| 86 | // purpose. |
| 87 | type NetworkingLoopback struct{} |
| 88 | |
| 89 | func (NetworkingLoopback) SetupNetworking(t *testing.T, _ slog.Logger) TestNetworking { |
| 90 | // Create a single network namespace for all tests so we can have an |
nothing calls this directly
no outgoing calls
no test coverage detected