- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for httpServerEventCount (0.23 sec)
-
pkg/istio-agent/health/health_check_test.go
httpPath := "/test/health/check" httpHealthStatuses := [4]bool{true, false, false, true} httpServerEventCount := 0 sss := httptest.NewServer(http.HandlerFunc(func(writer http.ResponseWriter, request *http.Request) { if httpServerEventCount < len(httpHealthStatuses) && httpHealthStatuses[httpServerEventCount] { writer.WriteHeader(http.StatusOK) writer.Write([]byte("foobar")) } else {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 09 16:50:11 UTC 2023 - 6.3K bytes - Viewed (0)