- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 103 for responses (0.14 sec)
-
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) -
tests/integration/ambient/baseline_test.go
// Check that each response saw one of the workload IPs for the src echo instance addresses := sets.New(src.WorkloadsOrFail(t).Addresses()...) return check.Each(func(response echot.Response) error { if !addresses.Contains(response.IP) { return fmt.Errorf("expected original source (%v) to be propogated, but got %v", addresses.UnsortedList(), response.IP) } return nil }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K 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) -
pilot/pkg/xds/eds_test.go
} } // Validate that we do send initial unhealthy endpoints. // ExpectPush=false since we are just querying the initial state, we already got the responses in our initial connection if sendUnhealthy { validateEndpoints(false, nil, []string{"10.0.0.53:53"}) } else { validateEndpoints(false, nil, nil) } adscon.WaitClear()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 20:58:47 UTC 2024 - 39.6K bytes - Viewed (0) -
pilot/pkg/xds/eds.go
// Despite this code existing on the SotW code path, sending these partial pushes is still allowed; // see https://www.envoyproxy.io/docs/envoy/latest/api-docs/xds_protocol#grouping-resources-into-responses if !req.Full || canSendPartialFullPushes(req) { edsUpdatedServices = model.ConfigNamesOfKind(req.ConfigsUpdated, kind.ServiceEntry) } var resources model.Resources empty := 0 cached := 0
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 15:58:06 UTC 2024 - 9.9K bytes - Viewed (0) -
pilot/pkg/model/typed_xds_cache.go
func size(cs int) { xdsCacheSize.Record(float64(cs)) } type CacheToken uint64 type dependents interface { DependentConfigs() []ConfigHash } // typedXdsCache interface defines a store for caching XDS responses. // All operations are thread safe. type typedXdsCache[K comparable] interface { // Flush clears the evicted indexes. Flush()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 05:26:03 UTC 2024 - 11K bytes - Viewed (0) -
tests/integration/security/egress_sidecar_tls_origination_test.go
return fmt.Errorf("unexpected error: %w", err) } if !strings.Contains(err.Error(), exRsp.ErrorMessage) { return fmt.Errorf("expected response error message %s but got %w and the response code is %+v", exRsp.ErrorMessage, err, result.Responses) } return nil } return check.And(check.NoErrorAndStatus(exRsp.StatusCode), check.BodyContains(exRsp.ErrorMessage)).Check(result, nil) }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 10.4K bytes - Viewed (0) -
pilot/pkg/model/telemetry.go
// Additionally, fetch relevant access logging configurations tml := mergeLogs(c.Logging, t.meshConfig, workloadMode(class)) // The above result is in a nested map to deduplicate responses. This loses ordering, so we convert to // a list to retain stable naming allKeys := sets.New[string]() for k, v := range tml { if v.Disabled { continue } allKeys.Insert(k) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 18:14:09 UTC 2024 - 35.2K bytes - Viewed (0) -
pilot/pkg/xds/discovery.go
} s.JwtKeyResolver = model.NewJwksResolver( model.JwtPubKeyEvictionDuration, model.JwtPubKeyRefreshInterval, model.JwtPubKeyRefreshIntervalOnFailure, model.JwtPubKeyRetryInterval) // Flush cached discovery responses when detecting jwt public key change. s.JwtKeyResolver.PushFunc = func() { s.ConfigUpdate(&model.PushRequest{Full: true, Reason: model.NewReasonStats(model.UnknownTrigger)}) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 20:21:09 UTC 2024 - 19K bytes - Viewed (0) -
tests/integration/telemetry/policy/helper_test.go
// the expected response from a blackhole test case will have err // set; use the length of the expected code to ignore this condition if err != nil && tc.Expected.StatusCode > 0 { return fmt.Errorf("request failed: %v", err) } codeStr := strconv.Itoa(tc.Expected.StatusCode) for i, r := range result.Responses { if codeStr != r.Code {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 11.4K bytes - Viewed (0)