Documentation ¶
Index ¶
- type Counter
- func (fake *Counter) Add(arg1 float64)
- func (fake *Counter) AddArgsForCall(i int) float64
- func (fake *Counter) AddCallCount() int
- func (fake *Counter) AddCalls(stub func(float64))
- func (fake *Counter) Invocations() map[string][][]interface{}
- func (fake *Counter) With(arg1 ...string) metrics.Counter
- func (fake *Counter) WithArgsForCall(i int) []string
- func (fake *Counter) WithCallCount() int
- func (fake *Counter) WithCalls(stub func(...string) metrics.Counter)
- func (fake *Counter) WithReturns(result1 metrics.Counter)
- func (fake *Counter) WithReturnsOnCall(i int, result1 metrics.Counter)
- type Gauge
- func (fake *Gauge) Add(arg1 float64)
- func (fake *Gauge) AddArgsForCall(i int) float64
- func (fake *Gauge) AddCallCount() int
- func (fake *Gauge) AddCalls(stub func(float64))
- func (fake *Gauge) Invocations() map[string][][]interface{}
- func (fake *Gauge) Set(arg1 float64)
- func (fake *Gauge) SetArgsForCall(i int) float64
- func (fake *Gauge) SetCallCount() int
- func (fake *Gauge) SetCalls(stub func(float64))
- func (fake *Gauge) With(arg1 ...string) metrics.Gauge
- func (fake *Gauge) WithArgsForCall(i int) []string
- func (fake *Gauge) WithCallCount() int
- func (fake *Gauge) WithCalls(stub func(...string) metrics.Gauge)
- func (fake *Gauge) WithReturns(result1 metrics.Gauge)
- func (fake *Gauge) WithReturnsOnCall(i int, result1 metrics.Gauge)
- type Histogram
- func (fake *Histogram) Invocations() map[string][][]interface{}
- func (fake *Histogram) Observe(arg1 float64)
- func (fake *Histogram) ObserveArgsForCall(i int) float64
- func (fake *Histogram) ObserveCallCount() int
- func (fake *Histogram) ObserveCalls(stub func(float64))
- func (fake *Histogram) With(arg1 ...string) metrics.Histogram
- func (fake *Histogram) WithArgsForCall(i int) []string
- func (fake *Histogram) WithCallCount() int
- func (fake *Histogram) WithCalls(stub func(...string) metrics.Histogram)
- func (fake *Histogram) WithReturns(result1 metrics.Histogram)
- func (fake *Histogram) WithReturnsOnCall(i int, result1 metrics.Histogram)
- type Provider
- func (fake *Provider) Invocations() map[string][][]interface{}
- func (fake *Provider) NewCounter(arg1 metrics.CounterOpts) metrics.Counter
- func (fake *Provider) NewCounterArgsForCall(i int) metrics.CounterOpts
- func (fake *Provider) NewCounterCallCount() int
- func (fake *Provider) NewCounterCalls(stub func(metrics.CounterOpts) metrics.Counter)
- func (fake *Provider) NewCounterReturns(result1 metrics.Counter)
- func (fake *Provider) NewCounterReturnsOnCall(i int, result1 metrics.Counter)
- func (fake *Provider) NewGauge(arg1 metrics.GaugeOpts) metrics.Gauge
- func (fake *Provider) NewGaugeArgsForCall(i int) metrics.GaugeOpts
- func (fake *Provider) NewGaugeCallCount() int
- func (fake *Provider) NewGaugeCalls(stub func(metrics.GaugeOpts) metrics.Gauge)
- func (fake *Provider) NewGaugeReturns(result1 metrics.Gauge)
- func (fake *Provider) NewGaugeReturnsOnCall(i int, result1 metrics.Gauge)
- func (fake *Provider) NewHistogram(arg1 metrics.HistogramOpts) metrics.Histogram
- func (fake *Provider) NewHistogramArgsForCall(i int) metrics.HistogramOpts
- func (fake *Provider) NewHistogramCallCount() int
- func (fake *Provider) NewHistogramCalls(stub func(metrics.HistogramOpts) metrics.Histogram)
- func (fake *Provider) NewHistogramReturns(result1 metrics.Histogram)
- func (fake *Provider) NewHistogramReturnsOnCall(i int, result1 metrics.Histogram)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct { AddStub func(float64) WithStub func(...string) metrics.Counter // contains filtered or unexported fields }
func (*Counter) AddArgsForCall ¶
func (*Counter) AddCallCount ¶
func (*Counter) Invocations ¶
func (*Counter) WithArgsForCall ¶
func (*Counter) WithCallCount ¶
func (*Counter) WithReturns ¶
type Gauge ¶
type Gauge struct { AddStub func(float64) SetStub func(float64) WithStub func(...string) metrics.Gauge // contains filtered or unexported fields }
func (*Gauge) AddArgsForCall ¶
func (*Gauge) AddCallCount ¶
func (*Gauge) Invocations ¶
func (*Gauge) SetArgsForCall ¶
func (*Gauge) SetCallCount ¶
func (*Gauge) WithArgsForCall ¶
func (*Gauge) WithCallCount ¶
func (*Gauge) WithReturns ¶
type Histogram ¶
type Histogram struct { ObserveStub func(float64) WithStub func(...string) metrics.Histogram // contains filtered or unexported fields }
func (*Histogram) Invocations ¶
func (*Histogram) ObserveArgsForCall ¶
func (*Histogram) ObserveCallCount ¶
func (*Histogram) ObserveCalls ¶
func (*Histogram) WithArgsForCall ¶
func (*Histogram) WithCallCount ¶
func (*Histogram) WithReturns ¶
type Provider ¶
type Provider struct { NewCounterStub func(metrics.CounterOpts) metrics.Counter NewGaugeStub func(metrics.GaugeOpts) metrics.Gauge NewHistogramStub func(metrics.HistogramOpts) metrics.Histogram // contains filtered or unexported fields }
func (*Provider) Invocations ¶
func (*Provider) NewCounter ¶
func (fake *Provider) NewCounter(arg1 metrics.CounterOpts) metrics.Counter
func (*Provider) NewCounterArgsForCall ¶
func (fake *Provider) NewCounterArgsForCall(i int) metrics.CounterOpts
func (*Provider) NewCounterCallCount ¶
func (*Provider) NewCounterCalls ¶
func (fake *Provider) NewCounterCalls(stub func(metrics.CounterOpts) metrics.Counter)
func (*Provider) NewCounterReturns ¶
func (*Provider) NewCounterReturnsOnCall ¶
func (*Provider) NewGaugeArgsForCall ¶
func (*Provider) NewGaugeCallCount ¶
func (*Provider) NewGaugeCalls ¶
func (*Provider) NewGaugeReturns ¶
func (*Provider) NewGaugeReturnsOnCall ¶
func (*Provider) NewHistogram ¶
func (fake *Provider) NewHistogram(arg1 metrics.HistogramOpts) metrics.Histogram
func (*Provider) NewHistogramArgsForCall ¶
func (fake *Provider) NewHistogramArgsForCall(i int) metrics.HistogramOpts
func (*Provider) NewHistogramCallCount ¶
func (*Provider) NewHistogramCalls ¶
func (fake *Provider) NewHistogramCalls(stub func(metrics.HistogramOpts) metrics.Histogram)
func (*Provider) NewHistogramReturns ¶
Click to show internal directories.
Click to hide internal directories.