- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 207 for StatusOK (0.14 sec)
-
cmd/healthcheck-handler.go
if opts.Maintenance { writeResponse(w, http.StatusPreconditionFailed, nil, mimeNone) } else { writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone) } return } writeResponse(w, http.StatusOK, nil, mimeNone) } // ClusterReadCheckHandler returns if the server is ready for requests. func ClusterReadCheckHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "ClusterReadCheckHandler")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(response.StatusCode, http.StatusOK) request, err = newTestSignedRequest(http.MethodHead, getHeadObjectURL(s.endPoint, bucketName, "my-object-directory/"), 0, nil, s.accessKey, s.secretKey, s.signer) c.Assert(err, nil) // execute the HTTP request. response, err = s.client.Do(request) c.Assert(err, nil) c.Assert(response.StatusCode, http.StatusOK)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 115.3K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/helper_test.go
if req.Method == "PUT" { return &http.Response{StatusCode: http.StatusOK, Header: header(), Body: objBody(&metav1.Status{Status: metav1.StatusSuccess})}, nil } return &http.Response{StatusCode: http.StatusOK, Header: header(), Body: objBody(&corev1.Pod{ObjectMeta: metav1.ObjectMeta{Name: "foo", ResourceVersion: "10"}})}, nil }), Req: expectPut, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 09:47:52 UTC 2023 - 25.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/maxinflight_test.go
go func() { if err := expectHTTPGet(server.URL+"/api/v1/namespaces/default/wait?watch=true", http.StatusOK); err != nil { t.Error(err) } responses.Done() }() } // Check that sever is not saturated by not-accounted calls if err := expectHTTPGet(server.URL+"/dontwait", http.StatusOK); err != nil { t.Error(err) } // These should hang and be accounted, i.e. saturate the server
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 10.2K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server_test.go
config: simpleHTTPConfig, statusCode: http.StatusOK, }, { name: "http-livez", probePath: "app-health/hello-world/livez", config: simpleHTTPConfig, statusCode: http.StatusOK, }, { name: "http-livez-localhost", probePath: "app-health/hello-world/livez", config: simpleHTTPConfig, statusCode: http.StatusOK, podIP: "localhost", }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 42.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder_test.go
resp, _ := http.Get(s.URL + "/fallthrough") assert.Equal(t, 1, fallThroughCount) assert.Equal(t, resp.StatusCode, http.StatusOK) resp, _ = http.Get(s.URL + "/publicPrefix") assert.Equal(t, 2, fallThroughCount) assert.Equal(t, resp.StatusCode, http.StatusOK) http.Get(s.URL + "/publicPrefix/") assert.Equal(t, 1, publicPrefixCount) http.Get(s.URL + "/publicPrefix/something")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 26 16:15:13 UTC 2017 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go
if err := assertResponseStatusCode(resultGot, http.StatusOK); err != nil { t.Errorf("%s", err.Error()) } resultGot = doer.Do(newClient(true), shouldUseNewConnection(t), "/echo?message=request-on-a-new-tcp-connection-should-succeed", time.Second) if err := assertResponseStatusCode(resultGot, http.StatusOK); err != nil { t.Errorf("%s", err.Error()) } })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 38.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler_test.go
requestPath: "/foo/bar/baz", expectedStatus: http.StatusOK, }, { desc: "allow if already proxied once", requestPath: "/api/bar/baz", expectedStatus: http.StatusOK, peerproxiedHeader: "true", }, { desc: "allow if unsynced informers", requestPath: "/api/bar/baz", expectedStatus: http.StatusOK, informerFinishedSync: false, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler_test.go
// get sent again second, _, _ := fetchPath(manager, "application/json", discoveryPath, "wrongetag") assert.Equal(t, http.StatusOK, initial.StatusCode, "response should be 200 OK") assert.Equal(t, http.StatusOK, second.StatusCode, "response should be 200 OK") assert.Equal(t, initial.Header.Get("ETag"), second.Header.Get("ETag"), "ETag of both requests should be equal") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 00:29:39 UTC 2024 - 28.6K bytes - Viewed (0) -
pkg/webhooks/validation/server/server_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 01 01:34:15 UTC 2023 - 9.6K bytes - Viewed (0)