Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for k8smetrics (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    	"k8s.io/apiserver/pkg/storage"
    	"k8s.io/apiserver/pkg/storage/cacher/metrics"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/client-go/tools/cache"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	k8smetrics "k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/testutil"
    	"k8s.io/utils/clock"
    	testingclock "k8s.io/utils/clock/testing"
    )
    
    func makeTestPod(name string, resourceVersion uint64) *v1.Pod {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  2. cmd/os-instrumented.go

    	fn := ""
    	if f != nil {
    		fn = f.Name()
    	}
    	defer updateOSMetrics(osMetricFdatasync, fn)(err)
    	return disk.Fdatasync(f)
    }
    
    // report returns all os metrics.
    func (o *osMetrics) report() madmin.OSMetrics {
    	var m madmin.OSMetrics
    	m.CollectedAt = time.Now()
    	m.LifeTimeOps = make(map[string]uint64, osMetricLast)
    	for i := osMetric(0); i < osMetricLast; i++ {
    		if n := atomic.LoadUint64(&o.operations[i]); n > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/route/sys_dragonfly.go

    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{
    			PathMTU: int(nativeEndian.Uint64(m.raw[m.extOff+8 : m.extOff+16])),
    		},
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/route/sys_darwin.go

    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{
    			PathMTU: int(nativeEndian.Uint32(m.raw[m.extOff+4 : m.extOff+8])),
    		},
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/net/route/sys_openbsd.go

    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{
    			PathMTU: int(nativeEndian.Uint32(m.raw[60:64])),
    		},
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/net/route/sys_netbsd.go

    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{
    			PathMTU: int(nativeEndian.Uint64(m.raw[m.extOff+8 : m.extOff+16])),
    		},
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/route/sys_freebsd.go

    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 {
    	if kernelAlign == 8 {
    		return []Sys{
    			&RouteMetrics{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/route/message.go

    	// 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
    // of routing messages.
    func ParseRIB(typ RIBType, b []byte) ([]Message, error) {
    	if !typ.parseable() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. cmd/kms-handlers.go

    		return
    	}
    	writeSuccessResponseJSON(w, resp)
    }
    
    // KMSMetricsHandler - POST /minio/kms/v1/metrics
    func (a kmsAPIHandlers) KMSMetricsHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "KMSMetrics")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.KMSMetricsAction)
    	if objectAPI == nil {
    		return
    	}
    
    	if GlobalKMS == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top