mock_operation

package
v0.0.0-...-71505b4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_operation is a generated GoMock package.

Index

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) Count

func (m *MockRepo) Count(ids, kinds, inBlocks, accountIDs []string) (int64, error)

Count mocks base method

func (*MockRepo) EXPECT

func (m *MockRepo) EXPECT() *MockRepoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRepo) EndorsementsFor

func (m *MockRepo) EndorsementsFor(blockLevel int64) ([]models.Operation, error)

EndorsementsFor mocks base method

func (*MockRepo) Find

func (m *MockRepo) Find(filter models.Operation) (bool, models.Operation, error)

Find mocks base method

func (*MockRepo) List

func (m *MockRepo) List(ids, kinds, inBlocks, accountIDs []string, limit, offset uint, since int64) ([]models.Operation, error)

List 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL