- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for XdsType (0.17 sec)
-
pkg/xds/monitoring.go
"Total time in seconds Pilot takes to send generated configuration.", []float64{.01, .1, 1, 3, 5, 10, 20, 30}, ) ) func IncrementXDSRejects(xdsType string, node, errCode string) { totalXDSRejects.With(typeTag.Value(model.GetMetricType(xdsType))).Increment() switch xdsType { case model.ListenerType: ldsReject.With(nodeTag.Value(node), errTag.Value(errCode)).Increment() case model.ClusterType:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 2.9K bytes - Viewed (0) -
pilot/pkg/xds/monitoring.go
case v3.RouteType: rdsSendErrPushes.Increment() } return true } return false } func recordPushTime(xdsType string, duration time.Duration) { pushTime.With(typeTag.Value(v3.GetMetricType(xdsType))).Record(duration.Seconds()) pushes.With(typeTag.Value(v3.GetMetricType(xdsType))).Increment()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 6.7K bytes - Viewed (0) -
pkg/bootstrap/option/instances.go
} func NodeID(value string) Instance { return newOption("nodeID", value) } func NodeType(value string) Instance { ntype := strings.Split(value, "~")[0] return newOption("nodeType", ntype) } func XdsType(value string) Instance { return newOption("xds_type", value) } func Region(value string) Instance { return newOptionOrSkipIfZero("region", value) } func Zone(value string) Instance {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:02:38 UTC 2024 - 9K bytes - Viewed (0) -
pilot/pkg/model/xds_cache.go
// Cacheable indicates whether this entry is valid for cache. For example // for EDS to be cacheable, the Endpoint should have corresponding service. Cacheable() bool } const ( CDSType = "cds" EDSType = "eds" RDSType = "rds" SDSType = "sds" ) // NewXdsCache returns an instance of a cache. func NewXdsCache() XdsCache { cache := XdsCacheImpl{ eds: newTypedXdsCache[uint64](), } if features.EnableCDSCaching {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 02 07:02:05 UTC 2023 - 6.1K bytes - Viewed (0) -
pilot/pkg/xds/xds_cache_test.go
} }) t.Run("clear all", func(t *testing.T) { c := model.NewXdsCache() start := time.Now() c.Add(ep1, &model.PushRequest{Start: start}, any1) c.Add(ep2, &model.PushRequest{Start: start}, any2) c.ClearAll() if len(c.Keys(model.EDSType)) != 0 { t.Fatalf("expected no keys, got: %v", c.Keys(model.EDSType)) } if got := c.Get(ep1); got != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 31 20:43:08 UTC 2023 - 7.8K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_cache.go
DelegateVirtualServices []model.ConfigHash DestinationRules []*model.ConsolidatedDestRule EnvoyFilterKeys []string } func (r *Cache) Type() string { return model.RDSType } func (r *Cache) Cacheable() bool { if r == nil { return false } if r.ListenerPort == 0 { return false } for _, config := range r.VirtualServices {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 5.8K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_cache.go
serviceAccounts []string // contains all the service accounts associated with the service } func (t *clusterCache) Type() string { return model.CDSType } func (t *clusterCache) Key() any { // nolint: gosec // Not security sensitive code h := hash.New() h.WriteString(t.clusterName) h.Write(Separator) h.WriteString(t.proxyVersion) h.Write(Separator)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 6.1K bytes - Viewed (0)