Documentation ¶
Index ¶
- type Provider
- type ProviderMock
- func (m *ProviderMock) AllMocksCalled() bool
- func (m *ProviderMock) CheckMocksCalled()
- func (m *ProviderMock) CloneStorage(p core.RecordID, p1 core.RecordID)
- func (m *ProviderMock) CloneStorageFinished() bool
- func (m *ProviderMock) CloneStorageMinimockCounter() uint64
- func (m *ProviderMock) CloneStorageMinimockPreCounter() uint64
- func (m *ProviderMock) Finish()
- func (m *ProviderMock) GetStorage(p core.RecordID) (r RecentStorage)
- func (m *ProviderMock) GetStorageFinished() bool
- func (m *ProviderMock) GetStorageMinimockCounter() uint64
- func (m *ProviderMock) GetStorageMinimockPreCounter() uint64
- func (m *ProviderMock) MinimockFinish()
- func (m *ProviderMock) MinimockWait(timeout time.Duration)
- func (m *ProviderMock) ValidateCallCounters()
- func (m *ProviderMock) Wait(timeout time.Duration)
- type ProviderMockCloneStorageExpectation
- type ProviderMockCloneStorageInput
- type ProviderMockGetStorageExpectation
- type ProviderMockGetStorageInput
- type ProviderMockGetStorageResult
- type RecentStorage
- type RecentStorageMock
- func (m *RecentStorageMock) AddObject(p core.RecordID)
- func (m *RecentStorageMock) AddObjectFinished() bool
- func (m *RecentStorageMock) AddObjectMinimockCounter() uint64
- func (m *RecentStorageMock) AddObjectMinimockPreCounter() uint64
- func (m *RecentStorageMock) AddObjectWithTLL(p core.RecordID, p1 int)
- func (m *RecentStorageMock) AddObjectWithTLLFinished() bool
- func (m *RecentStorageMock) AddObjectWithTLLMinimockCounter() uint64
- func (m *RecentStorageMock) AddObjectWithTLLMinimockPreCounter() uint64
- func (m *RecentStorageMock) AddPendingRequest(p core.RecordID, p1 core.RecordID)
- func (m *RecentStorageMock) AddPendingRequestFinished() bool
- func (m *RecentStorageMock) AddPendingRequestMinimockCounter() uint64
- func (m *RecentStorageMock) AddPendingRequestMinimockPreCounter() uint64
- func (m *RecentStorageMock) AllMocksCalled() bool
- func (m *RecentStorageMock) CheckMocksCalled()
- func (m *RecentStorageMock) ClearObjects()
- func (m *RecentStorageMock) ClearObjectsFinished() bool
- func (m *RecentStorageMock) ClearObjectsMinimockCounter() uint64
- func (m *RecentStorageMock) ClearObjectsMinimockPreCounter() uint64
- func (m *RecentStorageMock) ClearZeroTTLObjects()
- func (m *RecentStorageMock) ClearZeroTTLObjectsFinished() bool
- func (m *RecentStorageMock) ClearZeroTTLObjectsMinimockCounter() uint64
- func (m *RecentStorageMock) ClearZeroTTLObjectsMinimockPreCounter() uint64
- func (m *RecentStorageMock) Finish()
- func (m *RecentStorageMock) GetObjects() (r map[core.RecordID]int)
- func (m *RecentStorageMock) GetObjectsFinished() bool
- func (m *RecentStorageMock) GetObjectsMinimockCounter() uint64
- func (m *RecentStorageMock) GetObjectsMinimockPreCounter() uint64
- func (m *RecentStorageMock) GetRequests() (r map[core.RecordID]map[core.RecordID]struct{})
- func (m *RecentStorageMock) GetRequestsFinished() bool
- func (m *RecentStorageMock) GetRequestsForObject(p core.RecordID) (r []core.RecordID)
- func (m *RecentStorageMock) GetRequestsForObjectFinished() bool
- func (m *RecentStorageMock) GetRequestsForObjectMinimockCounter() uint64
- func (m *RecentStorageMock) GetRequestsForObjectMinimockPreCounter() uint64
- func (m *RecentStorageMock) GetRequestsMinimockCounter() uint64
- func (m *RecentStorageMock) GetRequestsMinimockPreCounter() uint64
- func (m *RecentStorageMock) IsRecordIDCached(p core.RecordID) (r bool)
- func (m *RecentStorageMock) IsRecordIDCachedFinished() bool
- func (m *RecentStorageMock) IsRecordIDCachedMinimockCounter() uint64
- func (m *RecentStorageMock) IsRecordIDCachedMinimockPreCounter() uint64
- func (m *RecentStorageMock) MinimockFinish()
- func (m *RecentStorageMock) MinimockWait(timeout time.Duration)
- func (m *RecentStorageMock) RemovePendingRequest(p core.RecordID, p1 core.RecordID)
- func (m *RecentStorageMock) RemovePendingRequestFinished() bool
- func (m *RecentStorageMock) RemovePendingRequestMinimockCounter() uint64
- func (m *RecentStorageMock) RemovePendingRequestMinimockPreCounter() uint64
- func (m *RecentStorageMock) ValidateCallCounters()
- func (m *RecentStorageMock) Wait(timeout time.Duration)
- type RecentStorageMockAddObjectExpectation
- type RecentStorageMockAddObjectInput
- type RecentStorageMockAddObjectWithTLLExpectation
- type RecentStorageMockAddObjectWithTLLInput
- type RecentStorageMockAddPendingRequestExpectation
- type RecentStorageMockAddPendingRequestInput
- type RecentStorageMockClearObjectsExpectation
- type RecentStorageMockClearZeroTTLObjectsExpectation
- type RecentStorageMockGetObjectsExpectation
- type RecentStorageMockGetObjectsResult
- type RecentStorageMockGetRequestsExpectation
- type RecentStorageMockGetRequestsForObjectExpectation
- type RecentStorageMockGetRequestsForObjectInput
- type RecentStorageMockGetRequestsForObjectResult
- type RecentStorageMockGetRequestsResult
- type RecentStorageMockIsRecordIDCachedExpectation
- type RecentStorageMockIsRecordIDCachedInput
- type RecentStorageMockIsRecordIDCachedResult
- type RecentStorageMockRemovePendingRequestExpectation
- type RecentStorageMockRemovePendingRequestInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { GetStorage(jetID core.RecordID) RecentStorage CloneStorage(fromJetID, toJetID core.RecordID) }
Provider provides a recent storage for jet
type ProviderMock ¶
type ProviderMock struct { CloneStorageFunc func(p core.RecordID, p1 core.RecordID) CloneStorageCounter uint64 CloneStoragePreCounter uint64 CloneStorageMock mProviderMockCloneStorage GetStorageFunc func(p core.RecordID) (r RecentStorage) GetStorageCounter uint64 GetStoragePreCounter uint64 GetStorageMock mProviderMockGetStorage // contains filtered or unexported fields }
ProviderMock implements github.com/insolar/insolar/ledger/recentstorage.Provider
func NewProviderMock ¶
func NewProviderMock(t minimock.Tester) *ProviderMock
NewProviderMock returns a mock for github.com/insolar/insolar/ledger/recentstorage.Provider
func (*ProviderMock) AllMocksCalled ¶
func (m *ProviderMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*ProviderMock) CheckMocksCalled ¶
func (m *ProviderMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*ProviderMock) CloneStorage ¶
func (m *ProviderMock) CloneStorage(p core.RecordID, p1 core.RecordID)
CloneStorage implements github.com/insolar/insolar/ledger/recentstorage.Provider interface
func (*ProviderMock) CloneStorageFinished ¶
func (m *ProviderMock) CloneStorageFinished() bool
CloneStorageFinished returns true if mock invocations count is ok
func (*ProviderMock) CloneStorageMinimockCounter ¶
func (m *ProviderMock) CloneStorageMinimockCounter() uint64
CloneStorageMinimockCounter returns a count of ProviderMock.CloneStorageFunc invocations
func (*ProviderMock) CloneStorageMinimockPreCounter ¶
func (m *ProviderMock) CloneStorageMinimockPreCounter() uint64
CloneStorageMinimockPreCounter returns the value of ProviderMock.CloneStorage invocations
func (*ProviderMock) Finish ¶
func (m *ProviderMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*ProviderMock) GetStorage ¶
func (m *ProviderMock) GetStorage(p core.RecordID) (r RecentStorage)
GetStorage implements github.com/insolar/insolar/ledger/recentstorage.Provider interface
func (*ProviderMock) GetStorageFinished ¶
func (m *ProviderMock) GetStorageFinished() bool
GetStorageFinished returns true if mock invocations count is ok
func (*ProviderMock) GetStorageMinimockCounter ¶
func (m *ProviderMock) GetStorageMinimockCounter() uint64
GetStorageMinimockCounter returns a count of ProviderMock.GetStorageFunc invocations
func (*ProviderMock) GetStorageMinimockPreCounter ¶
func (m *ProviderMock) GetStorageMinimockPreCounter() uint64
GetStorageMinimockPreCounter returns the value of ProviderMock.GetStorage invocations
func (*ProviderMock) MinimockFinish ¶
func (m *ProviderMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*ProviderMock) MinimockWait ¶
func (m *ProviderMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*ProviderMock) ValidateCallCounters ¶
func (m *ProviderMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*ProviderMock) Wait ¶
func (m *ProviderMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
type ProviderMockCloneStorageExpectation ¶
type ProviderMockCloneStorageExpectation struct {
// contains filtered or unexported fields
}
type ProviderMockCloneStorageInput ¶
type ProviderMockCloneStorageInput struct {
// contains filtered or unexported fields
}
type ProviderMockGetStorageExpectation ¶
type ProviderMockGetStorageExpectation struct {
// contains filtered or unexported fields
}
func (*ProviderMockGetStorageExpectation) Return ¶
func (e *ProviderMockGetStorageExpectation) Return(r RecentStorage)
type ProviderMockGetStorageInput ¶
type ProviderMockGetStorageInput struct {
// contains filtered or unexported fields
}
type ProviderMockGetStorageResult ¶
type ProviderMockGetStorageResult struct {
// contains filtered or unexported fields
}
type RecentStorage ¶
type RecentStorage interface { AddObject(id core.RecordID) AddObjectWithTLL(id core.RecordID, ttl int) AddPendingRequest(obj, req core.RecordID) RemovePendingRequest(obj, req core.RecordID) GetObjects() map[core.RecordID]int GetRequests() map[core.RecordID]map[core.RecordID]struct{} GetRequestsForObject(obj core.RecordID) []core.RecordID IsRecordIDCached(obj core.RecordID) bool ClearZeroTTLObjects() ClearObjects() }
RecentStorage is a base interface for the storage of recent objects and indexes
type RecentStorageMock ¶
type RecentStorageMock struct { AddObjectFunc func(p core.RecordID) AddObjectCounter uint64 AddObjectPreCounter uint64 AddObjectMock mRecentStorageMockAddObject AddObjectWithTLLFunc func(p core.RecordID, p1 int) AddObjectWithTLLCounter uint64 AddObjectWithTLLPreCounter uint64 AddObjectWithTLLMock mRecentStorageMockAddObjectWithTLL AddPendingRequestFunc func(p core.RecordID, p1 core.RecordID) AddPendingRequestCounter uint64 AddPendingRequestPreCounter uint64 AddPendingRequestMock mRecentStorageMockAddPendingRequest ClearObjectsFunc func() ClearObjectsCounter uint64 ClearObjectsPreCounter uint64 ClearObjectsMock mRecentStorageMockClearObjects ClearZeroTTLObjectsFunc func() ClearZeroTTLObjectsCounter uint64 ClearZeroTTLObjectsPreCounter uint64 ClearZeroTTLObjectsMock mRecentStorageMockClearZeroTTLObjects GetObjectsFunc func() (r map[core.RecordID]int) GetObjectsCounter uint64 GetObjectsPreCounter uint64 GetObjectsMock mRecentStorageMockGetObjects GetRequestsFunc func() (r map[core.RecordID]map[core.RecordID]struct { }) GetRequestsCounter uint64 GetRequestsPreCounter uint64 GetRequestsMock mRecentStorageMockGetRequests GetRequestsForObjectFunc func(p core.RecordID) (r []core.RecordID) GetRequestsForObjectCounter uint64 GetRequestsForObjectPreCounter uint64 GetRequestsForObjectMock mRecentStorageMockGetRequestsForObject IsRecordIDCachedFunc func(p core.RecordID) (r bool) IsRecordIDCachedCounter uint64 IsRecordIDCachedPreCounter uint64 IsRecordIDCachedMock mRecentStorageMockIsRecordIDCached RemovePendingRequestFunc func(p core.RecordID, p1 core.RecordID) RemovePendingRequestCounter uint64 RemovePendingRequestPreCounter uint64 RemovePendingRequestMock mRecentStorageMockRemovePendingRequest // contains filtered or unexported fields }
RecentStorageMock implements github.com/insolar/insolar/ledger/recentstorage.RecentStorage
func NewRecentStorageMock ¶
func NewRecentStorageMock(t minimock.Tester) *RecentStorageMock
NewRecentStorageMock returns a mock for github.com/insolar/insolar/ledger/recentstorage.RecentStorage
func (*RecentStorageMock) AddObject ¶
func (m *RecentStorageMock) AddObject(p core.RecordID)
AddObject implements github.com/insolar/insolar/ledger/recentstorage.RecentStorage interface
func (*RecentStorageMock) AddObjectFinished ¶
func (m *RecentStorageMock) AddObjectFinished() bool
AddObjectFinished returns true if mock invocations count is ok
func (*RecentStorageMock) AddObjectMinimockCounter ¶
func (m *RecentStorageMock) AddObjectMinimockCounter() uint64
AddObjectMinimockCounter returns a count of RecentStorageMock.AddObjectFunc invocations
func (*RecentStorageMock) AddObjectMinimockPreCounter ¶
func (m *RecentStorageMock) AddObjectMinimockPreCounter() uint64
AddObjectMinimockPreCounter returns the value of RecentStorageMock.AddObject invocations
func (*RecentStorageMock) AddObjectWithTLL ¶
func (m *RecentStorageMock) AddObjectWithTLL(p core.RecordID, p1 int)
AddObjectWithTLL implements github.com/insolar/insolar/ledger/recentstorage.RecentStorage interface
func (*RecentStorageMock) AddObjectWithTLLFinished ¶
func (m *RecentStorageMock) AddObjectWithTLLFinished() bool
AddObjectWithTLLFinished returns true if mock invocations count is ok
func (*RecentStorageMock) AddObjectWithTLLMinimockCounter ¶
func (m *RecentStorageMock) AddObjectWithTLLMinimockCounter() uint64
AddObjectWithTLLMinimockCounter returns a count of RecentStorageMock.AddObjectWithTLLFunc invocations
func (*RecentStorageMock) AddObjectWithTLLMinimockPreCounter ¶
func (m *RecentStorageMock) AddObjectWithTLLMinimockPreCounter() uint64
AddObjectWithTLLMinimockPreCounter returns the value of RecentStorageMock.AddObjectWithTLL invocations
func (*RecentStorageMock) AddPendingRequest ¶
func (m *RecentStorageMock) AddPendingRequest(p core.RecordID, p1 core.RecordID)
AddPendingRequest implements github.com/insolar/insolar/ledger/recentstorage.RecentStorage interface
func (*RecentStorageMock) AddPendingRequestFinished ¶
func (m *RecentStorageMock) AddPendingRequestFinished() bool
AddPendingRequestFinished returns true if mock invocations count is ok
func (*RecentStorageMock) AddPendingRequestMinimockCounter ¶
func (m *RecentStorageMock) AddPendingRequestMinimockCounter() uint64
AddPendingRequestMinimockCounter returns a count of RecentStorageMock.AddPendingRequestFunc invocations
func (*RecentStorageMock) AddPendingRequestMinimockPreCounter ¶
func (m *RecentStorageMock) AddPendingRequestMinimockPreCounter() uint64
AddPendingRequestMinimockPreCounter returns the value of RecentStorageMock.AddPendingRequest invocations
func (*RecentStorageMock) AllMocksCalled ¶
func (m *RecentStorageMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*RecentStorageMock) CheckMocksCalled ¶
func (m *RecentStorageMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*RecentStorageMock) ClearObjects ¶
func (m *RecentStorageMock) ClearObjects()
ClearObjects implements github.com/insolar/insolar/ledger/recentstorage.RecentStorage interface
func (*RecentStorageMock) ClearObjectsFinished ¶
func (m *RecentStorageMock) ClearObjectsFinished() bool
ClearObjectsFinished returns true if mock invocations count is ok
func (*RecentStorageMock) ClearObjectsMinimockCounter ¶
func (m *RecentStorageMock) ClearObjectsMinimockCounter() uint64
ClearObjectsMinimockCounter returns a count of RecentStorageMock.ClearObjectsFunc invocations
func (*RecentStorageMock) ClearObjectsMinimockPreCounter ¶
func (m *RecentStorageMock) ClearObjectsMinimockPreCounter() uint64
ClearObjectsMinimockPreCounter returns the value of RecentStorageMock.ClearObjects invocations
func (*RecentStorageMock) ClearZeroTTLObjects ¶
func (m *RecentStorageMock) ClearZeroTTLObjects()
ClearZeroTTLObjects implements github.com/insolar/insolar/ledger/recentstorage.RecentStorage interface
func (*RecentStorageMock) ClearZeroTTLObjectsFinished ¶
func (m *RecentStorageMock) ClearZeroTTLObjectsFinished() bool
ClearZeroTTLObjectsFinished returns true if mock invocations count is ok
func (*RecentStorageMock) ClearZeroTTLObjectsMinimockCounter ¶
func (m *RecentStorageMock) ClearZeroTTLObjectsMinimockCounter() uint64
ClearZeroTTLObjectsMinimockCounter returns a count of RecentStorageMock.ClearZeroTTLObjectsFunc invocations
func (*RecentStorageMock) ClearZeroTTLObjectsMinimockPreCounter ¶
func (m *RecentStorageMock) ClearZeroTTLObjectsMinimockPreCounter() uint64
ClearZeroTTLObjectsMinimockPreCounter returns the value of RecentStorageMock.ClearZeroTTLObjects invocations
func (*RecentStorageMock) Finish ¶
func (m *RecentStorageMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*RecentStorageMock) GetObjects ¶
func (m *RecentStorageMock) GetObjects() (r map[core.RecordID]int)
GetObjects implements github.com/insolar/insolar/ledger/recentstorage.RecentStorage interface
func (*RecentStorageMock) GetObjectsFinished ¶
func (m *RecentStorageMock) GetObjectsFinished() bool
GetObjectsFinished returns true if mock invocations count is ok
func (*RecentStorageMock) GetObjectsMinimockCounter ¶
func (m *RecentStorageMock) GetObjectsMinimockCounter() uint64
GetObjectsMinimockCounter returns a count of RecentStorageMock.GetObjectsFunc invocations
func (*RecentStorageMock) GetObjectsMinimockPreCounter ¶
func (m *RecentStorageMock) GetObjectsMinimockPreCounter() uint64
GetObjectsMinimockPreCounter returns the value of RecentStorageMock.GetObjects invocations
func (*RecentStorageMock) GetRequests ¶
func (m *RecentStorageMock) GetRequests() (r map[core.RecordID]map[core.RecordID]struct { })
GetRequests implements github.com/insolar/insolar/ledger/recentstorage.RecentStorage interface
func (*RecentStorageMock) GetRequestsFinished ¶
func (m *RecentStorageMock) GetRequestsFinished() bool
GetRequestsFinished returns true if mock invocations count is ok
func (*RecentStorageMock) GetRequestsForObject ¶
func (m *RecentStorageMock) GetRequestsForObject(p core.RecordID) (r []core.RecordID)
GetRequestsForObject implements github.com/insolar/insolar/ledger/recentstorage.RecentStorage interface
func (*RecentStorageMock) GetRequestsForObjectFinished ¶
func (m *RecentStorageMock) GetRequestsForObjectFinished() bool
GetRequestsForObjectFinished returns true if mock invocations count is ok
func (*RecentStorageMock) GetRequestsForObjectMinimockCounter ¶
func (m *RecentStorageMock) GetRequestsForObjectMinimockCounter() uint64
GetRequestsForObjectMinimockCounter returns a count of RecentStorageMock.GetRequestsForObjectFunc invocations
func (*RecentStorageMock) GetRequestsForObjectMinimockPreCounter ¶
func (m *RecentStorageMock) GetRequestsForObjectMinimockPreCounter() uint64
GetRequestsForObjectMinimockPreCounter returns the value of RecentStorageMock.GetRequestsForObject invocations
func (*RecentStorageMock) GetRequestsMinimockCounter ¶
func (m *RecentStorageMock) GetRequestsMinimockCounter() uint64
GetRequestsMinimockCounter returns a count of RecentStorageMock.GetRequestsFunc invocations
func (*RecentStorageMock) GetRequestsMinimockPreCounter ¶
func (m *RecentStorageMock) GetRequestsMinimockPreCounter() uint64
GetRequestsMinimockPreCounter returns the value of RecentStorageMock.GetRequests invocations
func (*RecentStorageMock) IsRecordIDCached ¶
func (m *RecentStorageMock) IsRecordIDCached(p core.RecordID) (r bool)
IsRecordIDCached implements github.com/insolar/insolar/ledger/recentstorage.RecentStorage interface
func (*RecentStorageMock) IsRecordIDCachedFinished ¶
func (m *RecentStorageMock) IsRecordIDCachedFinished() bool
IsRecordIDCachedFinished returns true if mock invocations count is ok
func (*RecentStorageMock) IsRecordIDCachedMinimockCounter ¶
func (m *RecentStorageMock) IsRecordIDCachedMinimockCounter() uint64
IsRecordIDCachedMinimockCounter returns a count of RecentStorageMock.IsRecordIDCachedFunc invocations
func (*RecentStorageMock) IsRecordIDCachedMinimockPreCounter ¶
func (m *RecentStorageMock) IsRecordIDCachedMinimockPreCounter() uint64
IsRecordIDCachedMinimockPreCounter returns the value of RecentStorageMock.IsRecordIDCached invocations
func (*RecentStorageMock) MinimockFinish ¶
func (m *RecentStorageMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*RecentStorageMock) MinimockWait ¶
func (m *RecentStorageMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*RecentStorageMock) RemovePendingRequest ¶
func (m *RecentStorageMock) RemovePendingRequest(p core.RecordID, p1 core.RecordID)
RemovePendingRequest implements github.com/insolar/insolar/ledger/recentstorage.RecentStorage interface
func (*RecentStorageMock) RemovePendingRequestFinished ¶
func (m *RecentStorageMock) RemovePendingRequestFinished() bool
RemovePendingRequestFinished returns true if mock invocations count is ok
func (*RecentStorageMock) RemovePendingRequestMinimockCounter ¶
func (m *RecentStorageMock) RemovePendingRequestMinimockCounter() uint64
RemovePendingRequestMinimockCounter returns a count of RecentStorageMock.RemovePendingRequestFunc invocations
func (*RecentStorageMock) RemovePendingRequestMinimockPreCounter ¶
func (m *RecentStorageMock) RemovePendingRequestMinimockPreCounter() uint64
RemovePendingRequestMinimockPreCounter returns the value of RecentStorageMock.RemovePendingRequest invocations
func (*RecentStorageMock) ValidateCallCounters ¶
func (m *RecentStorageMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*RecentStorageMock) Wait ¶
func (m *RecentStorageMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
type RecentStorageMockAddObjectExpectation ¶
type RecentStorageMockAddObjectExpectation struct {
// contains filtered or unexported fields
}
type RecentStorageMockAddObjectInput ¶
type RecentStorageMockAddObjectInput struct {
// contains filtered or unexported fields
}
type RecentStorageMockAddObjectWithTLLExpectation ¶
type RecentStorageMockAddObjectWithTLLExpectation struct {
// contains filtered or unexported fields
}
type RecentStorageMockAddObjectWithTLLInput ¶
type RecentStorageMockAddObjectWithTLLInput struct {
// contains filtered or unexported fields
}
type RecentStorageMockAddPendingRequestExpectation ¶
type RecentStorageMockAddPendingRequestExpectation struct {
// contains filtered or unexported fields
}
type RecentStorageMockAddPendingRequestInput ¶
type RecentStorageMockAddPendingRequestInput struct {
// contains filtered or unexported fields
}
type RecentStorageMockClearObjectsExpectation ¶
type RecentStorageMockClearObjectsExpectation struct { }
type RecentStorageMockClearZeroTTLObjectsExpectation ¶
type RecentStorageMockClearZeroTTLObjectsExpectation struct { }
type RecentStorageMockGetObjectsExpectation ¶
type RecentStorageMockGetObjectsExpectation struct {
// contains filtered or unexported fields
}
type RecentStorageMockGetObjectsResult ¶
type RecentStorageMockGetObjectsResult struct {
// contains filtered or unexported fields
}
type RecentStorageMockGetRequestsExpectation ¶
type RecentStorageMockGetRequestsExpectation struct {
// contains filtered or unexported fields
}
type RecentStorageMockGetRequestsForObjectExpectation ¶
type RecentStorageMockGetRequestsForObjectExpectation struct {
// contains filtered or unexported fields
}
func (*RecentStorageMockGetRequestsForObjectExpectation) Return ¶
func (e *RecentStorageMockGetRequestsForObjectExpectation) Return(r []core.RecordID)
type RecentStorageMockGetRequestsForObjectInput ¶
type RecentStorageMockGetRequestsForObjectInput struct {
// contains filtered or unexported fields
}
type RecentStorageMockGetRequestsForObjectResult ¶
type RecentStorageMockGetRequestsForObjectResult struct {
// contains filtered or unexported fields
}
type RecentStorageMockGetRequestsResult ¶
type RecentStorageMockGetRequestsResult struct {
// contains filtered or unexported fields
}
type RecentStorageMockIsRecordIDCachedExpectation ¶
type RecentStorageMockIsRecordIDCachedExpectation struct {
// contains filtered or unexported fields
}
func (*RecentStorageMockIsRecordIDCachedExpectation) Return ¶
func (e *RecentStorageMockIsRecordIDCachedExpectation) Return(r bool)
type RecentStorageMockIsRecordIDCachedInput ¶
type RecentStorageMockIsRecordIDCachedInput struct {
// contains filtered or unexported fields
}
type RecentStorageMockIsRecordIDCachedResult ¶
type RecentStorageMockIsRecordIDCachedResult struct {
// contains filtered or unexported fields
}
type RecentStorageMockRemovePendingRequestExpectation ¶
type RecentStorageMockRemovePendingRequestExpectation struct {
// contains filtered or unexported fields
}
type RecentStorageMockRemovePendingRequestInput ¶
type RecentStorageMockRemovePendingRequestInput struct {
// contains filtered or unexported fields
}