MCPcopy
hub / github.com/kubernetes/node-problem-detector / Int64MetricInterface

Interface Int64MetricInterface

pkg/util/metrics/fakes.go:25–28  ·  view source on GitHub ↗

Int64MetricInterface is used to create test double for Int64Metric.

Source from the content-addressed store, hash-verified

23
24// Int64MetricInterface is used to create test double for Int64Metric.
25type Int64MetricInterface interface {
26 // Record records a measurement for the metric, with provided tags as metric labels.
27 Record(tags map[string]string, measurement int64) error
28}
29
30// FakeInt64Metric implements Int64MetricInterface.
31// FakeInt64Metric can be used as a test double for Int64MetricInterface, allowing

Callers 1

Implementers 3

Int64Metricpkg/util/metrics/metric_int64.go
Float64Metricpkg/util/metrics/metric_float64.go
FakeInt64Metricpkg/util/metrics/fakes.go

Calls

no outgoing calls

Tested by

no test coverage detected