- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 163 for StatusCode (0.17 sec)
-
cmd/admin-handlers.go
if nerr.Err != nil { err := AdminError{ Code: AdminUpdateApplyFailure, Message: nerr.Err.Error(), StatusCode: http.StatusInternalServerError, } logger.GetReqInfo(ctx).SetTags("peerAddress", nerr.Host.String()) adminLogIf(ctx, fmt.Errorf("server update failed with %w", err))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 98K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go
// redirects; it will thrown an error instead. func TestStreamTranslator_BlockRedirects(t *testing.T) { metrics.Register() metrics.ResetForTest() t.Cleanup(metrics.ResetForTest) for _, statusCode := range []int{ http.StatusMovedPermanently, // 301 http.StatusFound, // 302 http.StatusSeeOther, // 303 http.StatusTemporaryRedirect, // 307 http.StatusPermanentRedirect, // 308
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 23:21:55 UTC 2024 - 36.4K bytes - Viewed (0) -
internal/logger/target/http/http.go
if err != nil { return fmt.Errorf("%s returned '%w', please check your endpoint configuration", h.Endpoint(), err) } // Drain any response. xhttp.DrainBody(resp.Body) switch resp.StatusCode { case http.StatusOK, http.StatusCreated, http.StatusAccepted, http.StatusNoContent: // accepted HTTP status codes. return nil case http.StatusForbidden:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jun 02 03:03:39 UTC 2024 - 14.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc
return %0 : tensor<2x2x2xf32> } } )mlir"; TEST_F(AttrsAndConstraintsTest, IsDotGeneralFullyConnectedReturnsError) { DotGeneralOp dot_general_op = nullptr; StatusIs(absl::StatusCode::kInvalidArgument, "Given dot_general op cannot be null when checking " "`IsDotGeneralBatchMatmul`"); } TEST_F(AttrsAndConstraintsTest, IsDotGeneralFullyConnectedReturnsTrue) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 22.9K bytes - Viewed (0) -
cmd/kube-apiserver/app/testing/testserver.go
storageVersionCheck := fmt.Sprintf("poststarthook/%s", apiserver.StorageVersionPostStartHookName) req.Param("exclude", storageVersionCheck) } result := req.Do(context.TODO()) status := 0 result.StatusCode(&status) if status == 200 { return true, nil } return false, nil }) if err != nil { return result, fmt.Errorf("failed to wait for /healthz to return ok: %v", err) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 17.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc
} return quantization_method; } Method GetQuantizationMethodOrDefault(absl::Nonnull<Operation*> op) { absl::StatusOr<Method> method = GetQuantizationMethod(op); if (method.status().code() == absl::StatusCode::kInternal) { // This indicates that the `Method` protobuf string is corrupt, but this // function ignores it and returns the default instance. op->emitError(absl::StrCat("Failed to get quantization method: ",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.8K bytes - Viewed (0) -
tests/integration/pilot/common/routing.go
statusCode: http.StatusOK, from: t.Apps.A, to: t.Apps.External.All[0].Address(), protocol: protocol.HTTPS, port: 443, }, // TC2: Same test as TC1, but use a fake external ip in destination for connectivity. { name: "traffic from outboundTrafficPolicy REGISTRY_ONLY to allowed host", statusCode: http.StatusOK, from: t.Apps.A,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 21:52:51 UTC 2024 - 135.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go
req = req.WithContext(ctx) response, err := client.Do(req) if err != nil { return "", err } defer response.Body.Close() // Report non-OK status code as an error. if response.StatusCode < http.StatusOK || response.StatusCode > http.StatusIMUsed { return "", fmt.Errorf("error while getting distributed claim JWT: %v", response.Status) } responseBytes, err := ioutil.ReadAll(response.Body) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 19:29:33 UTC 2024 - 37.9K bytes - Viewed (0) -
pkg/kube/client.go
} resp, err := c.http.Do(req.WithContext(ctx)) if err != nil { return nil, formatError(err) } defer closeQuietly(resp.Body) if resp.StatusCode != http.StatusOK { return nil, fmt.Errorf("unexpected status code: %d", resp.StatusCode) } out, err := io.ReadAll(resp.Body) if err != nil { return nil, formatError(err) } return out, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 39K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks.go
} stopRetry, err = func() (stopRetry bool, err error) { r, err := client.Get(url) if err != nil { loopCount-- return false, err } defer r.Body.Close() if r.StatusCode >= 500 && r.StatusCode <= 599 { loopCount-- return false, errors.Errorf("server responded with non-successful status: %s", r.Status) } return true, json.NewDecoder(r.Body).Decode(target) }()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:20:55 UTC 2024 - 39.5K bytes - Viewed (0)