- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 194 for StatusOK (0.17 sec)
-
tests/integration/security/sds_ingress/ingress_test.go
ingressutil.ExpectedResponse{StatusCode: http.StatusOK}) }) t.NewSubTest("request with client certificates").Run(func(t framework.TestContext) { // Send a TLS request with client certificates. ingressutil.SendRequestOrFail(t, ing, host, credName, ingressutil.Mtls, tlsContext, ingressutil.ExpectedResponse{StatusCode: http.StatusOK}) }) }) } }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 32.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/watch_termination_test.go
}, { name: "request is not a WATCH, not added into wait group", requestInfo: &apirequest.RequestInfo{Verb: "get"}, handlerInvoked: 1, statusCodeExpected: http.StatusOK, }, { name: "request is a WATCH, wait group is in waiting mode", requestInfo: &apirequest.RequestInfo{Verb: "watch"}, wg: &fakeRequestWaitGroup{waiting: true},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 15:49:49 UTC 2023 - 5.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go
// TODO: JTL: "GET root item": {"GET", "/" + prefix + "/" + testGroupVersion.Group + "/" + testGroupVersion.Version + "/simpleroots/bar", http.StatusOK}, "GET namespaced": {"GET", "/" + prefix + "/" + testGroupVersion.Group + "/" + testGroupVersion.Version + "/namespaces/ns/simples", http.StatusOK},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 20:15:22 UTC 2023 - 158.7K bytes - Viewed (0) -
pkg/serviceaccount/openidmetadata_test.go
if err != nil { t.Fatalf("Get(%s) = %v, %v want: <response>, <nil>", reqURL, resp, err) } defer resp.Body.Close() if resp.StatusCode != http.StatusOK { t.Errorf("Get(%s) = %v, _ want: %v, _", reqURL, resp.StatusCode, http.StatusOK) } if got, want := resp.Header.Get("Content-Type"), "application/json"; got != want { t.Errorf("Get(%s) Content-Type = %q, _ want: %q, _", reqURL, got, want) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 02 01:53:17 UTC 2023 - 14.8K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
expectedRespStatus: http.StatusOK, }, // Test case - 2. // Delete deleted objects with quiet flag off. 2: { bucket: bucketName, objects: successRequest0, accessKey: credentials.AccessKey, secretKey: credentials.SecretKey, expectedContent: encodedSuccessResponse0, expectedRespStatus: http.StatusOK, }, // Test case - 3.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 39.8K bytes - Viewed (0) -
pkg/kubelet/client/kubelet_client_test.go
t.Error("rt should not be nil") } } func TestMakeInsecureTransport(t *testing.T) { testServer := httptest.NewTLSServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { w.WriteHeader(http.StatusOK) })) defer testServer.Close() testURL, err := url.Parse(testServer.URL) if err != nil { t.Fatal(err) } _, portStr, err := net.SplitHostPort(testURL.Host) if err != nil { t.Fatal(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 07 01:34:49 UTC 2023 - 2.9K bytes - Viewed (0) -
cmd/generic-handlers_test.go
w.WriteHeader(http.StatusOK) } for i, test := range sseTLSHandlerTests { globalIsTLS = test.IsTLS w := httptest.NewRecorder() r := new(http.Request) r.Header = test.Header r.URL = test.URL h := setRequestValidityMiddleware(okHandler) h.ServeHTTP(w, r) switch { case test.ShouldFail && w.Code == http.StatusOK:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 5.4K bytes - Viewed (0) -
pkg/spiffe/spiffe_test.go
in: input1, extraCerts: serverCerts, statusCode: http.StatusOK, body: validSpiffeX509Bundle, wantNumCerts: 1, }, { name: "Success with multiple trust domains", in: input2, extraCerts: serverCerts, statusCode: http.StatusOK, body: validSpiffeX509Bundle, wantNumCerts: 1, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 18.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator.go
websocketStreams.writeStatus(codeExitToStatusError(exitErr)) // Returned an exit code from the container, so not an error in // stream translator--add StatusOK to metrics. metrics.IncStreamTranslatorRequest(req.Context(), strconv.Itoa(http.StatusOK)) } else { websocketStreams.writeStatus(apierrors.NewInternalError(err)) metrics.IncStreamTranslatorRequest(req.Context(), strconv.Itoa(http.StatusInternalServerError))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 23:21:55 UTC 2024 - 6.7K bytes - Viewed (0) -
tests/integration/pilot/multiplecontrolplanes/main_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 16:52:52 UTC 2024 - 9.1K bytes - Viewed (0)