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.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type HealthChecker
- func (fake *HealthChecker) Invocations() map[string][][]interface{}
- func (fake *HealthChecker) RegisterChecker(arg1 string, arg2 healthz.HealthChecker) error
- func (fake *HealthChecker) RegisterCheckerArgsForCall(i int) (string, healthz.HealthChecker)
- func (fake *HealthChecker) RegisterCheckerCallCount() int
- func (fake *HealthChecker) RegisterCheckerCalls(stub func(string, healthz.HealthChecker) error)
- func (fake *HealthChecker) RegisterCheckerReturns(result1 error)
- func (fake *HealthChecker) RegisterCheckerReturnsOnCall(i int, result1 error)
- type MetricsGauge
- func (fake *MetricsGauge) Add(arg1 float64)
- func (fake *MetricsGauge) AddArgsForCall(i int) float64
- func (fake *MetricsGauge) AddCallCount() int
- func (fake *MetricsGauge) AddCalls(stub func(float64))
- func (fake *MetricsGauge) Invocations() map[string][][]interface{}
- func (fake *MetricsGauge) Set(arg1 float64)
- func (fake *MetricsGauge) SetArgsForCall(i int) float64
- func (fake *MetricsGauge) SetCallCount() int
- func (fake *MetricsGauge) SetCalls(stub func(float64))
- func (fake *MetricsGauge) With(arg1 ...string) metrics.Gauge
- func (fake *MetricsGauge) WithArgsForCall(i int) []string
- func (fake *MetricsGauge) WithCallCount() int
- func (fake *MetricsGauge) WithCalls(stub func(...string) metrics.Gauge)
- func (fake *MetricsGauge) WithReturns(result1 metrics.Gauge)
- func (fake *MetricsGauge) WithReturnsOnCall(i int, result1 metrics.Gauge)
- type MetricsHistogram
- func (fake *MetricsHistogram) Clear()
- func (fake *MetricsHistogram) ClearCallCount() int
- func (fake *MetricsHistogram) ClearCalls(stub func())
- func (fake *MetricsHistogram) Count() int64
- func (fake *MetricsHistogram) CountCallCount() int
- func (fake *MetricsHistogram) CountCalls(stub func() int64)
- func (fake *MetricsHistogram) CountReturns(result1 int64)
- func (fake *MetricsHistogram) CountReturnsOnCall(i int, result1 int64)
- func (fake *MetricsHistogram) Invocations() map[string][][]interface{}
- func (fake *MetricsHistogram) Max() int64
- func (fake *MetricsHistogram) MaxCallCount() int
- func (fake *MetricsHistogram) MaxCalls(stub func() int64)
- func (fake *MetricsHistogram) MaxReturns(result1 int64)
- func (fake *MetricsHistogram) MaxReturnsOnCall(i int, result1 int64)
- func (fake *MetricsHistogram) Mean() float64
- func (fake *MetricsHistogram) MeanCallCount() int
- func (fake *MetricsHistogram) MeanCalls(stub func() float64)
- func (fake *MetricsHistogram) MeanReturns(result1 float64)
- func (fake *MetricsHistogram) MeanReturnsOnCall(i int, result1 float64)
- func (fake *MetricsHistogram) Min() int64
- func (fake *MetricsHistogram) MinCallCount() int
- func (fake *MetricsHistogram) MinCalls(stub func() int64)
- func (fake *MetricsHistogram) MinReturns(result1 int64)
- func (fake *MetricsHistogram) MinReturnsOnCall(i int, result1 int64)
- func (fake *MetricsHistogram) Percentile(arg1 float64) float64
- func (fake *MetricsHistogram) PercentileArgsForCall(i int) float64
- func (fake *MetricsHistogram) PercentileCallCount() int
- func (fake *MetricsHistogram) PercentileCalls(stub func(float64) float64)
- func (fake *MetricsHistogram) PercentileReturns(result1 float64)
- func (fake *MetricsHistogram) PercentileReturnsOnCall(i int, result1 float64)
- func (fake *MetricsHistogram) Percentiles(arg1 []float64) []float64
- func (fake *MetricsHistogram) PercentilesArgsForCall(i int) []float64
- func (fake *MetricsHistogram) PercentilesCallCount() int
- func (fake *MetricsHistogram) PercentilesCalls(stub func([]float64) []float64)
- func (fake *MetricsHistogram) PercentilesReturns(result1 []float64)
- func (fake *MetricsHistogram) PercentilesReturnsOnCall(i int, result1 []float64)
- func (fake *MetricsHistogram) Sample() metrics.Sample
- func (fake *MetricsHistogram) SampleCallCount() int
- func (fake *MetricsHistogram) SampleCalls(stub func() metrics.Sample)
- func (fake *MetricsHistogram) SampleReturns(result1 metrics.Sample)
- func (fake *MetricsHistogram) SampleReturnsOnCall(i int, result1 metrics.Sample)
- func (fake *MetricsHistogram) Snapshot() metrics.Histogram
- func (fake *MetricsHistogram) SnapshotCallCount() int
- func (fake *MetricsHistogram) SnapshotCalls(stub func() metrics.Histogram)
- func (fake *MetricsHistogram) SnapshotReturns(result1 metrics.Histogram)
- func (fake *MetricsHistogram) SnapshotReturnsOnCall(i int, result1 metrics.Histogram)
- func (fake *MetricsHistogram) StdDev() float64
- func (fake *MetricsHistogram) StdDevCallCount() int
- func (fake *MetricsHistogram) StdDevCalls(stub func() float64)
- func (fake *MetricsHistogram) StdDevReturns(result1 float64)
- func (fake *MetricsHistogram) StdDevReturnsOnCall(i int, result1 float64)
- func (fake *MetricsHistogram) Sum() int64
- func (fake *MetricsHistogram) SumCallCount() int
- func (fake *MetricsHistogram) SumCalls(stub func() int64)
- func (fake *MetricsHistogram) SumReturns(result1 int64)
- func (fake *MetricsHistogram) SumReturnsOnCall(i int, result1 int64)
- func (fake *MetricsHistogram) Update(arg1 int64)
- func (fake *MetricsHistogram) UpdateArgsForCall(i int) int64
- func (fake *MetricsHistogram) UpdateCallCount() int
- func (fake *MetricsHistogram) UpdateCalls(stub func(int64))
- func (fake *MetricsHistogram) Variance() float64
- func (fake *MetricsHistogram) VarianceCallCount() int
- func (fake *MetricsHistogram) VarianceCalls(stub func() float64)
- func (fake *MetricsHistogram) VarianceReturns(result1 float64)
- func (fake *MetricsHistogram) VarianceReturnsOnCall(i int, result1 float64)
- type MetricsMeter
- func (fake *MetricsMeter) Count() int64
- func (fake *MetricsMeter) CountCallCount() int
- func (fake *MetricsMeter) CountCalls(stub func() int64)
- func (fake *MetricsMeter) CountReturns(result1 int64)
- func (fake *MetricsMeter) CountReturnsOnCall(i int, result1 int64)
- func (fake *MetricsMeter) Invocations() map[string][][]interface{}
- func (fake *MetricsMeter) Mark(arg1 int64)
- func (fake *MetricsMeter) MarkArgsForCall(i int) int64
- func (fake *MetricsMeter) MarkCallCount() int
- func (fake *MetricsMeter) MarkCalls(stub func(int64))
- func (fake *MetricsMeter) Rate1() float64
- func (fake *MetricsMeter) Rate15() float64
- func (fake *MetricsMeter) Rate15CallCount() int
- func (fake *MetricsMeter) Rate15Calls(stub func() float64)
- func (fake *MetricsMeter) Rate15Returns(result1 float64)
- func (fake *MetricsMeter) Rate15ReturnsOnCall(i int, result1 float64)
- func (fake *MetricsMeter) Rate1CallCount() int
- func (fake *MetricsMeter) Rate1Calls(stub func() float64)
- func (fake *MetricsMeter) Rate1Returns(result1 float64)
- func (fake *MetricsMeter) Rate1ReturnsOnCall(i int, result1 float64)
- func (fake *MetricsMeter) Rate5() float64
- func (fake *MetricsMeter) Rate5CallCount() int
- func (fake *MetricsMeter) Rate5Calls(stub func() float64)
- func (fake *MetricsMeter) Rate5Returns(result1 float64)
- func (fake *MetricsMeter) Rate5ReturnsOnCall(i int, result1 float64)
- func (fake *MetricsMeter) RateMean() float64
- func (fake *MetricsMeter) RateMeanCallCount() int
- func (fake *MetricsMeter) RateMeanCalls(stub func() float64)
- func (fake *MetricsMeter) RateMeanReturns(result1 float64)
- func (fake *MetricsMeter) RateMeanReturnsOnCall(i int, result1 float64)
- func (fake *MetricsMeter) Snapshot() metrics.Meter
- func (fake *MetricsMeter) SnapshotCallCount() int
- func (fake *MetricsMeter) SnapshotCalls(stub func() metrics.Meter)
- func (fake *MetricsMeter) SnapshotReturns(result1 metrics.Meter)
- func (fake *MetricsMeter) SnapshotReturnsOnCall(i int, result1 metrics.Meter)
- func (fake *MetricsMeter) Stop()
- func (fake *MetricsMeter) StopCallCount() int
- func (fake *MetricsMeter) StopCalls(stub func())
- 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)
- type MetricsRegistry
- func (fake *MetricsRegistry) Each(arg1 func(string, interface{}))
- func (fake *MetricsRegistry) EachArgsForCall(i int) func(string, interface{})
- func (fake *MetricsRegistry) EachCallCount() int
- func (fake *MetricsRegistry) EachCalls(stub func(func(string, interface{})))
- func (fake *MetricsRegistry) Get(arg1 string) interface{}
- func (fake *MetricsRegistry) GetAll() map[string]map[string]interface{}
- func (fake *MetricsRegistry) GetAllCallCount() int
- func (fake *MetricsRegistry) GetAllCalls(stub func() map[string]map[string]interface{})
- func (fake *MetricsRegistry) GetAllReturns(result1 map[string]map[string]interface{})
- func (fake *MetricsRegistry) GetAllReturnsOnCall(i int, result1 map[string]map[string]interface{})
- func (fake *MetricsRegistry) GetArgsForCall(i int) string
- func (fake *MetricsRegistry) GetCallCount() int
- func (fake *MetricsRegistry) GetCalls(stub func(string) interface{})
- func (fake *MetricsRegistry) GetOrRegister(arg1 string, arg2 interface{}) interface{}
- func (fake *MetricsRegistry) GetOrRegisterArgsForCall(i int) (string, interface{})
- func (fake *MetricsRegistry) GetOrRegisterCallCount() int
- func (fake *MetricsRegistry) GetOrRegisterCalls(stub func(string, interface{}) interface{})
- func (fake *MetricsRegistry) GetOrRegisterReturns(result1 interface{})
- func (fake *MetricsRegistry) GetOrRegisterReturnsOnCall(i int, result1 interface{})
- func (fake *MetricsRegistry) GetReturns(result1 interface{})
- func (fake *MetricsRegistry) GetReturnsOnCall(i int, result1 interface{})
- func (fake *MetricsRegistry) Invocations() map[string][][]interface{}
- func (fake *MetricsRegistry) Register(arg1 string, arg2 interface{}) error
- func (fake *MetricsRegistry) RegisterArgsForCall(i int) (string, interface{})
- func (fake *MetricsRegistry) RegisterCallCount() int
- func (fake *MetricsRegistry) RegisterCalls(stub func(string, interface{}) error)
- func (fake *MetricsRegistry) RegisterReturns(result1 error)
- func (fake *MetricsRegistry) RegisterReturnsOnCall(i int, result1 error)
- func (fake *MetricsRegistry) RunHealthchecks()
- func (fake *MetricsRegistry) RunHealthchecksCallCount() int
- func (fake *MetricsRegistry) RunHealthchecksCalls(stub func())
- func (fake *MetricsRegistry) Unregister(arg1 string)
- func (fake *MetricsRegistry) UnregisterAll()
- func (fake *MetricsRegistry) UnregisterAllCallCount() int
- func (fake *MetricsRegistry) UnregisterAllCalls(stub func())
- func (fake *MetricsRegistry) UnregisterArgsForCall(i int) string
- func (fake *MetricsRegistry) UnregisterCallCount() int
- func (fake *MetricsRegistry) UnregisterCalls(stub func(string))
- type SyncProducer
- func (fake *SyncProducer) Close() error
- func (fake *SyncProducer) CloseCallCount() int
- func (fake *SyncProducer) CloseCalls(stub func() error)
- func (fake *SyncProducer) CloseReturns(result1 error)
- func (fake *SyncProducer) CloseReturnsOnCall(i int, result1 error)
- func (fake *SyncProducer) Invocations() map[string][][]interface{}
- func (fake *SyncProducer) SendMessage(arg1 *sarama.ProducerMessage) (int32, int64, error)
- func (fake *SyncProducer) SendMessageArgsForCall(i int) *sarama.ProducerMessage
- func (fake *SyncProducer) SendMessageCallCount() int
- func (fake *SyncProducer) SendMessageCalls(stub func(*sarama.ProducerMessage) (int32, int64, error))
- func (fake *SyncProducer) SendMessageReturns(result1 int32, result2 int64, result3 error)
- func (fake *SyncProducer) SendMessageReturnsOnCall(i int, result1 int32, result2 int64, result3 error)
- func (fake *SyncProducer) SendMessages(arg1 []*sarama.ProducerMessage) error
- func (fake *SyncProducer) SendMessagesArgsForCall(i int) []*sarama.ProducerMessage
- func (fake *SyncProducer) SendMessagesCallCount() int
- func (fake *SyncProducer) SendMessagesCalls(stub func([]*sarama.ProducerMessage) error)
- func (fake *SyncProducer) SendMessagesReturns(result1 error)
- func (fake *SyncProducer) SendMessagesReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthChecker ¶
type HealthChecker struct { RegisterCheckerStub func(string, healthz.HealthChecker) error // contains filtered or unexported fields }
func (*HealthChecker) Invocations ¶
func (fake *HealthChecker) Invocations() map[string][][]interface{}
func (*HealthChecker) RegisterChecker ¶
func (fake *HealthChecker) RegisterChecker(arg1 string, arg2 healthz.HealthChecker) error
func (*HealthChecker) RegisterCheckerArgsForCall ¶
func (fake *HealthChecker) RegisterCheckerArgsForCall(i int) (string, healthz.HealthChecker)
func (*HealthChecker) RegisterCheckerCallCount ¶
func (fake *HealthChecker) RegisterCheckerCallCount() int
func (*HealthChecker) RegisterCheckerCalls ¶
func (fake *HealthChecker) RegisterCheckerCalls(stub func(string, healthz.HealthChecker) error)
func (*HealthChecker) RegisterCheckerReturns ¶
func (fake *HealthChecker) RegisterCheckerReturns(result1 error)
func (*HealthChecker) RegisterCheckerReturnsOnCall ¶
func (fake *HealthChecker) RegisterCheckerReturnsOnCall(i int, result1 error)
type MetricsGauge ¶
type MetricsGauge struct { AddStub func(float64) SetStub func(float64) WithStub func(...string) metrics.Gauge // contains filtered or unexported fields }
func (*MetricsGauge) Add ¶
func (fake *MetricsGauge) Add(arg1 float64)
func (*MetricsGauge) AddArgsForCall ¶
func (fake *MetricsGauge) AddArgsForCall(i int) float64
func (*MetricsGauge) AddCallCount ¶
func (fake *MetricsGauge) AddCallCount() int
func (*MetricsGauge) AddCalls ¶
func (fake *MetricsGauge) AddCalls(stub func(float64))
func (*MetricsGauge) Invocations ¶
func (fake *MetricsGauge) Invocations() map[string][][]interface{}
func (*MetricsGauge) Set ¶
func (fake *MetricsGauge) Set(arg1 float64)
func (*MetricsGauge) SetArgsForCall ¶
func (fake *MetricsGauge) SetArgsForCall(i int) float64
func (*MetricsGauge) SetCallCount ¶
func (fake *MetricsGauge) SetCallCount() int
func (*MetricsGauge) SetCalls ¶
func (fake *MetricsGauge) SetCalls(stub func(float64))
func (*MetricsGauge) WithArgsForCall ¶
func (fake *MetricsGauge) WithArgsForCall(i int) []string
func (*MetricsGauge) WithCallCount ¶
func (fake *MetricsGauge) WithCallCount() int
func (*MetricsGauge) WithCalls ¶
func (fake *MetricsGauge) WithCalls(stub func(...string) metrics.Gauge)
func (*MetricsGauge) WithReturns ¶
func (fake *MetricsGauge) WithReturns(result1 metrics.Gauge)
func (*MetricsGauge) WithReturnsOnCall ¶
func (fake *MetricsGauge) WithReturnsOnCall(i int, result1 metrics.Gauge)
type MetricsHistogram ¶
type MetricsHistogram struct { ClearStub func() CountStub func() int64 MaxStub func() int64 MeanStub func() float64 MinStub func() int64 PercentileStub func(float64) float64 PercentilesStub func([]float64) []float64 SampleStub func() metrics.Sample SnapshotStub func() metrics.Histogram StdDevStub func() float64 SumStub func() int64 UpdateStub func(int64) VarianceStub func() float64 // contains filtered or unexported fields }
func (*MetricsHistogram) Clear ¶
func (fake *MetricsHistogram) Clear()
func (*MetricsHistogram) ClearCallCount ¶
func (fake *MetricsHistogram) ClearCallCount() int
func (*MetricsHistogram) ClearCalls ¶
func (fake *MetricsHistogram) ClearCalls(stub func())
func (*MetricsHistogram) Count ¶
func (fake *MetricsHistogram) Count() int64
func (*MetricsHistogram) CountCallCount ¶
func (fake *MetricsHistogram) CountCallCount() int
func (*MetricsHistogram) CountCalls ¶
func (fake *MetricsHistogram) CountCalls(stub func() int64)
func (*MetricsHistogram) CountReturns ¶
func (fake *MetricsHistogram) CountReturns(result1 int64)
func (*MetricsHistogram) CountReturnsOnCall ¶
func (fake *MetricsHistogram) CountReturnsOnCall(i int, result1 int64)
func (*MetricsHistogram) Invocations ¶
func (fake *MetricsHistogram) Invocations() map[string][][]interface{}
func (*MetricsHistogram) Max ¶
func (fake *MetricsHistogram) Max() int64
func (*MetricsHistogram) MaxCallCount ¶
func (fake *MetricsHistogram) MaxCallCount() int
func (*MetricsHistogram) MaxCalls ¶
func (fake *MetricsHistogram) MaxCalls(stub func() int64)
func (*MetricsHistogram) MaxReturns ¶
func (fake *MetricsHistogram) MaxReturns(result1 int64)
func (*MetricsHistogram) MaxReturnsOnCall ¶
func (fake *MetricsHistogram) MaxReturnsOnCall(i int, result1 int64)
func (*MetricsHistogram) Mean ¶
func (fake *MetricsHistogram) Mean() float64
func (*MetricsHistogram) MeanCallCount ¶
func (fake *MetricsHistogram) MeanCallCount() int
func (*MetricsHistogram) MeanCalls ¶
func (fake *MetricsHistogram) MeanCalls(stub func() float64)
func (*MetricsHistogram) MeanReturns ¶
func (fake *MetricsHistogram) MeanReturns(result1 float64)
func (*MetricsHistogram) MeanReturnsOnCall ¶
func (fake *MetricsHistogram) MeanReturnsOnCall(i int, result1 float64)
func (*MetricsHistogram) Min ¶
func (fake *MetricsHistogram) Min() int64
func (*MetricsHistogram) MinCallCount ¶
func (fake *MetricsHistogram) MinCallCount() int
func (*MetricsHistogram) MinCalls ¶
func (fake *MetricsHistogram) MinCalls(stub func() int64)
func (*MetricsHistogram) MinReturns ¶
func (fake *MetricsHistogram) MinReturns(result1 int64)
func (*MetricsHistogram) MinReturnsOnCall ¶
func (fake *MetricsHistogram) MinReturnsOnCall(i int, result1 int64)
func (*MetricsHistogram) Percentile ¶
func (fake *MetricsHistogram) Percentile(arg1 float64) float64
func (*MetricsHistogram) PercentileArgsForCall ¶
func (fake *MetricsHistogram) PercentileArgsForCall(i int) float64
func (*MetricsHistogram) PercentileCallCount ¶
func (fake *MetricsHistogram) PercentileCallCount() int
func (*MetricsHistogram) PercentileCalls ¶
func (fake *MetricsHistogram) PercentileCalls(stub func(float64) float64)
func (*MetricsHistogram) PercentileReturns ¶
func (fake *MetricsHistogram) PercentileReturns(result1 float64)
func (*MetricsHistogram) PercentileReturnsOnCall ¶
func (fake *MetricsHistogram) PercentileReturnsOnCall(i int, result1 float64)
func (*MetricsHistogram) Percentiles ¶
func (fake *MetricsHistogram) Percentiles(arg1 []float64) []float64
func (*MetricsHistogram) PercentilesArgsForCall ¶
func (fake *MetricsHistogram) PercentilesArgsForCall(i int) []float64
func (*MetricsHistogram) PercentilesCallCount ¶
func (fake *MetricsHistogram) PercentilesCallCount() int
func (*MetricsHistogram) PercentilesCalls ¶
func (fake *MetricsHistogram) PercentilesCalls(stub func([]float64) []float64)
func (*MetricsHistogram) PercentilesReturns ¶
func (fake *MetricsHistogram) PercentilesReturns(result1 []float64)
func (*MetricsHistogram) PercentilesReturnsOnCall ¶
func (fake *MetricsHistogram) PercentilesReturnsOnCall(i int, result1 []float64)
func (*MetricsHistogram) Sample ¶
func (fake *MetricsHistogram) Sample() metrics.Sample
func (*MetricsHistogram) SampleCallCount ¶
func (fake *MetricsHistogram) SampleCallCount() int
func (*MetricsHistogram) SampleCalls ¶
func (fake *MetricsHistogram) SampleCalls(stub func() metrics.Sample)
func (*MetricsHistogram) SampleReturns ¶
func (fake *MetricsHistogram) SampleReturns(result1 metrics.Sample)
func (*MetricsHistogram) SampleReturnsOnCall ¶
func (fake *MetricsHistogram) SampleReturnsOnCall(i int, result1 metrics.Sample)
func (*MetricsHistogram) Snapshot ¶
func (fake *MetricsHistogram) Snapshot() metrics.Histogram
func (*MetricsHistogram) SnapshotCallCount ¶
func (fake *MetricsHistogram) SnapshotCallCount() int
func (*MetricsHistogram) SnapshotCalls ¶
func (fake *MetricsHistogram) SnapshotCalls(stub func() metrics.Histogram)
func (*MetricsHistogram) SnapshotReturns ¶
func (fake *MetricsHistogram) SnapshotReturns(result1 metrics.Histogram)
func (*MetricsHistogram) SnapshotReturnsOnCall ¶
func (fake *MetricsHistogram) SnapshotReturnsOnCall(i int, result1 metrics.Histogram)
func (*MetricsHistogram) StdDev ¶
func (fake *MetricsHistogram) StdDev() float64
func (*MetricsHistogram) StdDevCallCount ¶
func (fake *MetricsHistogram) StdDevCallCount() int
func (*MetricsHistogram) StdDevCalls ¶
func (fake *MetricsHistogram) StdDevCalls(stub func() float64)
func (*MetricsHistogram) StdDevReturns ¶
func (fake *MetricsHistogram) StdDevReturns(result1 float64)
func (*MetricsHistogram) StdDevReturnsOnCall ¶
func (fake *MetricsHistogram) StdDevReturnsOnCall(i int, result1 float64)
func (*MetricsHistogram) Sum ¶
func (fake *MetricsHistogram) Sum() int64
func (*MetricsHistogram) SumCallCount ¶
func (fake *MetricsHistogram) SumCallCount() int
func (*MetricsHistogram) SumCalls ¶
func (fake *MetricsHistogram) SumCalls(stub func() int64)
func (*MetricsHistogram) SumReturns ¶
func (fake *MetricsHistogram) SumReturns(result1 int64)
func (*MetricsHistogram) SumReturnsOnCall ¶
func (fake *MetricsHistogram) SumReturnsOnCall(i int, result1 int64)
func (*MetricsHistogram) Update ¶
func (fake *MetricsHistogram) Update(arg1 int64)
func (*MetricsHistogram) UpdateArgsForCall ¶
func (fake *MetricsHistogram) UpdateArgsForCall(i int) int64
func (*MetricsHistogram) UpdateCallCount ¶
func (fake *MetricsHistogram) UpdateCallCount() int
func (*MetricsHistogram) UpdateCalls ¶
func (fake *MetricsHistogram) UpdateCalls(stub func(int64))
func (*MetricsHistogram) Variance ¶
func (fake *MetricsHistogram) Variance() float64
func (*MetricsHistogram) VarianceCallCount ¶
func (fake *MetricsHistogram) VarianceCallCount() int
func (*MetricsHistogram) VarianceCalls ¶
func (fake *MetricsHistogram) VarianceCalls(stub func() float64)
func (*MetricsHistogram) VarianceReturns ¶
func (fake *MetricsHistogram) VarianceReturns(result1 float64)
func (*MetricsHistogram) VarianceReturnsOnCall ¶
func (fake *MetricsHistogram) VarianceReturnsOnCall(i int, result1 float64)
type MetricsMeter ¶
type MetricsMeter struct { CountStub func() int64 MarkStub func(int64) Rate1Stub func() float64 Rate15Stub func() float64 Rate5Stub func() float64 RateMeanStub func() float64 SnapshotStub func() metrics.Meter StopStub func() // contains filtered or unexported fields }
func (*MetricsMeter) Count ¶
func (fake *MetricsMeter) Count() int64
func (*MetricsMeter) CountCallCount ¶
func (fake *MetricsMeter) CountCallCount() int
func (*MetricsMeter) CountCalls ¶
func (fake *MetricsMeter) CountCalls(stub func() int64)
func (*MetricsMeter) CountReturns ¶
func (fake *MetricsMeter) CountReturns(result1 int64)
func (*MetricsMeter) CountReturnsOnCall ¶
func (fake *MetricsMeter) CountReturnsOnCall(i int, result1 int64)
func (*MetricsMeter) Invocations ¶
func (fake *MetricsMeter) Invocations() map[string][][]interface{}
func (*MetricsMeter) Mark ¶
func (fake *MetricsMeter) Mark(arg1 int64)
func (*MetricsMeter) MarkArgsForCall ¶
func (fake *MetricsMeter) MarkArgsForCall(i int) int64
func (*MetricsMeter) MarkCallCount ¶
func (fake *MetricsMeter) MarkCallCount() int
func (*MetricsMeter) MarkCalls ¶
func (fake *MetricsMeter) MarkCalls(stub func(int64))
func (*MetricsMeter) Rate1 ¶
func (fake *MetricsMeter) Rate1() float64
func (*MetricsMeter) Rate15 ¶
func (fake *MetricsMeter) Rate15() float64
func (*MetricsMeter) Rate15CallCount ¶
func (fake *MetricsMeter) Rate15CallCount() int
func (*MetricsMeter) Rate15Calls ¶
func (fake *MetricsMeter) Rate15Calls(stub func() float64)
func (*MetricsMeter) Rate15Returns ¶
func (fake *MetricsMeter) Rate15Returns(result1 float64)
func (*MetricsMeter) Rate15ReturnsOnCall ¶
func (fake *MetricsMeter) Rate15ReturnsOnCall(i int, result1 float64)
func (*MetricsMeter) Rate1CallCount ¶
func (fake *MetricsMeter) Rate1CallCount() int
func (*MetricsMeter) Rate1Calls ¶
func (fake *MetricsMeter) Rate1Calls(stub func() float64)
func (*MetricsMeter) Rate1Returns ¶
func (fake *MetricsMeter) Rate1Returns(result1 float64)
func (*MetricsMeter) Rate1ReturnsOnCall ¶
func (fake *MetricsMeter) Rate1ReturnsOnCall(i int, result1 float64)
func (*MetricsMeter) Rate5 ¶
func (fake *MetricsMeter) Rate5() float64
func (*MetricsMeter) Rate5CallCount ¶
func (fake *MetricsMeter) Rate5CallCount() int
func (*MetricsMeter) Rate5Calls ¶
func (fake *MetricsMeter) Rate5Calls(stub func() float64)
func (*MetricsMeter) Rate5Returns ¶
func (fake *MetricsMeter) Rate5Returns(result1 float64)
func (*MetricsMeter) Rate5ReturnsOnCall ¶
func (fake *MetricsMeter) Rate5ReturnsOnCall(i int, result1 float64)
func (*MetricsMeter) RateMean ¶
func (fake *MetricsMeter) RateMean() float64
func (*MetricsMeter) RateMeanCallCount ¶
func (fake *MetricsMeter) RateMeanCallCount() int
func (*MetricsMeter) RateMeanCalls ¶
func (fake *MetricsMeter) RateMeanCalls(stub func() float64)
func (*MetricsMeter) RateMeanReturns ¶
func (fake *MetricsMeter) RateMeanReturns(result1 float64)
func (*MetricsMeter) RateMeanReturnsOnCall ¶
func (fake *MetricsMeter) RateMeanReturnsOnCall(i int, result1 float64)
func (*MetricsMeter) Snapshot ¶
func (fake *MetricsMeter) Snapshot() metrics.Meter
func (*MetricsMeter) SnapshotCallCount ¶
func (fake *MetricsMeter) SnapshotCallCount() int
func (*MetricsMeter) SnapshotCalls ¶
func (fake *MetricsMeter) SnapshotCalls(stub func() metrics.Meter)
func (*MetricsMeter) SnapshotReturns ¶
func (fake *MetricsMeter) SnapshotReturns(result1 metrics.Meter)
func (*MetricsMeter) SnapshotReturnsOnCall ¶
func (fake *MetricsMeter) SnapshotReturnsOnCall(i int, result1 metrics.Meter)
func (*MetricsMeter) Stop ¶
func (fake *MetricsMeter) Stop()
func (*MetricsMeter) StopCallCount ¶
func (fake *MetricsMeter) StopCallCount() int
func (*MetricsMeter) StopCalls ¶
func (fake *MetricsMeter) StopCalls(stub func())
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)
type MetricsRegistry ¶
type MetricsRegistry struct { EachStub func(func(string, interface{})) GetStub func(string) interface{} GetAllStub func() map[string]map[string]interface{} GetOrRegisterStub func(string, interface{}) interface{} RegisterStub func(string, interface{}) error RunHealthchecksStub func() UnregisterStub func(string) UnregisterAllStub func() // contains filtered or unexported fields }
func (*MetricsRegistry) Each ¶
func (fake *MetricsRegistry) Each(arg1 func(string, interface{}))
func (*MetricsRegistry) EachArgsForCall ¶
func (fake *MetricsRegistry) EachArgsForCall(i int) func(string, interface{})
func (*MetricsRegistry) EachCallCount ¶
func (fake *MetricsRegistry) EachCallCount() int
func (*MetricsRegistry) EachCalls ¶
func (fake *MetricsRegistry) EachCalls(stub func(func(string, interface{})))
func (*MetricsRegistry) Get ¶
func (fake *MetricsRegistry) Get(arg1 string) interface{}
func (*MetricsRegistry) GetAll ¶
func (fake *MetricsRegistry) GetAll() map[string]map[string]interface{}
func (*MetricsRegistry) GetAllCallCount ¶
func (fake *MetricsRegistry) GetAllCallCount() int
func (*MetricsRegistry) GetAllCalls ¶
func (fake *MetricsRegistry) GetAllCalls(stub func() map[string]map[string]interface{})
func (*MetricsRegistry) GetAllReturns ¶
func (fake *MetricsRegistry) GetAllReturns(result1 map[string]map[string]interface{})
func (*MetricsRegistry) GetAllReturnsOnCall ¶
func (fake *MetricsRegistry) GetAllReturnsOnCall(i int, result1 map[string]map[string]interface{})
func (*MetricsRegistry) GetArgsForCall ¶
func (fake *MetricsRegistry) GetArgsForCall(i int) string
func (*MetricsRegistry) GetCallCount ¶
func (fake *MetricsRegistry) GetCallCount() int
func (*MetricsRegistry) GetCalls ¶
func (fake *MetricsRegistry) GetCalls(stub func(string) interface{})
func (*MetricsRegistry) GetOrRegister ¶
func (fake *MetricsRegistry) GetOrRegister(arg1 string, arg2 interface{}) interface{}
func (*MetricsRegistry) GetOrRegisterArgsForCall ¶
func (fake *MetricsRegistry) GetOrRegisterArgsForCall(i int) (string, interface{})
func (*MetricsRegistry) GetOrRegisterCallCount ¶
func (fake *MetricsRegistry) GetOrRegisterCallCount() int
func (*MetricsRegistry) GetOrRegisterCalls ¶
func (fake *MetricsRegistry) GetOrRegisterCalls(stub func(string, interface{}) interface{})
func (*MetricsRegistry) GetOrRegisterReturns ¶
func (fake *MetricsRegistry) GetOrRegisterReturns(result1 interface{})
func (*MetricsRegistry) GetOrRegisterReturnsOnCall ¶
func (fake *MetricsRegistry) GetOrRegisterReturnsOnCall(i int, result1 interface{})
func (*MetricsRegistry) GetReturns ¶
func (fake *MetricsRegistry) GetReturns(result1 interface{})
func (*MetricsRegistry) GetReturnsOnCall ¶
func (fake *MetricsRegistry) GetReturnsOnCall(i int, result1 interface{})
func (*MetricsRegistry) Invocations ¶
func (fake *MetricsRegistry) Invocations() map[string][][]interface{}
func (*MetricsRegistry) Register ¶
func (fake *MetricsRegistry) Register(arg1 string, arg2 interface{}) error
func (*MetricsRegistry) RegisterArgsForCall ¶
func (fake *MetricsRegistry) RegisterArgsForCall(i int) (string, interface{})
func (*MetricsRegistry) RegisterCallCount ¶
func (fake *MetricsRegistry) RegisterCallCount() int
func (*MetricsRegistry) RegisterCalls ¶
func (fake *MetricsRegistry) RegisterCalls(stub func(string, interface{}) error)
func (*MetricsRegistry) RegisterReturns ¶
func (fake *MetricsRegistry) RegisterReturns(result1 error)
func (*MetricsRegistry) RegisterReturnsOnCall ¶
func (fake *MetricsRegistry) RegisterReturnsOnCall(i int, result1 error)
func (*MetricsRegistry) RunHealthchecks ¶
func (fake *MetricsRegistry) RunHealthchecks()
func (*MetricsRegistry) RunHealthchecksCallCount ¶
func (fake *MetricsRegistry) RunHealthchecksCallCount() int
func (*MetricsRegistry) RunHealthchecksCalls ¶
func (fake *MetricsRegistry) RunHealthchecksCalls(stub func())
func (*MetricsRegistry) Unregister ¶
func (fake *MetricsRegistry) Unregister(arg1 string)
func (*MetricsRegistry) UnregisterAll ¶
func (fake *MetricsRegistry) UnregisterAll()
func (*MetricsRegistry) UnregisterAllCallCount ¶
func (fake *MetricsRegistry) UnregisterAllCallCount() int
func (*MetricsRegistry) UnregisterAllCalls ¶
func (fake *MetricsRegistry) UnregisterAllCalls(stub func())
func (*MetricsRegistry) UnregisterArgsForCall ¶
func (fake *MetricsRegistry) UnregisterArgsForCall(i int) string
func (*MetricsRegistry) UnregisterCallCount ¶
func (fake *MetricsRegistry) UnregisterCallCount() int
func (*MetricsRegistry) UnregisterCalls ¶
func (fake *MetricsRegistry) UnregisterCalls(stub func(string))
type SyncProducer ¶
type SyncProducer struct { CloseStub func() error SendMessageStub func(*sarama.ProducerMessage) (int32, int64, error) SendMessagesStub func([]*sarama.ProducerMessage) error // contains filtered or unexported fields }
func (*SyncProducer) Close ¶
func (fake *SyncProducer) Close() error
func (*SyncProducer) CloseCallCount ¶
func (fake *SyncProducer) CloseCallCount() int
func (*SyncProducer) CloseCalls ¶
func (fake *SyncProducer) CloseCalls(stub func() error)
func (*SyncProducer) CloseReturns ¶
func (fake *SyncProducer) CloseReturns(result1 error)
func (*SyncProducer) CloseReturnsOnCall ¶
func (fake *SyncProducer) CloseReturnsOnCall(i int, result1 error)
func (*SyncProducer) Invocations ¶
func (fake *SyncProducer) Invocations() map[string][][]interface{}
func (*SyncProducer) SendMessage ¶
func (fake *SyncProducer) SendMessage(arg1 *sarama.ProducerMessage) (int32, int64, error)
func (*SyncProducer) SendMessageArgsForCall ¶
func (fake *SyncProducer) SendMessageArgsForCall(i int) *sarama.ProducerMessage
func (*SyncProducer) SendMessageCallCount ¶
func (fake *SyncProducer) SendMessageCallCount() int
func (*SyncProducer) SendMessageCalls ¶
func (fake *SyncProducer) SendMessageCalls(stub func(*sarama.ProducerMessage) (int32, int64, error))
func (*SyncProducer) SendMessageReturns ¶
func (fake *SyncProducer) SendMessageReturns(result1 int32, result2 int64, result3 error)
func (*SyncProducer) SendMessageReturnsOnCall ¶
func (fake *SyncProducer) SendMessageReturnsOnCall(i int, result1 int32, result2 int64, result3 error)
func (*SyncProducer) SendMessages ¶
func (fake *SyncProducer) SendMessages(arg1 []*sarama.ProducerMessage) error
func (*SyncProducer) SendMessagesArgsForCall ¶
func (fake *SyncProducer) SendMessagesArgsForCall(i int) []*sarama.ProducerMessage
func (*SyncProducer) SendMessagesCallCount ¶
func (fake *SyncProducer) SendMessagesCallCount() int
func (*SyncProducer) SendMessagesCalls ¶
func (fake *SyncProducer) SendMessagesCalls(stub func([]*sarama.ProducerMessage) error)
func (*SyncProducer) SendMessagesReturns ¶
func (fake *SyncProducer) SendMessagesReturns(result1 error)
func (*SyncProducer) SendMessagesReturnsOnCall ¶
func (fake *SyncProducer) SendMessagesReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.