Documentation ¶
Overview ¶
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.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type ABServer
- func (fake *ABServer) Context() context.Context
- func (fake *ABServer) ContextCallCount() int
- func (fake *ABServer) ContextCalls(stub func() context.Context)
- func (fake *ABServer) ContextReturns(result1 context.Context)
- func (fake *ABServer) ContextReturnsOnCall(i int, result1 context.Context)
- func (fake *ABServer) Invocations() map[string][][]interface{}
- func (fake *ABServer) Recv() (*common.Envelope, error)
- func (fake *ABServer) RecvCallCount() int
- func (fake *ABServer) RecvCalls(stub func() (*common.Envelope, error))
- func (fake *ABServer) RecvMsg(arg1 interface{}) error
- func (fake *ABServer) RecvMsgArgsForCall(i int) interface{}
- func (fake *ABServer) RecvMsgCallCount() int
- func (fake *ABServer) RecvMsgCalls(stub func(interface{}) error)
- func (fake *ABServer) RecvMsgReturns(result1 error)
- func (fake *ABServer) RecvMsgReturnsOnCall(i int, result1 error)
- func (fake *ABServer) RecvReturns(result1 *common.Envelope, result2 error)
- func (fake *ABServer) RecvReturnsOnCall(i int, result1 *common.Envelope, result2 error)
- func (fake *ABServer) Send(arg1 *orderer.BroadcastResponse) error
- func (fake *ABServer) SendArgsForCall(i int) *orderer.BroadcastResponse
- func (fake *ABServer) SendCallCount() int
- func (fake *ABServer) SendCalls(stub func(*orderer.BroadcastResponse) error)
- func (fake *ABServer) SendHeader(arg1 metadata.MD) error
- func (fake *ABServer) SendHeaderArgsForCall(i int) metadata.MD
- func (fake *ABServer) SendHeaderCallCount() int
- func (fake *ABServer) SendHeaderCalls(stub func(metadata.MD) error)
- func (fake *ABServer) SendHeaderReturns(result1 error)
- func (fake *ABServer) SendHeaderReturnsOnCall(i int, result1 error)
- func (fake *ABServer) SendMsg(arg1 interface{}) error
- func (fake *ABServer) SendMsgArgsForCall(i int) interface{}
- func (fake *ABServer) SendMsgCallCount() int
- func (fake *ABServer) SendMsgCalls(stub func(interface{}) error)
- func (fake *ABServer) SendMsgReturns(result1 error)
- func (fake *ABServer) SendMsgReturnsOnCall(i int, result1 error)
- func (fake *ABServer) SendReturns(result1 error)
- func (fake *ABServer) SendReturnsOnCall(i int, result1 error)
- func (fake *ABServer) SetHeader(arg1 metadata.MD) error
- func (fake *ABServer) SetHeaderArgsForCall(i int) metadata.MD
- func (fake *ABServer) SetHeaderCallCount() int
- func (fake *ABServer) SetHeaderCalls(stub func(metadata.MD) error)
- func (fake *ABServer) SetHeaderReturns(result1 error)
- func (fake *ABServer) SetHeaderReturnsOnCall(i int, result1 error)
- func (fake *ABServer) SetTrailer(arg1 metadata.MD)
- func (fake *ABServer) SetTrailerArgsForCall(i int) metadata.MD
- func (fake *ABServer) SetTrailerCallCount() int
- func (fake *ABServer) SetTrailerCalls(stub func(metadata.MD))
- type ChannelSupport
- func (fake *ChannelSupport) ClassifyMsg(arg1 *common.ChannelHeader) msgprocessor.Classification
- func (fake *ChannelSupport) ClassifyMsgArgsForCall(i int) *common.ChannelHeader
- func (fake *ChannelSupport) ClassifyMsgCallCount() int
- func (fake *ChannelSupport) ClassifyMsgCalls(stub func(*common.ChannelHeader) msgprocessor.Classification)
- func (fake *ChannelSupport) ClassifyMsgReturns(result1 msgprocessor.Classification)
- func (fake *ChannelSupport) ClassifyMsgReturnsOnCall(i int, result1 msgprocessor.Classification)
- func (fake *ChannelSupport) Configure(arg1 *common.Envelope, arg2 uint64) error
- func (fake *ChannelSupport) ConfigureArgsForCall(i int) (*common.Envelope, uint64)
- func (fake *ChannelSupport) ConfigureCallCount() int
- func (fake *ChannelSupport) ConfigureCalls(stub func(*common.Envelope, uint64) error)
- func (fake *ChannelSupport) ConfigureReturns(result1 error)
- func (fake *ChannelSupport) ConfigureReturnsOnCall(i int, result1 error)
- func (fake *ChannelSupport) Invocations() map[string][][]interface{}
- func (fake *ChannelSupport) Order(arg1 *common.Envelope, arg2 uint64) error
- func (fake *ChannelSupport) OrderArgsForCall(i int) (*common.Envelope, uint64)
- func (fake *ChannelSupport) OrderCallCount() int
- func (fake *ChannelSupport) OrderCalls(stub func(*common.Envelope, uint64) error)
- func (fake *ChannelSupport) OrderReturns(result1 error)
- func (fake *ChannelSupport) OrderReturnsOnCall(i int, result1 error)
- func (fake *ChannelSupport) ProcessConfigMsg(arg1 *common.Envelope) (*common.Envelope, uint64, error)
- func (fake *ChannelSupport) ProcessConfigMsgArgsForCall(i int) *common.Envelope
- func (fake *ChannelSupport) ProcessConfigMsgCallCount() int
- func (fake *ChannelSupport) ProcessConfigMsgCalls(stub func(*common.Envelope) (*common.Envelope, uint64, error))
- func (fake *ChannelSupport) ProcessConfigMsgReturns(result1 *common.Envelope, result2 uint64, result3 error)
- func (fake *ChannelSupport) ProcessConfigMsgReturnsOnCall(i int, result1 *common.Envelope, result2 uint64, result3 error)
- func (fake *ChannelSupport) ProcessConfigUpdateMsg(arg1 *common.Envelope) (*common.Envelope, uint64, error)
- func (fake *ChannelSupport) ProcessConfigUpdateMsgArgsForCall(i int) *common.Envelope
- func (fake *ChannelSupport) ProcessConfigUpdateMsgCallCount() int
- func (fake *ChannelSupport) ProcessConfigUpdateMsgCalls(stub func(*common.Envelope) (*common.Envelope, uint64, error))
- func (fake *ChannelSupport) ProcessConfigUpdateMsgReturns(result1 *common.Envelope, result2 uint64, result3 error)
- func (fake *ChannelSupport) ProcessConfigUpdateMsgReturnsOnCall(i int, result1 *common.Envelope, result2 uint64, result3 error)
- func (fake *ChannelSupport) ProcessNormalMsg(arg1 *common.Envelope) (uint64, error)
- func (fake *ChannelSupport) ProcessNormalMsgArgsForCall(i int) *common.Envelope
- func (fake *ChannelSupport) ProcessNormalMsgCallCount() int
- func (fake *ChannelSupport) ProcessNormalMsgCalls(stub func(*common.Envelope) (uint64, error))
- func (fake *ChannelSupport) ProcessNormalMsgReturns(result1 uint64, result2 error)
- func (fake *ChannelSupport) ProcessNormalMsgReturnsOnCall(i int, result1 uint64, result2 error)
- func (fake *ChannelSupport) WaitReady() error
- func (fake *ChannelSupport) WaitReadyCallCount() int
- func (fake *ChannelSupport) WaitReadyCalls(stub func() error)
- func (fake *ChannelSupport) WaitReadyReturns(result1 error)
- func (fake *ChannelSupport) WaitReadyReturnsOnCall(i int, result1 error)
- type ChannelSupportRegistrar
- func (fake *ChannelSupportRegistrar) BroadcastChannelSupport(arg1 *common.Envelope) (*common.ChannelHeader, bool, broadcast.ChannelSupport, error)
- func (fake *ChannelSupportRegistrar) BroadcastChannelSupportArgsForCall(i int) *common.Envelope
- func (fake *ChannelSupportRegistrar) BroadcastChannelSupportCallCount() int
- func (fake *ChannelSupportRegistrar) BroadcastChannelSupportCalls(...)
- func (fake *ChannelSupportRegistrar) BroadcastChannelSupportReturns(result1 *common.ChannelHeader, result2 bool, result3 broadcast.ChannelSupport, ...)
- func (fake *ChannelSupportRegistrar) BroadcastChannelSupportReturnsOnCall(i int, result1 *common.ChannelHeader, result2 bool, ...)
- func (fake *ChannelSupportRegistrar) Invocations() map[string][][]interface{}
- type MetricsCounter
- func (fake *MetricsCounter) Add(arg1 float64)
- func (fake *MetricsCounter) AddArgsForCall(i int) float64
- func (fake *MetricsCounter) AddCallCount() int
- func (fake *MetricsCounter) AddCalls(stub func(float64))
- func (fake *MetricsCounter) Invocations() map[string][][]interface{}
- func (fake *MetricsCounter) With(arg1 ...string) metrics.Counter
- func (fake *MetricsCounter) WithArgsForCall(i int) []string
- func (fake *MetricsCounter) WithCallCount() int
- func (fake *MetricsCounter) WithCalls(stub func(...string) metrics.Counter)
- func (fake *MetricsCounter) WithReturns(result1 metrics.Counter)
- func (fake *MetricsCounter) WithReturnsOnCall(i int, result1 metrics.Counter)
- type MetricsHistogram
- func (fake *MetricsHistogram) Invocations() map[string][][]interface{}
- func (fake *MetricsHistogram) Observe(arg1 float64)
- func (fake *MetricsHistogram) ObserveArgsForCall(i int) float64
- func (fake *MetricsHistogram) ObserveCallCount() int
- func (fake *MetricsHistogram) ObserveCalls(stub func(float64))
- func (fake *MetricsHistogram) With(arg1 ...string) metrics.Histogram
- func (fake *MetricsHistogram) WithArgsForCall(i int) []string
- func (fake *MetricsHistogram) WithCallCount() int
- func (fake *MetricsHistogram) WithCalls(stub func(...string) metrics.Histogram)
- func (fake *MetricsHistogram) WithReturns(result1 metrics.Histogram)
- func (fake *MetricsHistogram) WithReturnsOnCall(i int, result1 metrics.Histogram)
- type MetricsProvider
- func (fake *MetricsProvider) Invocations() map[string][][]interface{}
- func (fake *MetricsProvider) NewCounter(arg1 metrics.CounterOpts) metrics.Counter
- func (fake *MetricsProvider) NewCounterArgsForCall(i int) metrics.CounterOpts
- func (fake *MetricsProvider) NewCounterCallCount() int
- func (fake *MetricsProvider) NewCounterCalls(stub func(metrics.CounterOpts) metrics.Counter)
- func (fake *MetricsProvider) NewCounterReturns(result1 metrics.Counter)
- func (fake *MetricsProvider) NewCounterReturnsOnCall(i int, result1 metrics.Counter)
- func (fake *MetricsProvider) NewGauge(arg1 metrics.GaugeOpts) metrics.Gauge
- func (fake *MetricsProvider) NewGaugeArgsForCall(i int) metrics.GaugeOpts
- func (fake *MetricsProvider) NewGaugeCallCount() int
- func (fake *MetricsProvider) NewGaugeCalls(stub func(metrics.GaugeOpts) metrics.Gauge)
- func (fake *MetricsProvider) NewGaugeReturns(result1 metrics.Gauge)
- func (fake *MetricsProvider) NewGaugeReturnsOnCall(i int, result1 metrics.Gauge)
- func (fake *MetricsProvider) NewHistogram(arg1 metrics.HistogramOpts) metrics.Histogram
- func (fake *MetricsProvider) NewHistogramArgsForCall(i int) metrics.HistogramOpts
- func (fake *MetricsProvider) NewHistogramCallCount() int
- func (fake *MetricsProvider) NewHistogramCalls(stub func(metrics.HistogramOpts) metrics.Histogram)
- func (fake *MetricsProvider) NewHistogramReturns(result1 metrics.Histogram)
- func (fake *MetricsProvider) NewHistogramReturnsOnCall(i int, result1 metrics.Histogram)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ABServer ¶
type ABServer struct { ContextStub func() context.Context RecvStub func() (*common.Envelope, error) RecvMsgStub func(interface{}) error SendStub func(*orderer.BroadcastResponse) error SendHeaderStub func(metadata.MD) error SendMsgStub func(interface{}) error SetHeaderStub func(metadata.MD) error SetTrailerStub func(metadata.MD) // contains filtered or unexported fields }
func (*ABServer) ContextCallCount ¶
func (*ABServer) ContextCalls ¶
func (*ABServer) ContextReturns ¶
func (*ABServer) ContextReturnsOnCall ¶
func (*ABServer) Invocations ¶
func (*ABServer) RecvCallCount ¶
func (*ABServer) RecvMsgArgsForCall ¶
func (*ABServer) RecvMsgCallCount ¶
func (*ABServer) RecvMsgCalls ¶
func (*ABServer) RecvMsgReturns ¶
func (*ABServer) RecvMsgReturnsOnCall ¶
func (*ABServer) RecvReturns ¶
func (*ABServer) RecvReturnsOnCall ¶
func (*ABServer) SendArgsForCall ¶
func (fake *ABServer) SendArgsForCall(i int) *orderer.BroadcastResponse
func (*ABServer) SendCallCount ¶
func (*ABServer) SendCalls ¶
func (fake *ABServer) SendCalls(stub func(*orderer.BroadcastResponse) error)
func (*ABServer) SendHeaderArgsForCall ¶
func (*ABServer) SendHeaderCallCount ¶
func (*ABServer) SendHeaderCalls ¶
func (*ABServer) SendHeaderReturns ¶
func (*ABServer) SendHeaderReturnsOnCall ¶
func (*ABServer) SendMsgArgsForCall ¶
func (*ABServer) SendMsgCallCount ¶
func (*ABServer) SendMsgCalls ¶
func (*ABServer) SendMsgReturns ¶
func (*ABServer) SendMsgReturnsOnCall ¶
func (*ABServer) SendReturns ¶
func (*ABServer) SendReturnsOnCall ¶
func (*ABServer) SetHeaderArgsForCall ¶
func (*ABServer) SetHeaderCallCount ¶
func (*ABServer) SetHeaderCalls ¶
func (*ABServer) SetHeaderReturns ¶
func (*ABServer) SetHeaderReturnsOnCall ¶
func (*ABServer) SetTrailer ¶
func (*ABServer) SetTrailerArgsForCall ¶
func (*ABServer) SetTrailerCallCount ¶
func (*ABServer) SetTrailerCalls ¶
type ChannelSupport ¶
type ChannelSupport struct { ClassifyMsgStub func(*common.ChannelHeader) msgprocessor.Classification ConfigureStub func(*common.Envelope, uint64) error OrderStub func(*common.Envelope, uint64) error ProcessConfigMsgStub func(*common.Envelope) (*common.Envelope, uint64, error) ProcessConfigUpdateMsgStub func(*common.Envelope) (*common.Envelope, uint64, error) ProcessNormalMsgStub func(*common.Envelope) (uint64, error) WaitReadyStub func() error // contains filtered or unexported fields }
func (*ChannelSupport) ClassifyMsg ¶
func (fake *ChannelSupport) ClassifyMsg(arg1 *common.ChannelHeader) msgprocessor.Classification
func (*ChannelSupport) ClassifyMsgArgsForCall ¶
func (fake *ChannelSupport) ClassifyMsgArgsForCall(i int) *common.ChannelHeader
func (*ChannelSupport) ClassifyMsgCallCount ¶
func (fake *ChannelSupport) ClassifyMsgCallCount() int
func (*ChannelSupport) ClassifyMsgCalls ¶ added in v1.4.1
func (fake *ChannelSupport) ClassifyMsgCalls(stub func(*common.ChannelHeader) msgprocessor.Classification)
func (*ChannelSupport) ClassifyMsgReturns ¶
func (fake *ChannelSupport) ClassifyMsgReturns(result1 msgprocessor.Classification)
func (*ChannelSupport) ClassifyMsgReturnsOnCall ¶
func (fake *ChannelSupport) ClassifyMsgReturnsOnCall(i int, result1 msgprocessor.Classification)
func (*ChannelSupport) Configure ¶
func (fake *ChannelSupport) Configure(arg1 *common.Envelope, arg2 uint64) error
func (*ChannelSupport) ConfigureArgsForCall ¶
func (fake *ChannelSupport) ConfigureArgsForCall(i int) (*common.Envelope, uint64)
func (*ChannelSupport) ConfigureCallCount ¶
func (fake *ChannelSupport) ConfigureCallCount() int
func (*ChannelSupport) ConfigureCalls ¶ added in v1.4.1
func (fake *ChannelSupport) ConfigureCalls(stub func(*common.Envelope, uint64) error)
func (*ChannelSupport) ConfigureReturns ¶
func (fake *ChannelSupport) ConfigureReturns(result1 error)
func (*ChannelSupport) ConfigureReturnsOnCall ¶
func (fake *ChannelSupport) ConfigureReturnsOnCall(i int, result1 error)
func (*ChannelSupport) Invocations ¶
func (fake *ChannelSupport) Invocations() map[string][][]interface{}
func (*ChannelSupport) Order ¶
func (fake *ChannelSupport) Order(arg1 *common.Envelope, arg2 uint64) error
func (*ChannelSupport) OrderArgsForCall ¶
func (fake *ChannelSupport) OrderArgsForCall(i int) (*common.Envelope, uint64)
func (*ChannelSupport) OrderCallCount ¶
func (fake *ChannelSupport) OrderCallCount() int
func (*ChannelSupport) OrderCalls ¶ added in v1.4.1
func (fake *ChannelSupport) OrderCalls(stub func(*common.Envelope, uint64) error)
func (*ChannelSupport) OrderReturns ¶
func (fake *ChannelSupport) OrderReturns(result1 error)
func (*ChannelSupport) OrderReturnsOnCall ¶
func (fake *ChannelSupport) OrderReturnsOnCall(i int, result1 error)
func (*ChannelSupport) ProcessConfigMsg ¶
func (*ChannelSupport) ProcessConfigMsgArgsForCall ¶
func (fake *ChannelSupport) ProcessConfigMsgArgsForCall(i int) *common.Envelope
func (*ChannelSupport) ProcessConfigMsgCallCount ¶
func (fake *ChannelSupport) ProcessConfigMsgCallCount() int
func (*ChannelSupport) ProcessConfigMsgCalls ¶ added in v1.4.1
func (*ChannelSupport) ProcessConfigMsgReturns ¶
func (fake *ChannelSupport) ProcessConfigMsgReturns(result1 *common.Envelope, result2 uint64, result3 error)
func (*ChannelSupport) ProcessConfigMsgReturnsOnCall ¶
func (*ChannelSupport) ProcessConfigUpdateMsg ¶
func (*ChannelSupport) ProcessConfigUpdateMsgArgsForCall ¶
func (fake *ChannelSupport) ProcessConfigUpdateMsgArgsForCall(i int) *common.Envelope
func (*ChannelSupport) ProcessConfigUpdateMsgCallCount ¶
func (fake *ChannelSupport) ProcessConfigUpdateMsgCallCount() int
func (*ChannelSupport) ProcessConfigUpdateMsgCalls ¶ added in v1.4.1
func (*ChannelSupport) ProcessConfigUpdateMsgReturns ¶
func (fake *ChannelSupport) ProcessConfigUpdateMsgReturns(result1 *common.Envelope, result2 uint64, result3 error)
func (*ChannelSupport) ProcessConfigUpdateMsgReturnsOnCall ¶
func (*ChannelSupport) ProcessNormalMsg ¶
func (fake *ChannelSupport) ProcessNormalMsg(arg1 *common.Envelope) (uint64, error)
func (*ChannelSupport) ProcessNormalMsgArgsForCall ¶
func (fake *ChannelSupport) ProcessNormalMsgArgsForCall(i int) *common.Envelope
func (*ChannelSupport) ProcessNormalMsgCallCount ¶
func (fake *ChannelSupport) ProcessNormalMsgCallCount() int
func (*ChannelSupport) ProcessNormalMsgCalls ¶ added in v1.4.1
func (fake *ChannelSupport) ProcessNormalMsgCalls(stub func(*common.Envelope) (uint64, error))
func (*ChannelSupport) ProcessNormalMsgReturns ¶
func (fake *ChannelSupport) ProcessNormalMsgReturns(result1 uint64, result2 error)
func (*ChannelSupport) ProcessNormalMsgReturnsOnCall ¶
func (fake *ChannelSupport) ProcessNormalMsgReturnsOnCall(i int, result1 uint64, result2 error)
func (*ChannelSupport) WaitReady ¶
func (fake *ChannelSupport) WaitReady() error
func (*ChannelSupport) WaitReadyCallCount ¶
func (fake *ChannelSupport) WaitReadyCallCount() int
func (*ChannelSupport) WaitReadyCalls ¶ added in v1.4.1
func (fake *ChannelSupport) WaitReadyCalls(stub func() error)
func (*ChannelSupport) WaitReadyReturns ¶
func (fake *ChannelSupport) WaitReadyReturns(result1 error)
func (*ChannelSupport) WaitReadyReturnsOnCall ¶
func (fake *ChannelSupport) WaitReadyReturnsOnCall(i int, result1 error)
type ChannelSupportRegistrar ¶
type ChannelSupportRegistrar struct { BroadcastChannelSupportStub func(*common.Envelope) (*common.ChannelHeader, bool, broadcast.ChannelSupport, error) // contains filtered or unexported fields }
func (*ChannelSupportRegistrar) BroadcastChannelSupport ¶
func (fake *ChannelSupportRegistrar) BroadcastChannelSupport(arg1 *common.Envelope) (*common.ChannelHeader, bool, broadcast.ChannelSupport, error)
func (*ChannelSupportRegistrar) BroadcastChannelSupportArgsForCall ¶
func (fake *ChannelSupportRegistrar) BroadcastChannelSupportArgsForCall(i int) *common.Envelope
func (*ChannelSupportRegistrar) BroadcastChannelSupportCallCount ¶
func (fake *ChannelSupportRegistrar) BroadcastChannelSupportCallCount() int
func (*ChannelSupportRegistrar) BroadcastChannelSupportCalls ¶ added in v1.4.1
func (fake *ChannelSupportRegistrar) BroadcastChannelSupportCalls(stub func(*common.Envelope) (*common.ChannelHeader, bool, broadcast.ChannelSupport, error))
func (*ChannelSupportRegistrar) BroadcastChannelSupportReturns ¶
func (fake *ChannelSupportRegistrar) BroadcastChannelSupportReturns(result1 *common.ChannelHeader, result2 bool, result3 broadcast.ChannelSupport, result4 error)
func (*ChannelSupportRegistrar) BroadcastChannelSupportReturnsOnCall ¶
func (fake *ChannelSupportRegistrar) BroadcastChannelSupportReturnsOnCall(i int, result1 *common.ChannelHeader, result2 bool, result3 broadcast.ChannelSupport, result4 error)
func (*ChannelSupportRegistrar) Invocations ¶
func (fake *ChannelSupportRegistrar) Invocations() map[string][][]interface{}
type MetricsCounter ¶
type MetricsCounter struct { AddStub func(float64) WithStub func(...string) metrics.Counter // contains filtered or unexported fields }
func (*MetricsCounter) Add ¶
func (fake *MetricsCounter) Add(arg1 float64)
func (*MetricsCounter) AddArgsForCall ¶
func (fake *MetricsCounter) AddArgsForCall(i int) float64
func (*MetricsCounter) AddCallCount ¶
func (fake *MetricsCounter) AddCallCount() int
func (*MetricsCounter) AddCalls ¶
func (fake *MetricsCounter) AddCalls(stub func(float64))
func (*MetricsCounter) Invocations ¶
func (fake *MetricsCounter) Invocations() map[string][][]interface{}
func (*MetricsCounter) WithArgsForCall ¶
func (fake *MetricsCounter) WithArgsForCall(i int) []string
func (*MetricsCounter) WithCallCount ¶
func (fake *MetricsCounter) WithCallCount() int
func (*MetricsCounter) WithCalls ¶
func (fake *MetricsCounter) WithCalls(stub func(...string) metrics.Counter)
func (*MetricsCounter) WithReturns ¶
func (fake *MetricsCounter) WithReturns(result1 metrics.Counter)
func (*MetricsCounter) WithReturnsOnCall ¶
func (fake *MetricsCounter) WithReturnsOnCall(i int, result1 metrics.Counter)
type MetricsHistogram ¶
type MetricsHistogram struct { ObserveStub func(float64) WithStub func(...string) metrics.Histogram // contains filtered or unexported fields }
func (*MetricsHistogram) Invocations ¶
func (fake *MetricsHistogram) Invocations() map[string][][]interface{}
func (*MetricsHistogram) Observe ¶
func (fake *MetricsHistogram) Observe(arg1 float64)
func (*MetricsHistogram) ObserveArgsForCall ¶
func (fake *MetricsHistogram) ObserveArgsForCall(i int) float64
func (*MetricsHistogram) ObserveCallCount ¶
func (fake *MetricsHistogram) ObserveCallCount() int
func (*MetricsHistogram) ObserveCalls ¶
func (fake *MetricsHistogram) ObserveCalls(stub func(float64))
func (*MetricsHistogram) With ¶
func (fake *MetricsHistogram) With(arg1 ...string) metrics.Histogram
func (*MetricsHistogram) WithArgsForCall ¶
func (fake *MetricsHistogram) WithArgsForCall(i int) []string
func (*MetricsHistogram) WithCallCount ¶
func (fake *MetricsHistogram) WithCallCount() int
func (*MetricsHistogram) WithCalls ¶
func (fake *MetricsHistogram) WithCalls(stub func(...string) metrics.Histogram)
func (*MetricsHistogram) WithReturns ¶
func (fake *MetricsHistogram) WithReturns(result1 metrics.Histogram)
func (*MetricsHistogram) WithReturnsOnCall ¶
func (fake *MetricsHistogram) WithReturnsOnCall(i int, result1 metrics.Histogram)
type MetricsProvider ¶
type MetricsProvider 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 (*MetricsProvider) Invocations ¶
func (fake *MetricsProvider) Invocations() map[string][][]interface{}
func (*MetricsProvider) NewCounter ¶
func (fake *MetricsProvider) NewCounter(arg1 metrics.CounterOpts) metrics.Counter
func (*MetricsProvider) NewCounterArgsForCall ¶
func (fake *MetricsProvider) NewCounterArgsForCall(i int) metrics.CounterOpts
func (*MetricsProvider) NewCounterCallCount ¶
func (fake *MetricsProvider) NewCounterCallCount() int
func (*MetricsProvider) NewCounterCalls ¶
func (fake *MetricsProvider) NewCounterCalls(stub func(metrics.CounterOpts) metrics.Counter)
func (*MetricsProvider) NewCounterReturns ¶
func (fake *MetricsProvider) NewCounterReturns(result1 metrics.Counter)
func (*MetricsProvider) NewCounterReturnsOnCall ¶
func (fake *MetricsProvider) NewCounterReturnsOnCall(i int, result1 metrics.Counter)
func (*MetricsProvider) NewGauge ¶
func (fake *MetricsProvider) NewGauge(arg1 metrics.GaugeOpts) metrics.Gauge
func (*MetricsProvider) NewGaugeArgsForCall ¶
func (fake *MetricsProvider) NewGaugeArgsForCall(i int) metrics.GaugeOpts
func (*MetricsProvider) NewGaugeCallCount ¶
func (fake *MetricsProvider) NewGaugeCallCount() int
func (*MetricsProvider) NewGaugeCalls ¶
func (fake *MetricsProvider) NewGaugeCalls(stub func(metrics.GaugeOpts) metrics.Gauge)
func (*MetricsProvider) NewGaugeReturns ¶
func (fake *MetricsProvider) NewGaugeReturns(result1 metrics.Gauge)
func (*MetricsProvider) NewGaugeReturnsOnCall ¶
func (fake *MetricsProvider) NewGaugeReturnsOnCall(i int, result1 metrics.Gauge)
func (*MetricsProvider) NewHistogram ¶
func (fake *MetricsProvider) NewHistogram(arg1 metrics.HistogramOpts) metrics.Histogram
func (*MetricsProvider) NewHistogramArgsForCall ¶
func (fake *MetricsProvider) NewHistogramArgsForCall(i int) metrics.HistogramOpts
func (*MetricsProvider) NewHistogramCallCount ¶
func (fake *MetricsProvider) NewHistogramCallCount() int
func (*MetricsProvider) NewHistogramCalls ¶
func (fake *MetricsProvider) NewHistogramCalls(stub func(metrics.HistogramOpts) metrics.Histogram)
func (*MetricsProvider) NewHistogramReturns ¶
func (fake *MetricsProvider) NewHistogramReturns(result1 metrics.Histogram)
func (*MetricsProvider) NewHistogramReturnsOnCall ¶
func (fake *MetricsProvider) NewHistogramReturnsOnCall(i int, result1 metrics.Histogram)
Click to show internal directories.
Click to hide internal directories.