- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 62 for responses (0.13 sec)
-
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) -
tests/integration/security/fuzz/fuzz_test.go
if !strings.Contains(stdout, "Prescan: original token Response Code: 200") { t.Fatalf("could not find prescan check, please make sure the jwt_tool.py completed successfully") } errCases := []string{} scanStarted := false for _, line := range strings.Split(stdout, "\n") { if scanStarted { // First check the response is a valid test case.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 12.9K bytes - Viewed (0) -
pilot/pkg/bootstrap/server.go
} // initRegistryEventHandlers sets up event handlers for config and service updates func (s *Server) initRegistryEventHandlers() { log.Info("initializing registry event handlers") // Flush cached discovery responses whenever services configuration change. serviceHandler := func(prev, curr *model.Service, event model.Event) { pushReq := &model.PushRequest{ Full: true,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 46.3K bytes - Viewed (0) -
pkg/adsc/adsc.go
// Retrieved configurations can be stored using the common istio model interface. Store model.ConfigStore // Retrieved endpoints can be stored in the memory registry. This is used for CDS and EDS responses. Registry *memory.ServiceDiscovery // LocalCacheDir is set to a base name used to save fetched resources. // If set, each update will be saved.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 05 22:18:49 UTC 2024 - 35K bytes - Viewed (0)