- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 159 for responses (0.14 sec)
-
pkg/test/framework/components/echo/workload.go
// ForwardEcho executes specific call from this workload. // TODO(nmittler): Instead of this, we should just make Workload implement Caller. ForwardEcho(context.Context, *proto.ForwardEchoRequest) (echo.Responses, error) // Logs returns the logs for the app container Logs() (string, error) LogsOrFail(t test.Failer) string } type Workloads []Workload func (ws Workloads) Len() int { return len(ws) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 25 19:46:28 UTC 2023 - 2.7K bytes - Viewed (0) -
pilot/pkg/xds/delta_test.go
staticCluster: "", updateCluster: "", }, }) // Expect that we send an EDS response even though there was no request resp := ads.ExpectResponse() if resp.TypeUrl != v3.EndpointType { t.Fatalf("unexpected response type %v. Expected dependent EDS response", resp.TypeUrl) } // we must NOT get the cluster back
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 15.2K bytes - Viewed (0) -
tests/integration/pilot/original_src_addr_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 1.9K bytes - Viewed (0) -
pkg/test/framework/components/echo/kube/instance.go
if err != nil { aggErr = multierror.Append(aggErr, err) continue } resps = append(resps, out.Responses...) } if aggErr.ErrorOrNil() != nil { return echo.CallResult{}, aggErr } return echo.CallResult{ From: c, Opts: opts, Responses: resps, }, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 16 18:55:23 UTC 2023 - 9K bytes - Viewed (0) -
tests/integration/pilot/headers_test.go
"x-envoy-peer-metadata-id", // Tracing decorator. We may consider disabling this if tracing is off? "x-envoy-decorator-operation", ) checkNoProxyHeaders := check.Each(func(response echoClient.Response) error { for k, v := range response.RequestHeaders { hn := strings.ToLower(k) if allowedClientHeaders.Contains(hn) { // This is allowed continue }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 20 16:01:31 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/test/framework/components/echo/calloptions.go
// TCP settings. TCP TCP // TLS settings. TLS TLS // HBONE settings. HBONE HBONE // Message to be sent. Message string // Check the server responses. If none is provided, only the number of responses received // will be checked. Check Checker // If we have been asked to do TCP comms with a PROXY protocol header, // determine which version (1 or 2), and send the header.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 08 09:39:20 UTC 2023 - 13K bytes - Viewed (0) -
pkg/test/framework/components/echo/check/checkers.go
if notExpected > 0 { notExpectedStr = strconv.Itoa(notExpected) } return func(r echoClient.Response) error { if r.Code == notExpectedStr { return fmt.Errorf("received unexpected response code `%s`. Response: %s", notExpectedStr, r) } return nil } } // GRPCStatus checks that the gRPC response status code matches the expected value. func GRPCStatus(expected codes.Code) echo.Checker {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 03 16:19:07 UTC 2023 - 17.5K bytes - Viewed (0) -
tests/integration/pilot/locality_test.go
} got := map[string]int{} for _, r := range result.Responses { // Hostname will take form of svc-v1-random. We want to extract just 'svc' parts := strings.SplitN(r.Hostname, "-", 2) if len(parts) < 2 { return fmt.Errorf("unexpected hostname: %v", r) } gotHost := parts[0] got[gotHost]++ } scopes.Framework.Infof("Got responses: %+v", got) for svc, reqs := range got {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.6K bytes - Viewed (0) -
pilot/pkg/networking/apigen/apigen.go
// TODO: support WorkloadEntry - to generate endpoints (equivalent with EDS) // TODO: based on lessons from MCP, we want to send 'chunked' responses, like apiserver does. // A first attempt added a 'sync' record at the end. Based on feedback and common use, a // different approach can be used - for large responses, we can mark the last one as 'hasMore' // by adding a field to the envelope.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 05 19:01:38 UTC 2023 - 5K bytes - Viewed (0) -
pkg/istio-agent/xds_proxy_delta.go
case resp := <-con.deltaResponsesChan: // TODO: separate upstream response handling from requests sending, which are both time costly proxyLog.WithLabels( "id", con.conID, "type", model.GetShortType(resp.TypeUrl), "nonce", resp.Nonce, "resources", len(resp.Resources), "removes", len(resp.RemovedResources), ).Debugf("upstream response") metrics.XdsProxyResponses.Increment()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 04 20:29:08 UTC 2024 - 11.7K bytes - Viewed (0)