- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for newCNIClient (0.06 sec)
-
cni/pkg/plugin/plugin_test.go
res.Write([]byte("server not happy")) return } res.WriteHeader(http.StatusOK) res.Write([]byte("server happy")) })) // replace the global CNI client with mock newCNIClient = func(address, path string) CNIEventClient { c := http.DefaultClient eventC := CNIEventClient{ client: c, url: testServer.URL + path, } return eventC }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 17.3K bytes - Viewed (0)