Documentation
¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeStore
- func (fake *FakeStore) AppKey(appGuid string, appVersion string) string
- func (fake *FakeStore) AppKeyArgsForCall(i int) (string, string)
- func (fake *FakeStore) AppKeyCallCount() int
- func (fake *FakeStore) AppKeyReturns(result1 string)
- func (fake *FakeStore) BumpActualFreshness(timestamp time.Time) error
- func (fake *FakeStore) BumpActualFreshnessArgsForCall(i int) time.Time
- func (fake *FakeStore) BumpActualFreshnessCallCount() int
- func (fake *FakeStore) BumpActualFreshnessReturns(result1 error)
- func (fake *FakeStore) Compact() error
- func (fake *FakeStore) CompactCallCount() int
- func (fake *FakeStore) CompactReturns(result1 error)
- func (fake *FakeStore) DeletePendingStartMessages(startMessages ...models.PendingStartMessage) error
- func (fake *FakeStore) DeletePendingStartMessagesArgsForCall(i int) []models.PendingStartMessage
- func (fake *FakeStore) DeletePendingStartMessagesCallCount() int
- func (fake *FakeStore) DeletePendingStartMessagesReturns(result1 error)
- func (fake *FakeStore) DeletePendingStopMessages(stopMessages ...models.PendingStopMessage) error
- func (fake *FakeStore) DeletePendingStopMessagesArgsForCall(i int) []models.PendingStopMessage
- func (fake *FakeStore) DeletePendingStopMessagesCallCount() int
- func (fake *FakeStore) DeletePendingStopMessagesReturns(result1 error)
- func (fake *FakeStore) GetApp(appGuid string, appVersion string) (*models.App, error)
- func (fake *FakeStore) GetAppArgsForCall(i int) (string, string)
- func (fake *FakeStore) GetAppCallCount() int
- func (fake *FakeStore) GetAppReturns(result1 *models.App, result2 error)
- func (fake *FakeStore) GetApps() (map[string]*models.App, error)
- func (fake *FakeStore) GetAppsCallCount() int
- func (fake *FakeStore) GetAppsReturns(result1 map[string]*models.App, result2 error)
- func (fake *FakeStore) GetDeaCache() (map[string]struct{}, error)
- func (fake *FakeStore) GetDeaCacheCallCount() int
- func (fake *FakeStore) GetDeaCacheReturns(result1 map[string]struct{}, result2 error)
- func (fake *FakeStore) GetInstanceHeartbeats() (results []models.InstanceHeartbeat, err error)
- func (fake *FakeStore) GetInstanceHeartbeatsCallCount() int
- func (fake *FakeStore) GetInstanceHeartbeatsForApp(appGuid string, appVersion string) (results []models.InstanceHeartbeat, err error)
- func (fake *FakeStore) GetInstanceHeartbeatsForAppArgsForCall(i int) (string, string)
- func (fake *FakeStore) GetInstanceHeartbeatsForAppCallCount() int
- func (fake *FakeStore) GetInstanceHeartbeatsForAppReturns(result1 []models.InstanceHeartbeat, result2 error)
- func (fake *FakeStore) GetInstanceHeartbeatsReturns(result1 []models.InstanceHeartbeat, result2 error)
- func (fake *FakeStore) GetMetric(metric string) (float64, error)
- func (fake *FakeStore) GetMetricArgsForCall(i int) string
- func (fake *FakeStore) GetMetricCallCount() int
- func (fake *FakeStore) GetMetricReturns(result1 float64, result2 error)
- func (fake *FakeStore) GetPendingStartMessages() (map[string]models.PendingStartMessage, error)
- func (fake *FakeStore) GetPendingStartMessagesCallCount() int
- func (fake *FakeStore) GetPendingStartMessagesReturns(result1 map[string]models.PendingStartMessage, result2 error)
- func (fake *FakeStore) GetPendingStopMessages() (map[string]models.PendingStopMessage, error)
- func (fake *FakeStore) GetPendingStopMessagesCallCount() int
- func (fake *FakeStore) GetPendingStopMessagesReturns(result1 map[string]models.PendingStopMessage, result2 error)
- func (fake *FakeStore) Invocations() map[string][][]interface{}
- func (fake *FakeStore) IsActualStateFresh(arg1 time.Time) (bool, error)
- func (fake *FakeStore) IsActualStateFreshArgsForCall(i int) time.Time
- func (fake *FakeStore) IsActualStateFreshCallCount() int
- func (fake *FakeStore) IsActualStateFreshReturns(result1 bool, result2 error)
- func (fake *FakeStore) RevokeActualFreshness() error
- func (fake *FakeStore) RevokeActualFreshnessCallCount() int
- func (fake *FakeStore) RevokeActualFreshnessReturns(result1 error)
- func (fake *FakeStore) SaveCrashCounts(crashCounts ...models.CrashCount) error
- func (fake *FakeStore) SaveCrashCountsArgsForCall(i int) []models.CrashCount
- func (fake *FakeStore) SaveCrashCountsCallCount() int
- func (fake *FakeStore) SaveCrashCountsReturns(result1 error)
- func (fake *FakeStore) SaveMetric(metric string, value float64) error
- func (fake *FakeStore) SaveMetricArgsForCall(i int) (string, float64)
- func (fake *FakeStore) SaveMetricCallCount() int
- func (fake *FakeStore) SaveMetricReturns(result1 error)
- func (fake *FakeStore) SavePendingStartMessages(startMessages ...models.PendingStartMessage) error
- func (fake *FakeStore) SavePendingStartMessagesArgsForCall(i int) []models.PendingStartMessage
- func (fake *FakeStore) SavePendingStartMessagesCallCount() int
- func (fake *FakeStore) SavePendingStartMessagesReturns(result1 error)
- func (fake *FakeStore) SavePendingStopMessages(stopMessages ...models.PendingStopMessage) error
- func (fake *FakeStore) SavePendingStopMessagesArgsForCall(i int) []models.PendingStopMessage
- func (fake *FakeStore) SavePendingStopMessagesCallCount() int
- func (fake *FakeStore) SavePendingStopMessagesReturns(result1 error)
- func (fake *FakeStore) SyncHeartbeats(heartbeat ...*models.Heartbeat) ([]models.InstanceHeartbeat, error)
- func (fake *FakeStore) SyncHeartbeatsArgsForCall(i int) []*models.Heartbeat
- func (fake *FakeStore) SyncHeartbeatsCallCount() int
- func (fake *FakeStore) SyncHeartbeatsReturns(result1 []models.InstanceHeartbeat, result2 error)
- func (fake *FakeStore) VerifyFreshness(arg1 time.Time) error
- func (fake *FakeStore) VerifyFreshnessArgsForCall(i int) time.Time
- func (fake *FakeStore) VerifyFreshnessCallCount() int
- func (fake *FakeStore) VerifyFreshnessReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeStore ¶
type FakeStore struct { BumpActualFreshnessStub func(timestamp time.Time) error RevokeActualFreshnessStub func() error IsActualStateFreshStub func(time.Time) (bool, error) VerifyFreshnessStub func(time.Time) error AppKeyStub func(appGuid string, appVersion string) string GetAppsStub func() (map[string]*models.App, error) GetAppStub func(appGuid string, appVersion string) (*models.App, error) SyncHeartbeatsStub func(heartbeat ...*models.Heartbeat) ([]models.InstanceHeartbeat, error) GetInstanceHeartbeatsStub func() (results []models.InstanceHeartbeat, err error) GetInstanceHeartbeatsForAppStub func(appGuid string, appVersion string) (results []models.InstanceHeartbeat, err error) SaveCrashCountsStub func(crashCounts ...models.CrashCount) error SavePendingStartMessagesStub func(startMessages ...models.PendingStartMessage) error GetPendingStartMessagesStub func() (map[string]models.PendingStartMessage, error) DeletePendingStartMessagesStub func(startMessages ...models.PendingStartMessage) error SavePendingStopMessagesStub func(stopMessages ...models.PendingStopMessage) error GetPendingStopMessagesStub func() (map[string]models.PendingStopMessage, error) DeletePendingStopMessagesStub func(stopMessages ...models.PendingStopMessage) error SaveMetricStub func(metric string, value float64) error GetMetricStub func(metric string) (float64, error) CompactStub func() error GetDeaCacheStub func() (map[string]struct{}, error) // contains filtered or unexported fields }
func (*FakeStore) AppKeyArgsForCall ¶
func (*FakeStore) AppKeyCallCount ¶
func (*FakeStore) AppKeyReturns ¶
func (*FakeStore) BumpActualFreshness ¶
func (*FakeStore) BumpActualFreshnessArgsForCall ¶
func (*FakeStore) BumpActualFreshnessCallCount ¶
func (*FakeStore) BumpActualFreshnessReturns ¶
func (*FakeStore) CompactCallCount ¶
func (*FakeStore) CompactReturns ¶
func (*FakeStore) DeletePendingStartMessages ¶
func (fake *FakeStore) DeletePendingStartMessages(startMessages ...models.PendingStartMessage) error
func (*FakeStore) DeletePendingStartMessagesArgsForCall ¶
func (fake *FakeStore) DeletePendingStartMessagesArgsForCall(i int) []models.PendingStartMessage
func (*FakeStore) DeletePendingStartMessagesCallCount ¶
func (*FakeStore) DeletePendingStartMessagesReturns ¶
func (*FakeStore) DeletePendingStopMessages ¶
func (fake *FakeStore) DeletePendingStopMessages(stopMessages ...models.PendingStopMessage) error
func (*FakeStore) DeletePendingStopMessagesArgsForCall ¶
func (fake *FakeStore) DeletePendingStopMessagesArgsForCall(i int) []models.PendingStopMessage
func (*FakeStore) DeletePendingStopMessagesCallCount ¶
func (*FakeStore) DeletePendingStopMessagesReturns ¶
func (*FakeStore) GetAppArgsForCall ¶
func (*FakeStore) GetAppCallCount ¶
func (*FakeStore) GetAppReturns ¶
func (*FakeStore) GetAppsCallCount ¶
func (*FakeStore) GetAppsReturns ¶
func (*FakeStore) GetDeaCache ¶
func (*FakeStore) GetDeaCacheCallCount ¶
func (*FakeStore) GetDeaCacheReturns ¶
func (*FakeStore) GetInstanceHeartbeats ¶
func (fake *FakeStore) GetInstanceHeartbeats() (results []models.InstanceHeartbeat, err error)
func (*FakeStore) GetInstanceHeartbeatsCallCount ¶
func (*FakeStore) GetInstanceHeartbeatsForApp ¶
func (*FakeStore) GetInstanceHeartbeatsForAppArgsForCall ¶
func (*FakeStore) GetInstanceHeartbeatsForAppCallCount ¶
func (*FakeStore) GetInstanceHeartbeatsForAppReturns ¶
func (fake *FakeStore) GetInstanceHeartbeatsForAppReturns(result1 []models.InstanceHeartbeat, result2 error)
func (*FakeStore) GetInstanceHeartbeatsReturns ¶
func (fake *FakeStore) GetInstanceHeartbeatsReturns(result1 []models.InstanceHeartbeat, result2 error)
func (*FakeStore) GetMetricArgsForCall ¶
func (*FakeStore) GetMetricCallCount ¶
func (*FakeStore) GetMetricReturns ¶
func (*FakeStore) GetPendingStartMessages ¶
func (fake *FakeStore) GetPendingStartMessages() (map[string]models.PendingStartMessage, error)
func (*FakeStore) GetPendingStartMessagesCallCount ¶
func (*FakeStore) GetPendingStartMessagesReturns ¶
func (fake *FakeStore) GetPendingStartMessagesReturns(result1 map[string]models.PendingStartMessage, result2 error)
func (*FakeStore) GetPendingStopMessages ¶
func (fake *FakeStore) GetPendingStopMessages() (map[string]models.PendingStopMessage, error)
func (*FakeStore) GetPendingStopMessagesCallCount ¶
func (*FakeStore) GetPendingStopMessagesReturns ¶
func (fake *FakeStore) GetPendingStopMessagesReturns(result1 map[string]models.PendingStopMessage, result2 error)
func (*FakeStore) Invocations ¶
func (*FakeStore) IsActualStateFresh ¶
func (*FakeStore) IsActualStateFreshArgsForCall ¶
func (*FakeStore) IsActualStateFreshCallCount ¶
func (*FakeStore) IsActualStateFreshReturns ¶
func (*FakeStore) RevokeActualFreshness ¶
func (*FakeStore) RevokeActualFreshnessCallCount ¶
func (*FakeStore) RevokeActualFreshnessReturns ¶
func (*FakeStore) SaveCrashCounts ¶
func (fake *FakeStore) SaveCrashCounts(crashCounts ...models.CrashCount) error
func (*FakeStore) SaveCrashCountsArgsForCall ¶
func (fake *FakeStore) SaveCrashCountsArgsForCall(i int) []models.CrashCount
func (*FakeStore) SaveCrashCountsCallCount ¶
func (*FakeStore) SaveCrashCountsReturns ¶
func (*FakeStore) SaveMetric ¶
func (*FakeStore) SaveMetricArgsForCall ¶
func (*FakeStore) SaveMetricCallCount ¶
func (*FakeStore) SaveMetricReturns ¶
func (*FakeStore) SavePendingStartMessages ¶
func (fake *FakeStore) SavePendingStartMessages(startMessages ...models.PendingStartMessage) error
func (*FakeStore) SavePendingStartMessagesArgsForCall ¶
func (fake *FakeStore) SavePendingStartMessagesArgsForCall(i int) []models.PendingStartMessage
func (*FakeStore) SavePendingStartMessagesCallCount ¶
func (*FakeStore) SavePendingStartMessagesReturns ¶
func (*FakeStore) SavePendingStopMessages ¶
func (fake *FakeStore) SavePendingStopMessages(stopMessages ...models.PendingStopMessage) error
func (*FakeStore) SavePendingStopMessagesArgsForCall ¶
func (fake *FakeStore) SavePendingStopMessagesArgsForCall(i int) []models.PendingStopMessage
func (*FakeStore) SavePendingStopMessagesCallCount ¶
func (*FakeStore) SavePendingStopMessagesReturns ¶
func (*FakeStore) SyncHeartbeats ¶
func (*FakeStore) SyncHeartbeatsArgsForCall ¶
func (*FakeStore) SyncHeartbeatsCallCount ¶
func (*FakeStore) SyncHeartbeatsReturns ¶
func (fake *FakeStore) SyncHeartbeatsReturns(result1 []models.InstanceHeartbeat, result2 error)
func (*FakeStore) VerifyFreshnessArgsForCall ¶
func (*FakeStore) VerifyFreshnessCallCount ¶
func (*FakeStore) VerifyFreshnessReturns ¶
Click to show internal directories.
Click to hide internal directories.