- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 168 for StatusCode (0.13 sec)
-
istioctl/pkg/proxystatus/proxystatus_test.go
_, _, codec := cmdtesting.NewExternalScheme() tf.UnstructuredClient = &fake.RESTClient{ NegotiatedSerializer: resource.UnstructuredPlusDefaultContentConfig().NegotiatedSerializer, Resp: &http.Response{ StatusCode: http.StatusOK, Header: cmdtesting.DefaultHeader(), Body: cmdtesting.ObjBody(codec, cmdtesting.NewInternalType("", "", "foo")), }, } return tf }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 5.5K bytes - Viewed (0) -
internal/config/identity/plugin/config.go
} defer o.args.CloseRespFn(resp.Body) reqDurNanos := time.Since(reqStartTime).Nanoseconds() o.serviceMetrics.accumRequestRTT(reqStartTime, float64(reqDurNanos)/1e6, true) switch resp.StatusCode { case 200: var result AuthNSuccessResponse if err = json.NewDecoder(resp.Body).Decode(&result); err != nil { return AuthNResponse{}, err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/scheduler/extender.go
resp, err := h.client.Do(req) if err != nil { return err } defer resp.Body.Close() if resp.StatusCode != http.StatusOK { return fmt.Errorf("failed %v with extender at URL %v, code %v", action, url, resp.StatusCode) } return json.NewDecoder(resp.Body).Decode(result) } // IsInterested returns true if at least one extended resource requested by
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 19:07:19 UTC 2024 - 13.4K bytes - Viewed (0) -
pilot/pkg/bootstrap/server_test.go
defer c.CloseIdleConnections() resp, err := c.Get("http://" + s.httpAddr + "/validate") assert.NoError(t, err) // Validate returns 400 on no body; if we got this the request works assert.Equal(t, resp.StatusCode, 400) resp.Body.Close() }) t.Run("h2", func(t *testing.T) { c := http.Client{ Transport: &http2.Transport{ // Golang doesn't have first class support for h2c, so we provide some workarounds
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 23.1K bytes - Viewed (0) -
cmd/warm-backend-gcs.go
Bucket: bucket, Object: object, } } return err } googleAPIErr, ok := err.(*googleapi.Error) if !ok { // We don't interpret non MinIO errors. As minio errors will // have StatusCode to help to convert to object errors. return err } if len(googleAPIErr.Errors) == 0 { return err } reason := googleAPIErr.Errors[0].Reason message := googleAPIErr.Errors[0].Message
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Apr 21 11:43:18 UTC 2024 - 5.9K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server.go
) resp, err := s.http.Do(req) if err != nil { return nil, cancel, "", fmt.Errorf("error scraping %s: %v", url, err) } if resp.StatusCode != http.StatusOK { resp.Body.Close() return nil, cancel, "", fmt.Errorf("error scraping %s, status code: %v", url, resp.StatusCode) } format := resp.Header.Get("Content-Type") return resp.Body, cancel, format, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 31.1K bytes - Viewed (0) -
src/net/http/transport_internal_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:57:17 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc
const absl::StatusOr<std::optional<SaverDef>> saver_def = CreateSaverDef(control_ret_node_names, graph_def); EXPECT_THAT( saver_def, StatusIs( absl::StatusCode::kInternal, HasSubstr( "should be either all empty strings or all non-empty strings"))); } // Testing ConvertMlirModuleToExportedModel requires parsing MLIR string to // ModuleOp.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:11:25 UTC 2024 - 19.6K bytes - Viewed (0) -
internal/config/cache/cache.go
if err != nil { return nil, err } resp, err := c.clnt.Do(req) if err != nil { return nil, err } defer xhttp.DrainBody(resp.Body) switch resp.StatusCode { case http.StatusNotFound: return nil, ErrKeyMissing case http.StatusOK: co := &ObjectInfo{} return co, co.DecodeMsg(msgp.NewReader(resp.Body)) default: return nil, ErrInvalidArgument }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration.cc
GraphdefToSplattedMlirTranslateFunction); static Status CompileGraph(tensorflow::Graph* graph, xla::CompileOnlyClient* client) { if (!graph || !client) { return Status(absl::StatusCode::kInvalidArgument, "Invalid graph or client"); } tensorflow::FunctionDefLibrary flib; auto flib_def = std::make_unique<tensorflow::FunctionLibraryDefinition>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 7.8K bytes - Viewed (0)