- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for setupCNIEventClientWithMockServer (0.24 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) (string, func() bool) { cniAddServerCalled := false // replace the global CNI client with mock newCNIClient = func(address, path string) CNIEventClient { c := http.DefaultClient
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 17.5K bytes - Viewed (0)