Documentation ¶
Overview ¶
Package mock_operation is a generated GoMock package.
Index ¶
- type MockRepo
- func (m *MockRepo) Count(ids, kinds, inBlocks, accountIDs []string) (int64, error)
- func (m *MockRepo) EXPECT() *MockRepoMockRecorder
- func (m *MockRepo) EndorsementsFor(blockLevel int64) ([]models.Operation, error)
- func (m *MockRepo) Find(filter models.Operation) (bool, models.Operation, error)
- func (m *MockRepo) List(ids, kinds, inBlocks, accountIDs []string, limit, offset uint, since int64) ([]models.Operation, error)
- type MockRepoMockRecorder
- func (mr *MockRepoMockRecorder) Count(ids, kinds, inBlocks, accountIDs interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) EndorsementsFor(blockLevel interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) Find(filter interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) List(ids, kinds, inBlocks, accountIDs, limit, offset, since interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepo ¶
type MockRepo struct {
// contains filtered or unexported fields
}
MockRepo is a mock of Repo interface
func NewMockRepo ¶
func NewMockRepo(ctrl *gomock.Controller) *MockRepo
NewMockRepo creates a new mock instance
func (*MockRepo) EXPECT ¶
func (m *MockRepo) EXPECT() *MockRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRepo) EndorsementsFor ¶
EndorsementsFor mocks base method
type MockRepoMockRecorder ¶
type MockRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockRepoMockRecorder is the mock recorder for MockRepo
func (*MockRepoMockRecorder) Count ¶
func (mr *MockRepoMockRecorder) Count(ids, kinds, inBlocks, accountIDs interface{}) *gomock.Call
Count indicates an expected call of Count
func (*MockRepoMockRecorder) EndorsementsFor ¶
func (mr *MockRepoMockRecorder) EndorsementsFor(blockLevel interface{}) *gomock.Call
EndorsementsFor indicates an expected call of EndorsementsFor
func (*MockRepoMockRecorder) Find ¶
func (mr *MockRepoMockRecorder) Find(filter interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockRepoMockRecorder) List ¶
func (mr *MockRepoMockRecorder) List(ids, kinds, inBlocks, accountIDs, limit, offset, since interface{}) *gomock.Call
List indicates an expected call of List
Click to show internal directories.
Click to hide internal directories.