- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for setupCNIEventClientWithMockServer (0.13 sec)
-
cni/pkg/plugin/plugin_test.go
mrdir.lastRedirect = append(mrdir.lastRedirect, redirect) return nil } // returns the test server URL and a dispose func for the test server func setupCNIEventClientWithMockServer(serverErr bool) func() bool { cniAddServerCalled := false testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) { cniAddServerCalled = true if serverErr {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 17.3K bytes - Viewed (0)