Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeMetricsAccountant
- func (fake *FakeMetricsAccountant) IncrementSentMessageMetrics(starts []models.PendingStartMessage, stops []models.PendingStopMessage) error
- func (fake *FakeMetricsAccountant) IncrementSentMessageMetricsArgsForCall(i int) ([]models.PendingStartMessage, []models.PendingStopMessage)
- func (fake *FakeMetricsAccountant) IncrementSentMessageMetricsCallCount() int
- func (fake *FakeMetricsAccountant) IncrementSentMessageMetricsReturns(result1 error)
- func (fake *FakeMetricsAccountant) Invocations() map[string][][]interface{}
- func (fake *FakeMetricsAccountant) TrackReceivedHeartbeats(metric int) error
- func (fake *FakeMetricsAccountant) TrackReceivedHeartbeatsArgsForCall(i int) int
- func (fake *FakeMetricsAccountant) TrackReceivedHeartbeatsCallCount() int
- func (fake *FakeMetricsAccountant) TrackReceivedHeartbeatsReturns(result1 error)
- func (fake *FakeMetricsAccountant) TrackSavedHeartbeats(metric int) error
- func (fake *FakeMetricsAccountant) TrackSavedHeartbeatsArgsForCall(i int) int
- func (fake *FakeMetricsAccountant) TrackSavedHeartbeatsCallCount() int
- func (fake *FakeMetricsAccountant) TrackSavedHeartbeatsReturns(result1 error)
- type FakeUsageTracker
- func (fake *FakeUsageTracker) Invocations() map[string][][]interface{}
- func (fake *FakeUsageTracker) MeasureUsage() (usage float64, measurementDuration time.Duration)
- func (fake *FakeUsageTracker) MeasureUsageCallCount() int
- func (fake *FakeUsageTracker) MeasureUsageReturns(result1 float64, result2 time.Duration)
- func (fake *FakeUsageTracker) StartTrackingUsage()
- func (fake *FakeUsageTracker) StartTrackingUsageCallCount() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMetricsAccountant ¶
type FakeMetricsAccountant struct { TrackReceivedHeartbeatsStub func(metric int) error TrackSavedHeartbeatsStub func(metric int) error IncrementSentMessageMetricsStub func(starts []models.PendingStartMessage, stops []models.PendingStopMessage) error // contains filtered or unexported fields }
func (*FakeMetricsAccountant) IncrementSentMessageMetrics ¶
func (fake *FakeMetricsAccountant) IncrementSentMessageMetrics(starts []models.PendingStartMessage, stops []models.PendingStopMessage) error
func (*FakeMetricsAccountant) IncrementSentMessageMetricsArgsForCall ¶
func (fake *FakeMetricsAccountant) IncrementSentMessageMetricsArgsForCall(i int) ([]models.PendingStartMessage, []models.PendingStopMessage)
func (*FakeMetricsAccountant) IncrementSentMessageMetricsCallCount ¶
func (fake *FakeMetricsAccountant) IncrementSentMessageMetricsCallCount() int
func (*FakeMetricsAccountant) IncrementSentMessageMetricsReturns ¶
func (fake *FakeMetricsAccountant) IncrementSentMessageMetricsReturns(result1 error)
func (*FakeMetricsAccountant) Invocations ¶
func (fake *FakeMetricsAccountant) Invocations() map[string][][]interface{}
func (*FakeMetricsAccountant) TrackReceivedHeartbeats ¶
func (fake *FakeMetricsAccountant) TrackReceivedHeartbeats(metric int) error
func (*FakeMetricsAccountant) TrackReceivedHeartbeatsArgsForCall ¶
func (fake *FakeMetricsAccountant) TrackReceivedHeartbeatsArgsForCall(i int) int
func (*FakeMetricsAccountant) TrackReceivedHeartbeatsCallCount ¶
func (fake *FakeMetricsAccountant) TrackReceivedHeartbeatsCallCount() int
func (*FakeMetricsAccountant) TrackReceivedHeartbeatsReturns ¶
func (fake *FakeMetricsAccountant) TrackReceivedHeartbeatsReturns(result1 error)
func (*FakeMetricsAccountant) TrackSavedHeartbeats ¶
func (fake *FakeMetricsAccountant) TrackSavedHeartbeats(metric int) error
func (*FakeMetricsAccountant) TrackSavedHeartbeatsArgsForCall ¶
func (fake *FakeMetricsAccountant) TrackSavedHeartbeatsArgsForCall(i int) int
func (*FakeMetricsAccountant) TrackSavedHeartbeatsCallCount ¶
func (fake *FakeMetricsAccountant) TrackSavedHeartbeatsCallCount() int
func (*FakeMetricsAccountant) TrackSavedHeartbeatsReturns ¶
func (fake *FakeMetricsAccountant) TrackSavedHeartbeatsReturns(result1 error)
type FakeUsageTracker ¶
type FakeUsageTracker struct { StartTrackingUsageStub func() MeasureUsageStub func() (usage float64, measurementDuration time.Duration) // contains filtered or unexported fields }
func (*FakeUsageTracker) Invocations ¶
func (fake *FakeUsageTracker) Invocations() map[string][][]interface{}
func (*FakeUsageTracker) MeasureUsage ¶
func (fake *FakeUsageTracker) MeasureUsage() (usage float64, measurementDuration time.Duration)
func (*FakeUsageTracker) MeasureUsageCallCount ¶
func (fake *FakeUsageTracker) MeasureUsageCallCount() int
func (*FakeUsageTracker) MeasureUsageReturns ¶
func (fake *FakeUsageTracker) MeasureUsageReturns(result1 float64, result2 time.Duration)
func (*FakeUsageTracker) StartTrackingUsage ¶
func (fake *FakeUsageTracker) StartTrackingUsage()
func (*FakeUsageTracker) StartTrackingUsageCallCount ¶
func (fake *FakeUsageTracker) StartTrackingUsageCallCount() int
Click to show internal directories.
Click to hide internal directories.