- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 74 for StatusOK (0.13 sec)
-
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/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/endpoints/filters/request_deadline_test.go
statusCodeExpected: http.StatusOK, }, { name: "the request is long running, no deadline is expected to be set", requestURL: "/api/v1/namespaces?timeout=10s", longRunning: true, hasDeadlineExpected: false, handlerCallCountExpected: 1, statusCodeExpected: http.StatusOK, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 14 23:04:34 UTC 2022 - 16.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go
assert.NoError(err) data, _ := io.ReadAll(resp.Body) if http.StatusOK != resp.StatusCode { t.Logf("got %d", resp.StatusCode) t.Log(string(data)) return false, nil } return true, nil })) resp, err = http.Get(server.URL + "/healthz/ping") assert.NoError(err) assert.Equal(http.StatusOK, resp.StatusCode) } func TestUpdateOpenAPISpec(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 23.2K bytes - Viewed (0) -
cmd/object-lambda-handlers.go
"Switching Protocols": http.StatusSwitchingProtocols, "Processing": http.StatusProcessing, "Early Hints": http.StatusEarlyHints, "OK": http.StatusOK, "Created": http.StatusCreated, "Accepted": http.StatusAccepted, "Non-Authoritative Information": http.StatusNonAuthoritativeInfo,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 10.2K bytes - Viewed (0) -
pkg/probe/http/http_test.go
health probe.Result accBody string notBody string }{ // The probe will be filled in below. This is primarily testing that an HTTP GET happens. { handler: handleReq(http.StatusOK, "ok body"), health: probe.Success, accBody: "ok body", }, { handler: headerCounterHandler, reqHeaders: http.Header{}, health: probe.Success, accBody: "3", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 18 01:40:08 UTC 2023 - 15.7K bytes - Viewed (0) -
src/os/exec.go
// reference was not dropped or status changed. func (p *Process) handlePersistentRelease(reason processStatus) processStatus { if p.mode != modeHandle { panic("handlePersistentRelease called in invalid mode") } for { refs := p.state.Load() status := processStatus(refs & processStatusMask) if status != statusOK {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 12.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/config_test.go
`, t) checkPath(server.URL+"/healthz/poststarthook/delegate-post-start-hook", http.StatusOK, `ok`, t) checkPath(server.URL+"/healthz/poststarthook/wrapping-post-start-hook", http.StatusOK, `ok`, t) checkPath(server.URL+"/foo", http.StatusForbidden, ``, t) checkPath(server.URL+"/bar", http.StatusUnauthorized, ``, t) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 13.1K bytes - Viewed (0) -
tests/integration/security/egress_gateway_origination_test.go
// This root certificate can validate the server cert presented by the echoboot server instance. { name: "simple", statusCode: http.StatusOK, credentialToUse: strings.TrimSuffix(credName, "-cacert"), useGateway: true, }, // Use CA certificate stored as k8s secret with different issuing CA as server's CA.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 15.4K bytes - Viewed (0)