Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for xdstype (0.13 sec)

  1. 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)
  2. 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)
  3. pkg/bootstrap/option/instances.go

    	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 {
    	return newOptionOrSkipIfZero("zone", value)
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/DataSchemaBuilder.kt

            private
            val propertyOriginalTypes = mutableMapOf<KClass<*>, MutableMap<String, KType>>()
    
            private
            val claimedFunctions = mutableMapOf<KClass<*>, MutableSet<KFunction<*>>>()
    
            fun addType(kClass: KClass<*>) {
                properties.getOrPut(kClass) { mutableMapOf() }
                propertyOriginalTypes.getOrPut(kClass) { mutableMapOf() }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue24161res/restype.go

    Austin Clements <******@****.***> 1683224724 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 486 bytes
    - Viewed (0)
  7. 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)
  8. src/vendor/golang.org/x/net/route/sys_netbsd.go

    func (typ RIBType) parseable() bool { return true }
    
    // RouteMetrics represents route metrics.
    type RouteMetrics struct {
    	PathMTU int // path maximum transmission unit
    }
    
    // SysType implements the SysType method of Sys interface.
    func (rmx *RouteMetrics) SysType() SysType { return SysMetrics }
    
    // Sys implements the Sys method of Message interface.
    func (m *RouteMessage) Sys() []Sys {
    	return []Sys{
    		&RouteMetrics{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/facts/imports.go

    			addType(T.Elem())
    		case *types.Slice:
    			addType(T.Elem())
    		case *types.Array:
    			addType(T.Elem())
    		case *types.Chan:
    			addType(T.Elem())
    		case *types.Map:
    			addType(T.Key())
    			addType(T.Elem())
    		case *types.Signature:
    			addType(T.Params())
    			addType(T.Results())
    			if tparams := T.TypeParams(); tparams != nil {
    				for i := 0; i < tparams.Len(); i++ {
    					addType(tparams.At(i))
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/route/message.go

    	Sys() []Sys
    }
    
    // A Sys reprensents operating system-specific information.
    type Sys interface {
    	// SysType returns a type of operating system-specific
    	// information.
    	SysType() SysType
    }
    
    // A SysType represents a type of operating system-specific
    // information.
    type SysType int
    
    const (
    	SysMetrics SysType = iota
    	SysStats
    )
    
    // ParseRIB parses b as a routing information base and returns a list
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top