- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for responses (0.26 sec)
-
istioctl/pkg/multixds/gather.go
return nil, err } responses = append(responses, resp) return responses, nil } return responses, nil } func mergeShards(responses map[string]*discovery.DiscoveryResponse) (*discovery.DiscoveryResponse, error) { retval := discovery.DiscoveryResponse{} if len(responses) == 0 { return &retval, nil } for _, response := range responses {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 08 08:38:19 UTC 2024 - 13.6K 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) -
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) -
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) -
pkg/dns/client/dns_test.go
}, { // This is not a NXDOMAIN, but empty response name: "success: Error response if only AAAA records exist for typeA", host: "ipv6.localhost.", }, { // This is not a NXDOMAIN, but empty response name: "success: Error response if only A records exist for typeAAAA", host: "ipv4.localhost.", queryAAAA: true, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 20.4K bytes - Viewed (0) -
pilot/pkg/model/jwks_resolver.go
// (right now calls it from initDiscoveryService in pkg/bootstrap/server.go). func (r *JwksResolver) Close() { closeChan <- true } // Compare two JWKS responses, returning true if there is a difference and false otherwise func compareJWKSResponse(oldKeyString string, newKeyString string) (bool, error) { if oldKeyString == newKeyString { return false, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 09:47:21 UTC 2024 - 20.3K bytes - Viewed (0) -
tests/integration/pilot/tunneling_test.go
HTTP: echo.HTTP{ Path: "/" + testName, }, }) if err != nil { return fmt.Errorf("failed to request to external service: %s", err) } if res.Responses[0].Code != "200" { return fmt.Errorf("expected to get 200 status code, got: %s", res.Responses[0].Code) } return nil } func verifyThatRequestWasTunneled(target echo.Instance, expectedSourceIPs []corev1.PodIP, expectedPath string) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 10.4K bytes - Viewed (0) -
pkg/istio-agent/xds_proxy.go
} } // sendDownstream sends discovery response. func sendDownstream(downstream adsStream, response *discovery.DiscoveryResponse) error { tStart := time.Now() defer func() { // This is a hint to help debug slow responses. if time.Since(tStart) > 10*time.Second { proxyLog.Warnf("sendDownstream took %v", time.Since(tStart)) } }() return downstream.Send(response) } func (p *XdsProxy) close() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 27.9K bytes - Viewed (0) -
pkg/dns/client/dns.go
if lp == nil { if h.respondBeforeSync { response = h.upstream(proxy, req, hostname) response.Truncate(size(proxy.protocol, req)) _ = w.WriteMsg(response) } else { log.Debugf("dns request for host %q before lookup table is loaded", hostname) response = new(dns.Msg) response.SetReply(req) response.Rcode = dns.RcodeServerFailure _ = w.WriteMsg(response) } return }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 23.9K bytes - Viewed (0)