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) 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) RecvMsg(m interface{}) error
- func (fake *ABServer) RecvMsgArgsForCall(i int) interface{}
- func (fake *ABServer) RecvMsgCallCount() int
- 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) SendHeader(arg1 metadata.MD) error
- func (fake *ABServer) SendHeaderArgsForCall(i int) metadata.MD
- func (fake *ABServer) SendHeaderCallCount() int
- func (fake *ABServer) SendHeaderReturns(result1 error)
- func (fake *ABServer) SendHeaderReturnsOnCall(i int, result1 error)
- func (fake *ABServer) SendMsg(m interface{}) error
- func (fake *ABServer) SendMsgArgsForCall(i int) interface{}
- func (fake *ABServer) SendMsgCallCount() int
- 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) 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
- 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) ConsensusMigrationPending() bool
- func (fake *ChannelSupportRegistrar) ConsensusMigrationPendingCallCount() int
- func (fake *ChannelSupportRegistrar) ConsensusMigrationPendingCalls(stub func() bool)
- func (fake *ChannelSupportRegistrar) ConsensusMigrationPendingReturns(result1 bool)
- func (fake *ChannelSupportRegistrar) ConsensusMigrationPendingReturnsOnCall(i int, result1 bool)
- func (fake *ChannelSupportRegistrar) Invocations() map[string][][]interface{}
- type MetricsCounter
- func (fake *MetricsCounter) Add(delta float64)
- func (fake *MetricsCounter) AddArgsForCall(i int) float64
- func (fake *MetricsCounter) AddCallCount() int
- func (fake *MetricsCounter) Invocations() map[string][][]interface{}
- func (fake *MetricsCounter) With(labelValues ...string) metrics.Counter
- func (fake *MetricsCounter) WithArgsForCall(i int) []string
- func (fake *MetricsCounter) WithCallCount() int
- 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(value float64)
- func (fake *MetricsHistogram) ObserveArgsForCall(i int) float64
- func (fake *MetricsHistogram) ObserveCallCount() int
- func (fake *MetricsHistogram) With(labelValues ...string) metrics.Histogram
- func (fake *MetricsHistogram) WithArgsForCall(i int) []string
- func (fake *MetricsHistogram) WithCallCount() int
- 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) 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) 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) 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 { SendStub func(*orderer.BroadcastResponse) error RecvStub func() (*common.Envelope, error) SetHeaderStub func(metadata.MD) error SendHeaderStub func(metadata.MD) error SetTrailerStub func(metadata.MD) ContextStub func() context.Context SendMsgStub func(m interface{}) error RecvMsgStub func(m interface{}) error // contains filtered or unexported fields }
func (*ABServer) ContextReturnsOnCall ¶
func (*ABServer) RecvMsgReturnsOnCall ¶
func (*ABServer) RecvReturns ¶
func (*ABServer) RecvReturnsOnCall ¶
func (*ABServer) Send ¶
func (fake *ABServer) Send(arg1 *orderer.BroadcastResponse) error
func (*ABServer) SendArgsForCall ¶
func (fake *ABServer) SendArgsForCall(i int) *orderer.BroadcastResponse
func (*ABServer) SendHeaderArgsForCall ¶
func (*ABServer) SendHeaderReturnsOnCall ¶
func (*ABServer) SendMsgReturnsOnCall ¶
func (*ABServer) SetHeaderArgsForCall ¶
func (*ABServer) SetHeaderReturnsOnCall ¶
func (*ABServer) SetTrailerArgsForCall ¶
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) ConsensusMigrationPendingStub func() bool // 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) ConsensusMigrationPending ¶ added in v1.4.1
func (fake *ChannelSupportRegistrar) ConsensusMigrationPending() bool
func (*ChannelSupportRegistrar) ConsensusMigrationPendingCallCount ¶ added in v1.4.1
func (fake *ChannelSupportRegistrar) ConsensusMigrationPendingCallCount() int
func (*ChannelSupportRegistrar) ConsensusMigrationPendingCalls ¶ added in v1.4.1
func (fake *ChannelSupportRegistrar) ConsensusMigrationPendingCalls(stub func() bool)
func (*ChannelSupportRegistrar) ConsensusMigrationPendingReturns ¶ added in v1.4.1
func (fake *ChannelSupportRegistrar) ConsensusMigrationPendingReturns(result1 bool)
func (*ChannelSupportRegistrar) ConsensusMigrationPendingReturnsOnCall ¶ added in v1.4.1
func (fake *ChannelSupportRegistrar) ConsensusMigrationPendingReturnsOnCall(i int, result1 bool)
func (*ChannelSupportRegistrar) Invocations ¶
func (fake *ChannelSupportRegistrar) Invocations() map[string][][]interface{}
type MetricsCounter ¶
type MetricsCounter struct { WithStub func(labelValues ...string) metrics.Counter AddStub func(delta float64) // contains filtered or unexported fields }
func (*MetricsCounter) Add ¶
func (fake *MetricsCounter) Add(delta float64)
func (*MetricsCounter) AddArgsForCall ¶
func (fake *MetricsCounter) AddArgsForCall(i int) float64
func (*MetricsCounter) AddCallCount ¶
func (fake *MetricsCounter) AddCallCount() int
func (*MetricsCounter) Invocations ¶
func (fake *MetricsCounter) Invocations() map[string][][]interface{}
func (*MetricsCounter) With ¶
func (fake *MetricsCounter) With(labelValues ...string) metrics.Counter
func (*MetricsCounter) WithArgsForCall ¶
func (fake *MetricsCounter) WithArgsForCall(i int) []string
func (*MetricsCounter) WithCallCount ¶
func (fake *MetricsCounter) WithCallCount() int
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 { WithStub func(labelValues ...string) metrics.Histogram ObserveStub func(value float64) // contains filtered or unexported fields }
func (*MetricsHistogram) Invocations ¶
func (fake *MetricsHistogram) Invocations() map[string][][]interface{}
func (*MetricsHistogram) Observe ¶
func (fake *MetricsHistogram) Observe(value float64)
func (*MetricsHistogram) ObserveArgsForCall ¶
func (fake *MetricsHistogram) ObserveArgsForCall(i int) float64
func (*MetricsHistogram) ObserveCallCount ¶
func (fake *MetricsHistogram) ObserveCallCount() int
func (*MetricsHistogram) With ¶
func (fake *MetricsHistogram) With(labelValues ...string) metrics.Histogram
func (*MetricsHistogram) WithArgsForCall ¶
func (fake *MetricsHistogram) WithArgsForCall(i int) []string
func (*MetricsHistogram) WithCallCount ¶
func (fake *MetricsHistogram) WithCallCount() int
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) 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) 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) 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.