- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for setupHTTPServer (0.07 sec)
-
istioctl/pkg/admin/istiodconfig_test.go
} } func setupHTTPServer() (*httptest.Server, *url.URL) { handler := http.NewServeMux() handler.HandleFunc("/scopej/ads", adsHandler) handler.HandleFunc("/scopej/resource", resourceHandler) server := httptest.NewServer(handler) url, _ := url.Parse(server.URL) return server, url } func Test_flagState_run(t *testing.T) { server, url := setupHTTPServer() defer server.Close()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 6.2K bytes - Viewed (0)