fabric: github.com/hyperledger/fabric/common/metrics/metricsfakes Index | Files

package metricsfakes

import "github.com/hyperledger/fabric/common/metrics/metricsfakes"

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

counter.go gauge.go histogram.go provider.go

type Counter Uses

type Counter struct {
    AddStub func(float64)

    WithStub func(...string) metrics.Counter
    // contains filtered or unexported fields
}

func (*Counter) Add Uses

func (fake *Counter) Add(arg1 float64)

func (*Counter) AddArgsForCall Uses

func (fake *Counter) AddArgsForCall(i int) float64

func (*Counter) AddCallCount Uses

func (fake *Counter) AddCallCount() int

func (*Counter) AddCalls Uses

func (fake *Counter) AddCalls(stub func(float64))

func (*Counter) Invocations Uses

func (fake *Counter) Invocations() map[string][][]interface{}

func (*Counter) With Uses

func (fake *Counter) With(arg1 ...string) metrics.Counter

func (*Counter) WithArgsForCall Uses

func (fake *Counter) WithArgsForCall(i int) []string

func (*Counter) WithCallCount Uses

func (fake *Counter) WithCallCount() int

func (*Counter) WithCalls Uses

func (fake *Counter) WithCalls(stub func(...string) metrics.Counter)

func (*Counter) WithReturns Uses

func (fake *Counter) WithReturns(result1 metrics.Counter)

func (*Counter) WithReturnsOnCall Uses

func (fake *Counter) WithReturnsOnCall(i int, result1 metrics.Counter)

type Gauge Uses

type Gauge struct {
    AddStub func(float64)

    SetStub func(float64)

    WithStub func(...string) metrics.Gauge
    // contains filtered or unexported fields
}

func (*Gauge) Add Uses

func (fake *Gauge) Add(arg1 float64)

func (*Gauge) AddArgsForCall Uses

func (fake *Gauge) AddArgsForCall(i int) float64

func (*Gauge) AddCallCount Uses

func (fake *Gauge) AddCallCount() int

func (*Gauge) AddCalls Uses

func (fake *Gauge) AddCalls(stub func(float64))

func (*Gauge) Invocations Uses

func (fake *Gauge) Invocations() map[string][][]interface{}

func (*Gauge) Set Uses

func (fake *Gauge) Set(arg1 float64)

func (*Gauge) SetArgsForCall Uses

func (fake *Gauge) SetArgsForCall(i int) float64

func (*Gauge) SetCallCount Uses

func (fake *Gauge) SetCallCount() int

func (*Gauge) SetCalls Uses

func (fake *Gauge) SetCalls(stub func(float64))

func (*Gauge) With Uses

func (fake *Gauge) With(arg1 ...string) metrics.Gauge

func (*Gauge) WithArgsForCall Uses

func (fake *Gauge) WithArgsForCall(i int) []string

func (*Gauge) WithCallCount Uses

func (fake *Gauge) WithCallCount() int

func (*Gauge) WithCalls Uses

func (fake *Gauge) WithCalls(stub func(...string) metrics.Gauge)

func (*Gauge) WithReturns Uses

func (fake *Gauge) WithReturns(result1 metrics.Gauge)

func (*Gauge) WithReturnsOnCall Uses

func (fake *Gauge) WithReturnsOnCall(i int, result1 metrics.Gauge)

type Histogram Uses

type Histogram struct {
    ObserveStub func(float64)

    WithStub func(...string) metrics.Histogram
    // contains filtered or unexported fields
}

func (*Histogram) Invocations Uses

func (fake *Histogram) Invocations() map[string][][]interface{}

func (*Histogram) Observe Uses

func (fake *Histogram) Observe(arg1 float64)

func (*Histogram) ObserveArgsForCall Uses

func (fake *Histogram) ObserveArgsForCall(i int) float64

func (*Histogram) ObserveCallCount Uses

func (fake *Histogram) ObserveCallCount() int

func (*Histogram) ObserveCalls Uses

func (fake *Histogram) ObserveCalls(stub func(float64))

func (*Histogram) With Uses

func (fake *Histogram) With(arg1 ...string) metrics.Histogram

func (*Histogram) WithArgsForCall Uses

func (fake *Histogram) WithArgsForCall(i int) []string

func (*Histogram) WithCallCount Uses

func (fake *Histogram) WithCallCount() int

func (*Histogram) WithCalls Uses

func (fake *Histogram) WithCalls(stub func(...string) metrics.Histogram)

func (*Histogram) WithReturns Uses

func (fake *Histogram) WithReturns(result1 metrics.Histogram)

func (*Histogram) WithReturnsOnCall Uses

func (fake *Histogram) WithReturnsOnCall(i int, result1 metrics.Histogram)

type Provider Uses

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 Uses

func (fake *Provider) Invocations() map[string][][]interface{}

func (*Provider) NewCounter Uses

func (fake *Provider) NewCounter(arg1 metrics.CounterOpts) metrics.Counter

func (*Provider) NewCounterArgsForCall Uses

func (fake *Provider) NewCounterArgsForCall(i int) metrics.CounterOpts

func (*Provider) NewCounterCallCount Uses

func (fake *Provider) NewCounterCallCount() int

func (*Provider) NewCounterCalls Uses

func (fake *Provider) NewCounterCalls(stub func(metrics.CounterOpts) metrics.Counter)

func (*Provider) NewCounterReturns Uses

func (fake *Provider) NewCounterReturns(result1 metrics.Counter)

func (*Provider) NewCounterReturnsOnCall Uses

func (fake *Provider) NewCounterReturnsOnCall(i int, result1 metrics.Counter)

func (*Provider) NewGauge Uses

func (fake *Provider) NewGauge(arg1 metrics.GaugeOpts) metrics.Gauge

func (*Provider) NewGaugeArgsForCall Uses

func (fake *Provider) NewGaugeArgsForCall(i int) metrics.GaugeOpts

func (*Provider) NewGaugeCallCount Uses

func (fake *Provider) NewGaugeCallCount() int

func (*Provider) NewGaugeCalls Uses

func (fake *Provider) NewGaugeCalls(stub func(metrics.GaugeOpts) metrics.Gauge)

func (*Provider) NewGaugeReturns Uses

func (fake *Provider) NewGaugeReturns(result1 metrics.Gauge)

func (*Provider) NewGaugeReturnsOnCall Uses

func (fake *Provider) NewGaugeReturnsOnCall(i int, result1 metrics.Gauge)

func (*Provider) NewHistogram Uses

func (fake *Provider) NewHistogram(arg1 metrics.HistogramOpts) metrics.Histogram

func (*Provider) NewHistogramArgsForCall Uses

func (fake *Provider) NewHistogramArgsForCall(i int) metrics.HistogramOpts

func (*Provider) NewHistogramCallCount Uses

func (fake *Provider) NewHistogramCallCount() int

func (*Provider) NewHistogramCalls Uses

func (fake *Provider) NewHistogramCalls(stub func(metrics.HistogramOpts) metrics.Histogram)

func (*Provider) NewHistogramReturns Uses

func (fake *Provider) NewHistogramReturns(result1 metrics.Histogram)

func (*Provider) NewHistogramReturnsOnCall Uses

func (fake *Provider) NewHistogramReturnsOnCall(i int, result1 metrics.Histogram)

Package metricsfakes imports 2 packages (graph) and is imported by 1 packages. Updated 2019-12-09. Refresh now. Tools for package owners.