kubernetes/staging/src/k8s.io/client-go/tools/cache/reflector_metrics.go

type GaugeMetric

type CounterMetric

type SummaryMetric

type noopMetric

func (noopMetric) Inc()            {}

func (noopMetric) Dec()            {}

func (noopMetric) Observe(float64) {}

func (noopMetric) Set(float64)     {}

type MetricsProvider

type noopMetricsProvider

func (noopMetricsProvider) NewListsMetric(name string) CounterMetric         {}

func (noopMetricsProvider) NewListDurationMetric(name string) SummaryMetric  {}

func (noopMetricsProvider) NewItemsInListMetric(name string) SummaryMetric   {}

func (noopMetricsProvider) NewWatchesMetric(name string) CounterMetric       {}

func (noopMetricsProvider) NewShortWatchesMetric(name string) CounterMetric  {}

func (noopMetricsProvider) NewWatchDurationMetric(name string) SummaryMetric {}

func (noopMetricsProvider) NewItemsInWatchMetric(name string) SummaryMetric  {}

func (noopMetricsProvider) NewLastResourceVersionMetric(name string) GaugeMetric {}

var metricsFactory

// SetReflectorMetricsProvider sets the metrics provider
func SetReflectorMetricsProvider(metricsProvider MetricsProvider) {}