Cleanup staticcheck from staging/src/k8s.io/client-go/tools/cache.

Kubernetes-commit: 19e5c8565d444cbb81d554a69960d7144996b05a
This commit is contained in:
RainbowMango
2019-09-04 18:32:06 +08:00
committed by Kubernetes Publisher
parent 6f3bc4ba92
commit e990876d88
3 changed files with 0 additions and 25 deletions

View File

@@ -47,19 +47,6 @@ func (noopMetric) Dec() {}
func (noopMetric) Observe(float64) {}
func (noopMetric) Set(float64) {}
type reflectorMetrics struct {
numberOfLists CounterMetric
listDuration SummaryMetric
numberOfItemsInList SummaryMetric
numberOfWatches CounterMetric
numberOfShortWatches CounterMetric
watchDuration SummaryMetric
numberOfItemsInWatch SummaryMetric
lastResourceVersion GaugeMetric
}
// MetricsProvider generates various metrics used by the reflector.
type MetricsProvider interface {
NewListsMetric(name string) CounterMetric