mocks

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 57 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccountKeeper

type MockAccountKeeper struct {
	// contains filtered or unexported fields
}

MockAccountKeeper is a mock of AccountKeeper interface

func NewMockAccountKeeper

func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper

NewMockAccountKeeper creates a new mock instance

func (*MockAccountKeeper) EXPECT

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

func (*MockAccountKeeper) Get

func (m *MockAccountKeeper) Get(address identifier.Address, blockNum ...uint64) *state.Account

Get mocks base method

func (*MockAccountKeeper) Update

func (m *MockAccountKeeper) Update(address identifier.Address, upd *state.Account)

Update mocks base method

type MockAccountKeeperMockRecorder

type MockAccountKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper

func (*MockAccountKeeperMockRecorder) Get

func (mr *MockAccountKeeperMockRecorder) Get(address interface{}, blockNum ...interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockAccountKeeperMockRecorder) Update

func (mr *MockAccountKeeperMockRecorder) Update(address, upd interface{}) *gomock.Call

Update indicates an expected call of Update

type MockAnnouncer

type MockAnnouncer struct {
	// contains filtered or unexported fields
}

MockAnnouncer is a mock of Announcer interface

func NewMockAnnouncer

func NewMockAnnouncer(ctrl *gomock.Controller) *MockAnnouncer

NewMockAnnouncer creates a new mock instance

func (*MockAnnouncer) Announce

func (m *MockAnnouncer) Announce(objType int, repo string, key []byte, doneCB func(error)) bool

Announce mocks base method

func (*MockAnnouncer) EXPECT

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

func (*MockAnnouncer) HasTask

func (m *MockAnnouncer) HasTask() bool

HasTask mocks base method

func (*MockAnnouncer) IsRunning

func (m *MockAnnouncer) IsRunning() bool

IsRunning mocks base method

func (*MockAnnouncer) NewSession

func (m *MockAnnouncer) NewSession() dht.Session

NewSession mocks base method

func (*MockAnnouncer) RegisterChecker

func (m *MockAnnouncer) RegisterChecker(objType int, checker dht.CheckFunc)

RegisterChecker mocks base method

func (*MockAnnouncer) Start

func (m *MockAnnouncer) Start()

Start mocks base method

func (*MockAnnouncer) Stop

func (m *MockAnnouncer) Stop()

Stop mocks base method

type MockAnnouncerMockRecorder

type MockAnnouncerMockRecorder struct {
	// contains filtered or unexported fields
}

MockAnnouncerMockRecorder is the mock recorder for MockAnnouncer

func (*MockAnnouncerMockRecorder) Announce

func (mr *MockAnnouncerMockRecorder) Announce(objType, repo, key, doneCB interface{}) *gomock.Call

Announce indicates an expected call of Announce

func (*MockAnnouncerMockRecorder) HasTask

func (mr *MockAnnouncerMockRecorder) HasTask() *gomock.Call

HasTask indicates an expected call of HasTask

func (*MockAnnouncerMockRecorder) IsRunning

func (mr *MockAnnouncerMockRecorder) IsRunning() *gomock.Call

IsRunning indicates an expected call of IsRunning

func (*MockAnnouncerMockRecorder) NewSession

func (mr *MockAnnouncerMockRecorder) NewSession() *gomock.Call

NewSession indicates an expected call of NewSession

func (*MockAnnouncerMockRecorder) RegisterChecker

func (mr *MockAnnouncerMockRecorder) RegisterChecker(objType, checker interface{}) *gomock.Call

RegisterChecker indicates an expected call of RegisterChecker

func (*MockAnnouncerMockRecorder) Start

func (mr *MockAnnouncerMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start

func (*MockAnnouncerMockRecorder) Stop

Stop indicates an expected call of Stop

type MockAnnouncerService

type MockAnnouncerService struct {
	// contains filtered or unexported fields
}

MockAnnouncerService is a mock of AnnouncerService interface

func NewMockAnnouncerService

func NewMockAnnouncerService(ctrl *gomock.Controller) *MockAnnouncerService

NewMockAnnouncerService creates a new mock instance

func (*MockAnnouncerService) Announce

func (m *MockAnnouncerService) Announce(objType int, repo string, key []byte, doneCB func(error)) bool

Announce mocks base method

func (*MockAnnouncerService) EXPECT

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

type MockAnnouncerServiceMockRecorder

type MockAnnouncerServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockAnnouncerServiceMockRecorder is the mock recorder for MockAnnouncerService

func (*MockAnnouncerServiceMockRecorder) Announce

func (mr *MockAnnouncerServiceMockRecorder) Announce(objType, repo, key, doneCB interface{}) *gomock.Call

Announce indicates an expected call of Announce

type MockAtomicLogic

type MockAtomicLogic struct {
	// contains filtered or unexported fields
}

MockAtomicLogic is a mock of AtomicLogic interface

func NewMockAtomicLogic

func NewMockAtomicLogic(ctrl *gomock.Controller) *MockAtomicLogic

NewMockAtomicLogic creates a new mock instance

func (*MockAtomicLogic) AccountKeeper

func (m *MockAtomicLogic) AccountKeeper() core.AccountKeeper

AccountKeeper mocks base method

func (*MockAtomicLogic) ApplyGenesisState

func (m *MockAtomicLogic) ApplyGenesisState(state json.RawMessage) error

ApplyGenesisState mocks base method

func (*MockAtomicLogic) ApplyProposals added in v0.0.29

func (m *MockAtomicLogic) ApplyProposals(block *state.BlockInfo) error

ApplyProposals mocks base method

func (*MockAtomicLogic) Commit

func (m *MockAtomicLogic) Commit() error

Commit mocks base method

func (*MockAtomicLogic) Config

func (m *MockAtomicLogic) Config() *config.AppConfig

Config mocks base method

func (*MockAtomicLogic) DB

func (m *MockAtomicLogic) DB() types.Engine

DB mocks base method

func (*MockAtomicLogic) DHTKeeper

func (m *MockAtomicLogic) DHTKeeper() core.DHTKeeper

DHTKeeper mocks base method

func (*MockAtomicLogic) Discard

func (m *MockAtomicLogic) Discard()

Discard mocks base method

func (*MockAtomicLogic) DrySend

func (m *MockAtomicLogic) DrySend(sender interface{}, value, fee util.String, nonce uint64, allowNonceGap bool, chainHeight uint64) error

DrySend mocks base method

func (*MockAtomicLogic) EXPECT

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

func (*MockAtomicLogic) ExecTx

ExecTx mocks base method

func (*MockAtomicLogic) GetDBTx

func (m *MockAtomicLogic) GetDBTx() types.Tx

GetDBTx mocks base method

func (*MockAtomicLogic) GetMempoolReactor

func (m *MockAtomicLogic) GetMempoolReactor() core.MempoolReactor

GetMempoolReactor mocks base method

func (*MockAtomicLogic) GetRemoteServer

func (m *MockAtomicLogic) GetRemoteServer() core.RemoteServer

GetRemoteServer mocks base method

func (*MockAtomicLogic) GetTicketManager

func (m *MockAtomicLogic) GetTicketManager() types0.TicketManager

GetTicketManager mocks base method

func (*MockAtomicLogic) NamespaceKeeper

func (m *MockAtomicLogic) NamespaceKeeper() core.NamespaceKeeper

NamespaceKeeper mocks base method

func (*MockAtomicLogic) OnEndBlock

func (m *MockAtomicLogic) OnEndBlock(block *state.BlockInfo) error

OnEndBlock mocks base method

func (*MockAtomicLogic) PushKeyKeeper

func (m *MockAtomicLogic) PushKeyKeeper() core.PushKeyKeeper

PushKeyKeeper mocks base method

func (*MockAtomicLogic) RepoKeeper

func (m *MockAtomicLogic) RepoKeeper() core.RepoKeeper

RepoKeeper mocks base method

func (*MockAtomicLogic) RepoSyncInfoKeeper

func (m *MockAtomicLogic) RepoSyncInfoKeeper() core.RepoSyncInfoKeeper

RepoSyncInfoKeeper mocks base method

func (*MockAtomicLogic) SetMempoolReactor

func (m *MockAtomicLogic) SetMempoolReactor(mr core.MempoolReactor)

SetMempoolReactor mocks base method

func (*MockAtomicLogic) SetRemoteServer

func (m_2 *MockAtomicLogic) SetRemoteServer(m core.RemoteServer)

SetRemoteServer mocks base method

func (*MockAtomicLogic) SetTicketManager

func (m *MockAtomicLogic) SetTicketManager(tm types0.TicketManager)

SetTicketManager mocks base method

func (*MockAtomicLogic) StateTree

func (m *MockAtomicLogic) StateTree() tree.Tree

StateTree mocks base method

func (*MockAtomicLogic) SysKeeper

func (m *MockAtomicLogic) SysKeeper() core.SystemKeeper

SysKeeper mocks base method

func (*MockAtomicLogic) Validator

func (m *MockAtomicLogic) Validator() core.ValidatorLogic

Validator mocks base method

func (*MockAtomicLogic) ValidatorKeeper

func (m *MockAtomicLogic) ValidatorKeeper() core.ValidatorKeeper

ValidatorKeeper mocks base method

type MockAtomicLogicMockRecorder

type MockAtomicLogicMockRecorder struct {
	// contains filtered or unexported fields
}

MockAtomicLogicMockRecorder is the mock recorder for MockAtomicLogic

func (*MockAtomicLogicMockRecorder) AccountKeeper

func (mr *MockAtomicLogicMockRecorder) AccountKeeper() *gomock.Call

AccountKeeper indicates an expected call of AccountKeeper

func (*MockAtomicLogicMockRecorder) ApplyGenesisState

func (mr *MockAtomicLogicMockRecorder) ApplyGenesisState(state interface{}) *gomock.Call

ApplyGenesisState indicates an expected call of ApplyGenesisState

func (*MockAtomicLogicMockRecorder) ApplyProposals added in v0.0.29

func (mr *MockAtomicLogicMockRecorder) ApplyProposals(block interface{}) *gomock.Call

ApplyProposals indicates an expected call of ApplyProposals

func (*MockAtomicLogicMockRecorder) Commit

func (mr *MockAtomicLogicMockRecorder) Commit() *gomock.Call

Commit indicates an expected call of Commit

func (*MockAtomicLogicMockRecorder) Config

func (mr *MockAtomicLogicMockRecorder) Config() *gomock.Call

Config indicates an expected call of Config

func (*MockAtomicLogicMockRecorder) DB

DB indicates an expected call of DB

func (*MockAtomicLogicMockRecorder) DHTKeeper

func (mr *MockAtomicLogicMockRecorder) DHTKeeper() *gomock.Call

DHTKeeper indicates an expected call of DHTKeeper

func (*MockAtomicLogicMockRecorder) Discard

func (mr *MockAtomicLogicMockRecorder) Discard() *gomock.Call

Discard indicates an expected call of Discard

func (*MockAtomicLogicMockRecorder) DrySend

func (mr *MockAtomicLogicMockRecorder) DrySend(sender, value, fee, nonce, allowNonceGap, chainHeight interface{}) *gomock.Call

DrySend indicates an expected call of DrySend

func (*MockAtomicLogicMockRecorder) ExecTx

func (mr *MockAtomicLogicMockRecorder) ExecTx(args interface{}) *gomock.Call

ExecTx indicates an expected call of ExecTx

func (*MockAtomicLogicMockRecorder) GetDBTx

func (mr *MockAtomicLogicMockRecorder) GetDBTx() *gomock.Call

GetDBTx indicates an expected call of GetDBTx

func (*MockAtomicLogicMockRecorder) GetMempoolReactor

func (mr *MockAtomicLogicMockRecorder) GetMempoolReactor() *gomock.Call

GetMempoolReactor indicates an expected call of GetMempoolReactor

func (*MockAtomicLogicMockRecorder) GetRemoteServer

func (mr *MockAtomicLogicMockRecorder) GetRemoteServer() *gomock.Call

GetRemoteServer indicates an expected call of GetRemoteServer

func (*MockAtomicLogicMockRecorder) GetTicketManager

func (mr *MockAtomicLogicMockRecorder) GetTicketManager() *gomock.Call

GetTicketManager indicates an expected call of GetTicketManager

func (*MockAtomicLogicMockRecorder) NamespaceKeeper

func (mr *MockAtomicLogicMockRecorder) NamespaceKeeper() *gomock.Call

NamespaceKeeper indicates an expected call of NamespaceKeeper

func (*MockAtomicLogicMockRecorder) OnEndBlock

func (mr *MockAtomicLogicMockRecorder) OnEndBlock(block interface{}) *gomock.Call

OnEndBlock indicates an expected call of OnEndBlock

func (*MockAtomicLogicMockRecorder) PushKeyKeeper

func (mr *MockAtomicLogicMockRecorder) PushKeyKeeper() *gomock.Call

PushKeyKeeper indicates an expected call of PushKeyKeeper

func (*MockAtomicLogicMockRecorder) RepoKeeper

func (mr *MockAtomicLogicMockRecorder) RepoKeeper() *gomock.Call

RepoKeeper indicates an expected call of RepoKeeper

func (*MockAtomicLogicMockRecorder) RepoSyncInfoKeeper

func (mr *MockAtomicLogicMockRecorder) RepoSyncInfoKeeper() *gomock.Call

RepoSyncInfoKeeper indicates an expected call of RepoSyncInfoKeeper

func (*MockAtomicLogicMockRecorder) SetMempoolReactor

func (mr_2 *MockAtomicLogicMockRecorder) SetMempoolReactor(mr interface{}) *gomock.Call

SetMempoolReactor indicates an expected call of SetMempoolReactor

func (*MockAtomicLogicMockRecorder) SetRemoteServer

func (mr *MockAtomicLogicMockRecorder) SetRemoteServer(m interface{}) *gomock.Call

SetRemoteServer indicates an expected call of SetRemoteServer

func (*MockAtomicLogicMockRecorder) SetTicketManager

func (mr *MockAtomicLogicMockRecorder) SetTicketManager(tm interface{}) *gomock.Call

SetTicketManager indicates an expected call of SetTicketManager

func (*MockAtomicLogicMockRecorder) StateTree

func (mr *MockAtomicLogicMockRecorder) StateTree() *gomock.Call

StateTree indicates an expected call of StateTree

func (*MockAtomicLogicMockRecorder) SysKeeper

func (mr *MockAtomicLogicMockRecorder) SysKeeper() *gomock.Call

SysKeeper indicates an expected call of SysKeeper

func (*MockAtomicLogicMockRecorder) Validator

func (mr *MockAtomicLogicMockRecorder) Validator() *gomock.Call

Validator indicates an expected call of Validator

func (*MockAtomicLogicMockRecorder) ValidatorKeeper

func (mr *MockAtomicLogicMockRecorder) ValidatorKeeper() *gomock.Call

ValidatorKeeper indicates an expected call of ValidatorKeeper

type MockBalanceAccount

type MockBalanceAccount struct {
	// contains filtered or unexported fields
}

MockBalanceAccount is a mock of BalanceAccount interface

func NewMockBalanceAccount

func NewMockBalanceAccount(ctrl *gomock.Controller) *MockBalanceAccount

NewMockBalanceAccount creates a new mock instance

func (*MockBalanceAccount) Clean

func (m *MockBalanceAccount) Clean(chainHeight uint64)

Clean mocks base method

func (*MockBalanceAccount) EXPECT

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

func (*MockBalanceAccount) GetBalance

func (m *MockBalanceAccount) GetBalance() util.String

GetBalance mocks base method

func (*MockBalanceAccount) SetBalance

func (m *MockBalanceAccount) SetBalance(bal string)

SetBalance mocks base method

type MockBalanceAccountMockRecorder

type MockBalanceAccountMockRecorder struct {
	// contains filtered or unexported fields
}

MockBalanceAccountMockRecorder is the mock recorder for MockBalanceAccount

func (*MockBalanceAccountMockRecorder) Clean

func (mr *MockBalanceAccountMockRecorder) Clean(chainHeight interface{}) *gomock.Call

Clean indicates an expected call of Clean

func (*MockBalanceAccountMockRecorder) GetBalance

func (mr *MockBalanceAccountMockRecorder) GetBalance() *gomock.Call

GetBalance indicates an expected call of GetBalance

func (*MockBalanceAccountMockRecorder) SetBalance

func (mr *MockBalanceAccountMockRecorder) SetBalance(bal interface{}) *gomock.Call

SetBalance indicates an expected call of SetBalance

type MockBlockGetter

type MockBlockGetter struct {
	// contains filtered or unexported fields
}

MockBlockGetter is a mock of BlockGetter interface

func NewMockBlockGetter

func NewMockBlockGetter(ctrl *gomock.Controller) *MockBlockGetter

NewMockBlockGetter creates a new mock instance

func (*MockBlockGetter) EXPECT

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

func (*MockBlockGetter) GetBlock

func (m *MockBlockGetter) GetBlock(height int64) *types.Block

GetBlock mocks base method

func (*MockBlockGetter) GetChainHeight

func (m *MockBlockGetter) GetChainHeight() int64

GetChainHeight mocks base method

type MockBlockGetterMockRecorder

type MockBlockGetterMockRecorder struct {
	// contains filtered or unexported fields
}

MockBlockGetterMockRecorder is the mock recorder for MockBlockGetter

func (*MockBlockGetterMockRecorder) GetBlock

func (mr *MockBlockGetterMockRecorder) GetBlock(height interface{}) *gomock.Call

GetBlock indicates an expected call of GetBlock

func (*MockBlockGetterMockRecorder) GetChainHeight

func (mr *MockBlockGetterMockRecorder) GetChainHeight() *gomock.Call

GetChainHeight indicates an expected call of GetChainHeight

type MockCommit

type MockCommit struct {
	// contains filtered or unexported fields
}

MockCommit is a mock of Commit interface

func NewMockCommit

func NewMockCommit(ctrl *gomock.Controller) *MockCommit

NewMockCommit creates a new mock instance

func (*MockCommit) Decode

func (m *MockCommit) Decode(arg0 plumbing.EncodedObject) error

Decode mocks base method

func (*MockCommit) EXPECT

func (m *MockCommit) EXPECT() *MockCommitMockRecorder

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

func (*MockCommit) Encode

func (m *MockCommit) Encode(arg0 plumbing.EncodedObject) error

Encode mocks base method

func (*MockCommit) File

func (m *MockCommit) File(arg0 string) (*object.File, error)

File mocks base method

func (*MockCommit) GetAuthor

func (m *MockCommit) GetAuthor() *object.Signature

GetAuthor mocks base method

func (*MockCommit) GetCommitter

func (m *MockCommit) GetCommitter() *object.Signature

GetCommitter mocks base method

func (*MockCommit) GetHash

func (m *MockCommit) GetHash() plumbing.Hash

GetHash mocks base method

func (*MockCommit) GetTreeHash

func (m *MockCommit) GetTreeHash() plumbing.Hash

GetTreeHash mocks base method

func (*MockCommit) ID

func (m *MockCommit) ID() plumbing.Hash

ID mocks base method

func (*MockCommit) IsParent

func (m *MockCommit) IsParent(arg0 string) (bool, types.Commit)

IsParent mocks base method

func (*MockCommit) NumParents

func (m *MockCommit) NumParents() int

NumParents mocks base method

func (*MockCommit) Parent

func (m *MockCommit) Parent(arg0 int) (types.Commit, error)

Parent mocks base method

func (*MockCommit) Tree

func (m *MockCommit) Tree() (*object.Tree, error)

Tree mocks base method

func (*MockCommit) Type

func (m *MockCommit) Type() plumbing.ObjectType

Type mocks base method

func (*MockCommit) UnWrap

func (m *MockCommit) UnWrap() *object.Commit

UnWrap mocks base method

type MockCommitMockRecorder

type MockCommitMockRecorder struct {
	// contains filtered or unexported fields
}

MockCommitMockRecorder is the mock recorder for MockCommit

func (*MockCommitMockRecorder) Decode

func (mr *MockCommitMockRecorder) Decode(arg0 interface{}) *gomock.Call

Decode indicates an expected call of Decode

func (*MockCommitMockRecorder) Encode

func (mr *MockCommitMockRecorder) Encode(arg0 interface{}) *gomock.Call

Encode indicates an expected call of Encode

func (*MockCommitMockRecorder) File

func (mr *MockCommitMockRecorder) File(arg0 interface{}) *gomock.Call

File indicates an expected call of File

func (*MockCommitMockRecorder) GetAuthor

func (mr *MockCommitMockRecorder) GetAuthor() *gomock.Call

GetAuthor indicates an expected call of GetAuthor

func (*MockCommitMockRecorder) GetCommitter

func (mr *MockCommitMockRecorder) GetCommitter() *gomock.Call

GetCommitter indicates an expected call of GetCommitter

func (*MockCommitMockRecorder) GetHash

func (mr *MockCommitMockRecorder) GetHash() *gomock.Call

GetHash indicates an expected call of GetHash

func (*MockCommitMockRecorder) GetTreeHash

func (mr *MockCommitMockRecorder) GetTreeHash() *gomock.Call

GetTreeHash indicates an expected call of GetTreeHash

func (*MockCommitMockRecorder) ID

ID indicates an expected call of ID

func (*MockCommitMockRecorder) IsParent

func (mr *MockCommitMockRecorder) IsParent(arg0 interface{}) *gomock.Call

IsParent indicates an expected call of IsParent

func (*MockCommitMockRecorder) NumParents

func (mr *MockCommitMockRecorder) NumParents() *gomock.Call

NumParents indicates an expected call of NumParents

func (*MockCommitMockRecorder) Parent

func (mr *MockCommitMockRecorder) Parent(arg0 interface{}) *gomock.Call

Parent indicates an expected call of Parent

func (*MockCommitMockRecorder) Tree

func (mr *MockCommitMockRecorder) Tree() *gomock.Call

Tree indicates an expected call of Tree

func (*MockCommitMockRecorder) Type

func (mr *MockCommitMockRecorder) Type() *gomock.Call

Type indicates an expected call of Type

func (*MockCommitMockRecorder) UnWrap

func (mr *MockCommitMockRecorder) UnWrap() *gomock.Call

UnWrap indicates an expected call of UnWrap

type MockConn

type MockConn struct {
	// contains filtered or unexported fields
}

MockConn is a mock of Conn interface

func NewMockConn

func NewMockConn(ctrl *gomock.Controller) *MockConn

NewMockConn creates a new mock instance

func (*MockConn) Close

func (m *MockConn) Close() error

Close mocks base method

func (*MockConn) EXPECT

func (m *MockConn) EXPECT() *MockConnMockRecorder

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

func (*MockConn) GetStreams

func (m *MockConn) GetStreams() []network.Stream

GetStreams mocks base method

func (*MockConn) ID

func (m *MockConn) ID() string

ID mocks base method

func (*MockConn) LocalMultiaddr

func (m *MockConn) LocalMultiaddr() multiaddr.Multiaddr

LocalMultiaddr mocks base method

func (*MockConn) LocalPeer

func (m *MockConn) LocalPeer() peer.ID

LocalPeer mocks base method

func (*MockConn) LocalPrivateKey

func (m *MockConn) LocalPrivateKey() crypto.PrivKey

LocalPrivateKey mocks base method

func (*MockConn) NewStream

func (m *MockConn) NewStream() (network.Stream, error)

NewStream mocks base method

func (*MockConn) RemoteMultiaddr

func (m *MockConn) RemoteMultiaddr() multiaddr.Multiaddr

RemoteMultiaddr mocks base method

func (*MockConn) RemotePeer

func (m *MockConn) RemotePeer() peer.ID

RemotePeer mocks base method

func (*MockConn) RemotePublicKey

func (m *MockConn) RemotePublicKey() crypto.PubKey

RemotePublicKey mocks base method

func (*MockConn) Stat

func (m *MockConn) Stat() network.Stat

Stat mocks base method

type MockConnMockRecorder

type MockConnMockRecorder struct {
	// contains filtered or unexported fields
}

MockConnMockRecorder is the mock recorder for MockConn

func (*MockConnMockRecorder) Close

func (mr *MockConnMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockConnMockRecorder) GetStreams

func (mr *MockConnMockRecorder) GetStreams() *gomock.Call

GetStreams indicates an expected call of GetStreams

func (*MockConnMockRecorder) ID

func (mr *MockConnMockRecorder) ID() *gomock.Call

ID indicates an expected call of ID

func (*MockConnMockRecorder) LocalMultiaddr

func (mr *MockConnMockRecorder) LocalMultiaddr() *gomock.Call

LocalMultiaddr indicates an expected call of LocalMultiaddr

func (*MockConnMockRecorder) LocalPeer

func (mr *MockConnMockRecorder) LocalPeer() *gomock.Call

LocalPeer indicates an expected call of LocalPeer

func (*MockConnMockRecorder) LocalPrivateKey

func (mr *MockConnMockRecorder) LocalPrivateKey() *gomock.Call

LocalPrivateKey indicates an expected call of LocalPrivateKey

func (*MockConnMockRecorder) NewStream

func (mr *MockConnMockRecorder) NewStream() *gomock.Call

NewStream indicates an expected call of NewStream

func (*MockConnMockRecorder) RemoteMultiaddr

func (mr *MockConnMockRecorder) RemoteMultiaddr() *gomock.Call

RemoteMultiaddr indicates an expected call of RemoteMultiaddr

func (*MockConnMockRecorder) RemotePeer

func (mr *MockConnMockRecorder) RemotePeer() *gomock.Call

RemotePeer indicates an expected call of RemotePeer

func (*MockConnMockRecorder) RemotePublicKey

func (mr *MockConnMockRecorder) RemotePublicKey() *gomock.Call

RemotePublicKey indicates an expected call of RemotePublicKey

func (*MockConnMockRecorder) Stat

func (mr *MockConnMockRecorder) Stat() *gomock.Call

Stat indicates an expected call of Stat

type MockConsoleUtilModule

type MockConsoleUtilModule struct {
	// contains filtered or unexported fields
}

MockConsoleUtilModule is a mock of ConsoleUtilModule interface

func NewMockConsoleUtilModule

func NewMockConsoleUtilModule(ctrl *gomock.Controller) *MockConsoleUtilModule

NewMockConsoleUtilModule creates a new mock instance

func (*MockConsoleUtilModule) ConfigureVM

func (m *MockConsoleUtilModule) ConfigureVM(vm *otto.Otto) prompt.Completer

ConfigureVM mocks base method

func (*MockConsoleUtilModule) Diff

func (m *MockConsoleUtilModule) Diff(a, b interface{})

Diff mocks base method

func (*MockConsoleUtilModule) Dump

func (m *MockConsoleUtilModule) Dump(objs ...interface{})

Dump mocks base method

func (*MockConsoleUtilModule) EXPECT

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

func (*MockConsoleUtilModule) Eval

func (m *MockConsoleUtilModule) Eval(src interface{}) otto.Value

Eval mocks base method

func (*MockConsoleUtilModule) EvalFile

func (m *MockConsoleUtilModule) EvalFile(file string) otto.Value

EvalFile mocks base method

func (*MockConsoleUtilModule) GenKey

func (m *MockConsoleUtilModule) GenKey(seed ...int64) util.Map

GenKey mocks base method

func (*MockConsoleUtilModule) PrettyPrint

func (m *MockConsoleUtilModule) PrettyPrint(values ...interface{})

PrettyPrint mocks base method

func (*MockConsoleUtilModule) ReadFile

func (m *MockConsoleUtilModule) ReadFile(filename string) []byte

ReadFile mocks base method

func (*MockConsoleUtilModule) ReadTextFile

func (m *MockConsoleUtilModule) ReadTextFile(filename string) string

ReadTextFile mocks base method

func (*MockConsoleUtilModule) TreasuryAddress

func (m *MockConsoleUtilModule) TreasuryAddress() string

TreasuryAddress mocks base method

type MockConsoleUtilModuleMockRecorder

type MockConsoleUtilModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockConsoleUtilModuleMockRecorder is the mock recorder for MockConsoleUtilModule

func (*MockConsoleUtilModuleMockRecorder) ConfigureVM

func (mr *MockConsoleUtilModuleMockRecorder) ConfigureVM(vm interface{}) *gomock.Call

ConfigureVM indicates an expected call of ConfigureVM

func (*MockConsoleUtilModuleMockRecorder) Diff

func (mr *MockConsoleUtilModuleMockRecorder) Diff(a, b interface{}) *gomock.Call

Diff indicates an expected call of Diff

func (*MockConsoleUtilModuleMockRecorder) Dump

func (mr *MockConsoleUtilModuleMockRecorder) Dump(objs ...interface{}) *gomock.Call

Dump indicates an expected call of Dump

func (*MockConsoleUtilModuleMockRecorder) Eval

func (mr *MockConsoleUtilModuleMockRecorder) Eval(src interface{}) *gomock.Call

Eval indicates an expected call of Eval

func (*MockConsoleUtilModuleMockRecorder) EvalFile

func (mr *MockConsoleUtilModuleMockRecorder) EvalFile(file interface{}) *gomock.Call

EvalFile indicates an expected call of EvalFile

func (*MockConsoleUtilModuleMockRecorder) GenKey

func (mr *MockConsoleUtilModuleMockRecorder) GenKey(seed ...interface{}) *gomock.Call

GenKey indicates an expected call of GenKey

func (*MockConsoleUtilModuleMockRecorder) PrettyPrint

func (mr *MockConsoleUtilModuleMockRecorder) PrettyPrint(values ...interface{}) *gomock.Call

PrettyPrint indicates an expected call of PrettyPrint

func (*MockConsoleUtilModuleMockRecorder) ReadFile

func (mr *MockConsoleUtilModuleMockRecorder) ReadFile(filename interface{}) *gomock.Call

ReadFile indicates an expected call of ReadFile

func (*MockConsoleUtilModuleMockRecorder) ReadTextFile

func (mr *MockConsoleUtilModuleMockRecorder) ReadTextFile(filename interface{}) *gomock.Call

ReadTextFile indicates an expected call of ReadTextFile

func (*MockConsoleUtilModuleMockRecorder) TreasuryAddress

func (mr *MockConsoleUtilModuleMockRecorder) TreasuryAddress() *gomock.Call

TreasuryAddress indicates an expected call of TreasuryAddress

type MockDHT

type MockDHT struct {
	// contains filtered or unexported fields
}

MockDHT is a mock of DHT interface

func NewMockDHT

func NewMockDHT(ctrl *gomock.Controller) *MockDHT

NewMockDHT creates a new mock instance

func (*MockDHT) Announce

func (m *MockDHT) Announce(objType int, repo string, key []byte, doneCB func(error)) bool

Announce mocks base method

func (*MockDHT) DHT

func (m *MockDHT) DHT() *dht.IpfsDHT

DHT mocks base method

func (*MockDHT) EXPECT

func (m *MockDHT) EXPECT() *MockDHTMockRecorder

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

func (*MockDHT) GetProviders

func (m *MockDHT) GetProviders(ctx context.Context, key []byte) ([]peer.AddrInfo, error)

GetProviders mocks base method

func (*MockDHT) Host

func (m *MockDHT) Host() host.Host

Host mocks base method

func (*MockDHT) Lookup

func (m *MockDHT) Lookup(ctx context.Context, key string) ([]byte, error)

Lookup mocks base method

func (*MockDHT) NewAnnouncerSession

func (m *MockDHT) NewAnnouncerSession() dht0.Session

NewAnnouncerSession mocks base method

func (*MockDHT) ObjectStreamer

func (m *MockDHT) ObjectStreamer() dht0.Streamer

ObjectStreamer mocks base method

func (*MockDHT) Peers

func (m *MockDHT) Peers() []string

Peers mocks base method

func (*MockDHT) RegisterChecker

func (m *MockDHT) RegisterChecker(objType int, f dht0.CheckFunc)

RegisterChecker mocks base method

func (*MockDHT) Start

func (m *MockDHT) Start() error

Start mocks base method

func (*MockDHT) Stop

func (m *MockDHT) Stop() error

Stop mocks base method

func (*MockDHT) Store

func (m *MockDHT) Store(ctx context.Context, key string, value []byte) error

Store mocks base method

type MockDHTKeeper

type MockDHTKeeper struct {
	// contains filtered or unexported fields
}

MockDHTKeeper is a mock of DHTKeeper interface

func NewMockDHTKeeper

func NewMockDHTKeeper(ctrl *gomock.Controller) *MockDHTKeeper

NewMockDHTKeeper creates a new mock instance

func (*MockDHTKeeper) AddToAnnounceList

func (m *MockDHTKeeper) AddToAnnounceList(key []byte, repo string, objType int, announceTime int64) error

AddToAnnounceList mocks base method

func (*MockDHTKeeper) EXPECT

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

func (*MockDHTKeeper) IterateAnnounceList

func (m *MockDHTKeeper) IterateAnnounceList(it func([]byte, *core.AnnounceListEntry))

IterateAnnounceList mocks base method

func (*MockDHTKeeper) RemoveFromAnnounceList

func (m *MockDHTKeeper) RemoveFromAnnounceList(key []byte) error

RemoveFromAnnounceList mocks base method

type MockDHTKeeperMockRecorder

type MockDHTKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockDHTKeeperMockRecorder is the mock recorder for MockDHTKeeper

func (*MockDHTKeeperMockRecorder) AddToAnnounceList

func (mr *MockDHTKeeperMockRecorder) AddToAnnounceList(key, repo, objType, announceTime interface{}) *gomock.Call

AddToAnnounceList indicates an expected call of AddToAnnounceList

func (*MockDHTKeeperMockRecorder) IterateAnnounceList

func (mr *MockDHTKeeperMockRecorder) IterateAnnounceList(it interface{}) *gomock.Call

IterateAnnounceList indicates an expected call of IterateAnnounceList

func (*MockDHTKeeperMockRecorder) RemoveFromAnnounceList

func (mr *MockDHTKeeperMockRecorder) RemoveFromAnnounceList(key interface{}) *gomock.Call

RemoveFromAnnounceList indicates an expected call of RemoveFromAnnounceList

type MockDHTMockRecorder

type MockDHTMockRecorder struct {
	// contains filtered or unexported fields
}

MockDHTMockRecorder is the mock recorder for MockDHT

func (*MockDHTMockRecorder) Announce

func (mr *MockDHTMockRecorder) Announce(objType, repo, key, doneCB interface{}) *gomock.Call

Announce indicates an expected call of Announce

func (*MockDHTMockRecorder) DHT

func (mr *MockDHTMockRecorder) DHT() *gomock.Call

DHT indicates an expected call of DHT

func (*MockDHTMockRecorder) GetProviders

func (mr *MockDHTMockRecorder) GetProviders(ctx, key interface{}) *gomock.Call

GetProviders indicates an expected call of GetProviders

func (*MockDHTMockRecorder) Host

func (mr *MockDHTMockRecorder) Host() *gomock.Call

Host indicates an expected call of Host

func (*MockDHTMockRecorder) Lookup

func (mr *MockDHTMockRecorder) Lookup(ctx, key interface{}) *gomock.Call

Lookup indicates an expected call of Lookup

func (*MockDHTMockRecorder) NewAnnouncerSession

func (mr *MockDHTMockRecorder) NewAnnouncerSession() *gomock.Call

NewAnnouncerSession indicates an expected call of NewAnnouncerSession

func (*MockDHTMockRecorder) ObjectStreamer

func (mr *MockDHTMockRecorder) ObjectStreamer() *gomock.Call

ObjectStreamer indicates an expected call of ObjectStreamer

func (*MockDHTMockRecorder) Peers

func (mr *MockDHTMockRecorder) Peers() *gomock.Call

Peers indicates an expected call of Peers

func (*MockDHTMockRecorder) RegisterChecker

func (mr *MockDHTMockRecorder) RegisterChecker(objType, f interface{}) *gomock.Call

RegisterChecker indicates an expected call of RegisterChecker

func (*MockDHTMockRecorder) Start

func (mr *MockDHTMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start

func (*MockDHTMockRecorder) Stop

func (mr *MockDHTMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop

func (*MockDHTMockRecorder) Store

func (mr *MockDHTMockRecorder) Store(ctx, key, value interface{}) *gomock.Call

Store indicates an expected call of Store

type MockDHTModule

type MockDHTModule struct {
	// contains filtered or unexported fields
}

MockDHTModule is a mock of DHTModule interface

func NewMockDHTModule

func NewMockDHTModule(ctrl *gomock.Controller) *MockDHTModule

NewMockDHTModule creates a new mock instance

func (*MockDHTModule) Announce

func (m *MockDHTModule) Announce(key string)

Announce mocks base method

func (*MockDHTModule) ConfigureVM

func (m *MockDHTModule) ConfigureVM(vm *otto.Otto) prompt.Completer

ConfigureVM mocks base method

func (*MockDHTModule) EXPECT

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

func (*MockDHTModule) GetPeers

func (m *MockDHTModule) GetPeers() []string

GetPeers mocks base method

func (*MockDHTModule) GetProviders

func (m *MockDHTModule) GetProviders(key string) []util.Map

GetProviders mocks base method

func (*MockDHTModule) GetRepoObjectProviders

func (m *MockDHTModule) GetRepoObjectProviders(key string) []util.Map

GetRepoObjectProviders mocks base method

func (*MockDHTModule) Lookup

func (m *MockDHTModule) Lookup(key string) string

Lookup mocks base method

func (*MockDHTModule) Store

func (m *MockDHTModule) Store(key, val string)

Store mocks base method

type MockDHTModuleMockRecorder

type MockDHTModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockDHTModuleMockRecorder is the mock recorder for MockDHTModule

func (*MockDHTModuleMockRecorder) Announce

func (mr *MockDHTModuleMockRecorder) Announce(key interface{}) *gomock.Call

Announce indicates an expected call of Announce

func (*MockDHTModuleMockRecorder) ConfigureVM

func (mr *MockDHTModuleMockRecorder) ConfigureVM(vm interface{}) *gomock.Call

ConfigureVM indicates an expected call of ConfigureVM

func (*MockDHTModuleMockRecorder) GetPeers

func (mr *MockDHTModuleMockRecorder) GetPeers() *gomock.Call

GetPeers indicates an expected call of GetPeers

func (*MockDHTModuleMockRecorder) GetProviders

func (mr *MockDHTModuleMockRecorder) GetProviders(key interface{}) *gomock.Call

GetProviders indicates an expected call of GetProviders

func (*MockDHTModuleMockRecorder) GetRepoObjectProviders

func (mr *MockDHTModuleMockRecorder) GetRepoObjectProviders(key interface{}) *gomock.Call

GetRepoObjectProviders indicates an expected call of GetRepoObjectProviders

func (*MockDHTModuleMockRecorder) Lookup

func (mr *MockDHTModuleMockRecorder) Lookup(key interface{}) *gomock.Call

Lookup indicates an expected call of Lookup

func (*MockDHTModuleMockRecorder) Store

func (mr *MockDHTModuleMockRecorder) Store(key, val interface{}) *gomock.Call

Store indicates an expected call of Store

type MockDevModule

type MockDevModule struct {
	// contains filtered or unexported fields
}

MockDevModule is a mock of DevModule interface

func NewMockDevModule

func NewMockDevModule(ctrl *gomock.Controller) *MockDevModule

NewMockDevModule creates a new mock instance

func (*MockDevModule) ConfigureVM

func (m *MockDevModule) ConfigureVM(vm *otto.Otto) prompt.Completer

ConfigureVM mocks base method

func (*MockDevModule) EXPECT

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

func (*MockDevModule) GetDevUserAccountKey

func (m *MockDevModule) GetDevUserAccountKey() string

GetDevUserAccountKey mocks base method

func (*MockDevModule) GetDevUserAddress

func (m *MockDevModule) GetDevUserAddress() string

GetDevUserAddress mocks base method

type MockDevModuleMockRecorder

type MockDevModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockDevModuleMockRecorder is the mock recorder for MockDevModule

func (*MockDevModuleMockRecorder) ConfigureVM

func (mr *MockDevModuleMockRecorder) ConfigureVM(vm interface{}) *gomock.Call

ConfigureVM indicates an expected call of ConfigureVM

func (*MockDevModuleMockRecorder) GetDevUserAccountKey

func (mr *MockDevModuleMockRecorder) GetDevUserAccountKey() *gomock.Call

GetDevUserAccountKey indicates an expected call of GetDevUserAccountKey

func (*MockDevModuleMockRecorder) GetDevUserAddress

func (mr *MockDevModuleMockRecorder) GetDevUserAddress() *gomock.Call

GetDevUserAddress indicates an expected call of GetDevUserAddress

type MockEndorsement

type MockEndorsement struct {
	// contains filtered or unexported fields
}

MockEndorsement is a mock of Endorsement interface

func NewMockEndorsement

func NewMockEndorsement(ctrl *gomock.Controller) *MockEndorsement

NewMockEndorsement creates a new mock instance

func (*MockEndorsement) Bytes

func (m *MockEndorsement) Bytes() []byte

Bytes mocks base method

func (*MockEndorsement) BytesAndID

func (m *MockEndorsement) BytesAndID() ([]byte, util.Bytes32)

BytesAndID mocks base method

func (*MockEndorsement) EXPECT

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

func (*MockEndorsement) ID

func (m *MockEndorsement) ID() util.Bytes32

ID mocks base method

type MockEndorsementMockRecorder

type MockEndorsementMockRecorder struct {
	// contains filtered or unexported fields
}

MockEndorsementMockRecorder is the mock recorder for MockEndorsement

func (*MockEndorsementMockRecorder) Bytes

Bytes indicates an expected call of Bytes

func (*MockEndorsementMockRecorder) BytesAndID

func (mr *MockEndorsementMockRecorder) BytesAndID() *gomock.Call

BytesAndID indicates an expected call of BytesAndID

func (*MockEndorsementMockRecorder) ID

ID indicates an expected call of ID

type MockExtManager

type MockExtManager struct {
	// contains filtered or unexported fields
}

MockExtManager is a mock of ExtManager interface

func NewMockExtManager

func NewMockExtManager(ctrl *gomock.Controller) *MockExtManager

NewMockExtManager creates a new mock instance

func (*MockExtManager) ConfigureVM

func (m *MockExtManager) ConfigureVM(vm *otto.Otto) prompt.Completer

ConfigureVM mocks base method

func (*MockExtManager) EXPECT

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

func (*MockExtManager) Exist

func (m *MockExtManager) Exist(name string) bool

Exist mocks base method

func (*MockExtManager) Installed

func (m *MockExtManager) Installed() []string

Installed mocks base method

func (*MockExtManager) IsRunning

func (m *MockExtManager) IsRunning(name string) bool

IsRunning mocks base method

func (*MockExtManager) Load

func (m *MockExtManager) Load(name string, args ...map[string]string) map[string]interface{}

Load mocks base method

func (*MockExtManager) Run

func (m *MockExtManager) Run(name string, args ...map[string]string) map[string]interface{}

Run mocks base method

func (*MockExtManager) Running

func (m *MockExtManager) Running() []string

Running mocks base method

func (*MockExtManager) Stop

func (m *MockExtManager) Stop(name string)

Stop mocks base method

type MockExtManagerMockRecorder

type MockExtManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockExtManagerMockRecorder is the mock recorder for MockExtManager

func (*MockExtManagerMockRecorder) ConfigureVM

func (mr *MockExtManagerMockRecorder) ConfigureVM(vm interface{}) *gomock.Call

ConfigureVM indicates an expected call of ConfigureVM

func (*MockExtManagerMockRecorder) Exist

func (mr *MockExtManagerMockRecorder) Exist(name interface{}) *gomock.Call

Exist indicates an expected call of Exist

func (*MockExtManagerMockRecorder) Installed

func (mr *MockExtManagerMockRecorder) Installed() *gomock.Call

Installed indicates an expected call of Installed

func (*MockExtManagerMockRecorder) IsRunning

func (mr *MockExtManagerMockRecorder) IsRunning(name interface{}) *gomock.Call

IsRunning indicates an expected call of IsRunning

func (*MockExtManagerMockRecorder) Load

func (mr *MockExtManagerMockRecorder) Load(name interface{}, args ...interface{}) *gomock.Call

Load indicates an expected call of Load

func (*MockExtManagerMockRecorder) Run

func (mr *MockExtManagerMockRecorder) Run(name interface{}, args ...interface{}) *gomock.Call

Run indicates an expected call of Run

func (*MockExtManagerMockRecorder) Running

func (mr *MockExtManagerMockRecorder) Running() *gomock.Call

Running indicates an expected call of Running

func (*MockExtManagerMockRecorder) Stop

func (mr *MockExtManagerMockRecorder) Stop(name interface{}) *gomock.Call

Stop indicates an expected call of Stop

type MockFileReader

type MockFileReader struct {
	// contains filtered or unexported fields
}

MockFileReader is a mock of FileReader interface

func NewMockFileReader

func NewMockFileReader(ctrl *gomock.Controller) *MockFileReader

NewMockFileReader creates a new mock instance

func (*MockFileReader) Close

func (m *MockFileReader) Close() error

Close mocks base method

func (*MockFileReader) EXPECT

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

func (*MockFileReader) Fd

func (m *MockFileReader) Fd() uintptr

Fd mocks base method

func (*MockFileReader) Read

func (m *MockFileReader) Read(p []byte) (int, error)

Read mocks base method

type MockFileReaderMockRecorder

type MockFileReaderMockRecorder struct {
	// contains filtered or unexported fields
}

MockFileReaderMockRecorder is the mock recorder for MockFileReader

func (*MockFileReaderMockRecorder) Close

func (mr *MockFileReaderMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockFileReaderMockRecorder) Fd

Fd indicates an expected call of Fd

func (*MockFileReaderMockRecorder) Read

func (mr *MockFileReaderMockRecorder) Read(p interface{}) *gomock.Call

Read indicates an expected call of Read

type MockFileWriter

type MockFileWriter struct {
	// contains filtered or unexported fields
}

MockFileWriter is a mock of FileWriter interface

func NewMockFileWriter

func NewMockFileWriter(ctrl *gomock.Controller) *MockFileWriter

NewMockFileWriter creates a new mock instance

func (*MockFileWriter) EXPECT

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

func (*MockFileWriter) Fd

func (m *MockFileWriter) Fd() uintptr

Fd mocks base method

func (*MockFileWriter) Write

func (m *MockFileWriter) Write(p []byte) (int, error)

Write mocks base method

type MockFileWriterMockRecorder

type MockFileWriterMockRecorder struct {
	// contains filtered or unexported fields
}

MockFileWriterMockRecorder is the mock recorder for MockFileWriter

func (*MockFileWriterMockRecorder) Fd

Fd indicates an expected call of Fd

func (*MockFileWriterMockRecorder) Write

func (mr *MockFileWriterMockRecorder) Write(p interface{}) *gomock.Call

Write indicates an expected call of Write

type MockGitModule

type MockGitModule struct {
	// contains filtered or unexported fields
}

MockGitModule is a mock of GitModule interface

func NewMockGitModule

func NewMockGitModule(ctrl *gomock.Controller) *MockGitModule

NewMockGitModule creates a new mock instance

func (*MockGitModule) AddEntryToNote

func (m *MockGitModule) AddEntryToNote(arg0, arg1, arg2 string, arg3 ...string) error

AddEntryToNote mocks base method

func (*MockGitModule) AmendRecentCommitWithMsg

func (m *MockGitModule) AmendRecentCommitWithMsg(arg0, arg1 string, arg2 ...string) error

AmendRecentCommitWithMsg mocks base method

func (*MockGitModule) Checkout

func (m *MockGitModule) Checkout(arg0 string, arg1, arg2 bool) error

Checkout mocks base method

func (*MockGitModule) CreateBlob

func (m *MockGitModule) CreateBlob(arg0 string) (string, error)

CreateBlob mocks base method

func (*MockGitModule) CreateEmptyCommit

func (m *MockGitModule) CreateEmptyCommit(arg0, arg1 string, arg2 ...string) error

CreateEmptyCommit mocks base method

func (*MockGitModule) CreateSingleFileCommit

func (m *MockGitModule) CreateSingleFileCommit(arg0, arg1, arg2, arg3 string) (string, error)

CreateSingleFileCommit mocks base method

func (*MockGitModule) CreateTagWithMsg

func (m *MockGitModule) CreateTagWithMsg(arg0 []string, arg1, arg2 string, arg3 ...string) error

CreateTagWithMsg mocks base method

func (*MockGitModule) DiffCommits added in v0.0.32

func (m *MockGitModule) DiffCommits(arg0, arg1 string) (string, error)

DiffCommits mocks base method

func (*MockGitModule) EXPECT

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

func (*MockGitModule) ExpandShortHash

func (m *MockGitModule) ExpandShortHash(arg0 string) (string, error)

ExpandShortHash mocks base method

func (*MockGitModule) GC

func (m *MockGitModule) GC(arg0 ...string) error

GC mocks base method

func (*MockGitModule) GetHEAD

func (m *MockGitModule) GetHEAD(arg0 bool) (string, error)

GetHEAD mocks base method

func (*MockGitModule) GetMergeCommits

func (m *MockGitModule) GetMergeCommits(arg0 string, arg1 ...string) ([]string, error)

GetMergeCommits mocks base method

func (*MockGitModule) GetPathLogInfo added in v0.0.30

func (m *MockGitModule) GetPathLogInfo(arg0 string, arg1 ...string) (*types.PathLogInfo, error)

GetPathLogInfo mocks base method

func (*MockGitModule) GetRecentCommitHash

func (m *MockGitModule) GetRecentCommitHash() (string, error)

GetRecentCommitHash mocks base method

func (*MockGitModule) GetRefCommits

func (m *MockGitModule) GetRefCommits(arg0 string, arg1 bool) ([]string, error)

GetRefCommits mocks base method

func (*MockGitModule) GetRefRootCommit

func (m *MockGitModule) GetRefRootCommit(arg0 string) (string, error)

GetRefRootCommit mocks base method

func (*MockGitModule) HasMergeCommits

func (m *MockGitModule) HasMergeCommits(arg0 string, arg1 ...string) (bool, error)

HasMergeCommits mocks base method

func (*MockGitModule) ListTreeObjects

func (m *MockGitModule) ListTreeObjects(arg0 string, arg1 bool, arg2 ...string) (map[string]string, error)

ListTreeObjects mocks base method

func (*MockGitModule) ListTreeObjectsSlice

func (m *MockGitModule) ListTreeObjectsSlice(arg0 string, arg1, arg2 bool, arg3 ...string) ([]string, error)

ListTreeObjectsSlice mocks base method

func (*MockGitModule) NumCommits

func (m *MockGitModule) NumCommits(arg0 string, arg1 bool) (int, error)

NumCommits mocks base method

func (*MockGitModule) RefDelete

func (m *MockGitModule) RefDelete(arg0 string) error

RefDelete mocks base method

func (*MockGitModule) RefFetch

func (m *MockGitModule) RefFetch(arg0 types.RefFetchArgs) error

RefFetch mocks base method

func (*MockGitModule) RefGet

func (m *MockGitModule) RefGet(arg0 string) (string, error)

RefGet mocks base method

func (*MockGitModule) RefUpdate

func (m *MockGitModule) RefUpdate(arg0, arg1 string) error

RefUpdate mocks base method

func (*MockGitModule) RemoveEntryFromNote

func (m *MockGitModule) RemoveEntryFromNote(arg0, arg1 string, arg2 ...string) error

RemoveEntryFromNote mocks base method

func (*MockGitModule) Size

func (m *MockGitModule) Size() (float64, error)

Size mocks base method

func (*MockGitModule) TagDelete

func (m *MockGitModule) TagDelete(arg0 string) error

TagDelete mocks base method

func (*MockGitModule) Var

func (m *MockGitModule) Var(arg0 string) (string, error)

Var mocks base method

type MockGitModuleMockRecorder

type MockGitModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockGitModuleMockRecorder is the mock recorder for MockGitModule

func (*MockGitModuleMockRecorder) AddEntryToNote

func (mr *MockGitModuleMockRecorder) AddEntryToNote(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

AddEntryToNote indicates an expected call of AddEntryToNote

func (*MockGitModuleMockRecorder) AmendRecentCommitWithMsg

func (mr *MockGitModuleMockRecorder) AmendRecentCommitWithMsg(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

AmendRecentCommitWithMsg indicates an expected call of AmendRecentCommitWithMsg

func (*MockGitModuleMockRecorder) Checkout

func (mr *MockGitModuleMockRecorder) Checkout(arg0, arg1, arg2 interface{}) *gomock.Call

Checkout indicates an expected call of Checkout

func (*MockGitModuleMockRecorder) CreateBlob

func (mr *MockGitModuleMockRecorder) CreateBlob(arg0 interface{}) *gomock.Call

CreateBlob indicates an expected call of CreateBlob

func (*MockGitModuleMockRecorder) CreateEmptyCommit

func (mr *MockGitModuleMockRecorder) CreateEmptyCommit(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateEmptyCommit indicates an expected call of CreateEmptyCommit

func (*MockGitModuleMockRecorder) CreateSingleFileCommit

func (mr *MockGitModuleMockRecorder) CreateSingleFileCommit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateSingleFileCommit indicates an expected call of CreateSingleFileCommit

func (*MockGitModuleMockRecorder) CreateTagWithMsg

func (mr *MockGitModuleMockRecorder) CreateTagWithMsg(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

CreateTagWithMsg indicates an expected call of CreateTagWithMsg

func (*MockGitModuleMockRecorder) DiffCommits added in v0.0.32

func (mr *MockGitModuleMockRecorder) DiffCommits(arg0, arg1 interface{}) *gomock.Call

DiffCommits indicates an expected call of DiffCommits

func (*MockGitModuleMockRecorder) ExpandShortHash

func (mr *MockGitModuleMockRecorder) ExpandShortHash(arg0 interface{}) *gomock.Call

ExpandShortHash indicates an expected call of ExpandShortHash

func (*MockGitModuleMockRecorder) GC

func (mr *MockGitModuleMockRecorder) GC(arg0 ...interface{}) *gomock.Call

GC indicates an expected call of GC

func (*MockGitModuleMockRecorder) GetHEAD

func (mr *MockGitModuleMockRecorder) GetHEAD(arg0 interface{}) *gomock.Call

GetHEAD indicates an expected call of GetHEAD

func (*MockGitModuleMockRecorder) GetMergeCommits

func (mr *MockGitModuleMockRecorder) GetMergeCommits(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetMergeCommits indicates an expected call of GetMergeCommits

func (*MockGitModuleMockRecorder) GetPathLogInfo added in v0.0.30

func (mr *MockGitModuleMockRecorder) GetPathLogInfo(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetPathLogInfo indicates an expected call of GetPathLogInfo

func (*MockGitModuleMockRecorder) GetRecentCommitHash

func (mr *MockGitModuleMockRecorder) GetRecentCommitHash() *gomock.Call

GetRecentCommitHash indicates an expected call of GetRecentCommitHash

func (*MockGitModuleMockRecorder) GetRefCommits

func (mr *MockGitModuleMockRecorder) GetRefCommits(arg0, arg1 interface{}) *gomock.Call

GetRefCommits indicates an expected call of GetRefCommits

func (*MockGitModuleMockRecorder) GetRefRootCommit

func (mr *MockGitModuleMockRecorder) GetRefRootCommit(arg0 interface{}) *gomock.Call

GetRefRootCommit indicates an expected call of GetRefRootCommit

func (*MockGitModuleMockRecorder) HasMergeCommits

func (mr *MockGitModuleMockRecorder) HasMergeCommits(arg0 interface{}, arg1 ...interface{}) *gomock.Call

HasMergeCommits indicates an expected call of HasMergeCommits

func (*MockGitModuleMockRecorder) ListTreeObjects

func (mr *MockGitModuleMockRecorder) ListTreeObjects(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListTreeObjects indicates an expected call of ListTreeObjects

func (*MockGitModuleMockRecorder) ListTreeObjectsSlice

func (mr *MockGitModuleMockRecorder) ListTreeObjectsSlice(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

ListTreeObjectsSlice indicates an expected call of ListTreeObjectsSlice

func (*MockGitModuleMockRecorder) NumCommits

func (mr *MockGitModuleMockRecorder) NumCommits(arg0, arg1 interface{}) *gomock.Call

NumCommits indicates an expected call of NumCommits

func (*MockGitModuleMockRecorder) RefDelete

func (mr *MockGitModuleMockRecorder) RefDelete(arg0 interface{}) *gomock.Call

RefDelete indicates an expected call of RefDelete

func (*MockGitModuleMockRecorder) RefFetch

func (mr *MockGitModuleMockRecorder) RefFetch(arg0 interface{}) *gomock.Call

RefFetch indicates an expected call of RefFetch

func (*MockGitModuleMockRecorder) RefGet

func (mr *MockGitModuleMockRecorder) RefGet(arg0 interface{}) *gomock.Call

RefGet indicates an expected call of RefGet

func (*MockGitModuleMockRecorder) RefUpdate

func (mr *MockGitModuleMockRecorder) RefUpdate(arg0, arg1 interface{}) *gomock.Call

RefUpdate indicates an expected call of RefUpdate

func (*MockGitModuleMockRecorder) RemoveEntryFromNote

func (mr *MockGitModuleMockRecorder) RemoveEntryFromNote(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RemoveEntryFromNote indicates an expected call of RemoveEntryFromNote

func (*MockGitModuleMockRecorder) Size

Size indicates an expected call of Size

func (*MockGitModuleMockRecorder) TagDelete

func (mr *MockGitModuleMockRecorder) TagDelete(arg0 interface{}) *gomock.Call

TagDelete indicates an expected call of TagDelete

func (*MockGitModuleMockRecorder) Var

func (mr *MockGitModuleMockRecorder) Var(arg0 interface{}) *gomock.Call

Var indicates an expected call of Var

type MockHandler

type MockHandler struct {
	// contains filtered or unexported fields
}

MockHandler is a mock of Handler interface

func NewMockHandler

func NewMockHandler(ctrl *gomock.Controller) *MockHandler

NewMockHandler creates a new mock instance

func (*MockHandler) DoAuth

func (m *MockHandler) DoAuth(ur *packp.ReferenceUpdateRequest, targetRef string, ignorePostRefs bool) error

DoAuth mocks base method

func (*MockHandler) EXPECT

func (m *MockHandler) EXPECT() *MockHandlerMockRecorder

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

func (*MockHandler) EnsureReferencesHaveTxDetail

func (m *MockHandler) EnsureReferencesHaveTxDetail() error

EnsureReferencesHaveTxDetail mocks base method

func (*MockHandler) HandleAuthorization

func (m *MockHandler) HandleAuthorization(ur *packp.ReferenceUpdateRequest) error

HandleAuthorization mocks base method

func (*MockHandler) HandleGCAndSizeCheck

func (m *MockHandler) HandleGCAndSizeCheck() error

HandleGCAndSizeCheck mocks base method

func (*MockHandler) HandlePushNote

func (m *MockHandler) HandlePushNote(note types.PushNote) error

HandlePushNote mocks base method

func (*MockHandler) HandleReference

func (m *MockHandler) HandleReference(ref string) []error

HandleReference mocks base method

func (*MockHandler) HandleReferences

func (m *MockHandler) HandleReferences() error

HandleReferences mocks base method

func (*MockHandler) HandleReversion

func (m *MockHandler) HandleReversion() []error

HandleReversion mocks base method

func (*MockHandler) HandleStream

func (m *MockHandler) HandleStream(packfile io.Reader, gitReceive io.WriteCloser, gitRcvCmd util.Cmd, pktEnc *pktline.Encoder) error

HandleStream mocks base method

func (*MockHandler) HandleUpdate

func (m *MockHandler) HandleUpdate(targetNote types.PushNote) error

HandleUpdate mocks base method

func (*MockHandler) WaitForPushTx added in v0.0.29

func (m *MockHandler) WaitForPushTx() chan interface{}

WaitForPushTx mocks base method

type MockHandlerMockRecorder

type MockHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockHandlerMockRecorder is the mock recorder for MockHandler

func (*MockHandlerMockRecorder) DoAuth

func (mr *MockHandlerMockRecorder) DoAuth(ur, targetRef, ignorePostRefs interface{}) *gomock.Call

DoAuth indicates an expected call of DoAuth

func (*MockHandlerMockRecorder) EnsureReferencesHaveTxDetail

func (mr *MockHandlerMockRecorder) EnsureReferencesHaveTxDetail() *gomock.Call

EnsureReferencesHaveTxDetail indicates an expected call of EnsureReferencesHaveTxDetail

func (*MockHandlerMockRecorder) HandleAuthorization

func (mr *MockHandlerMockRecorder) HandleAuthorization(ur interface{}) *gomock.Call

HandleAuthorization indicates an expected call of HandleAuthorization

func (*MockHandlerMockRecorder) HandleGCAndSizeCheck

func (mr *MockHandlerMockRecorder) HandleGCAndSizeCheck() *gomock.Call

HandleGCAndSizeCheck indicates an expected call of HandleGCAndSizeCheck

func (*MockHandlerMockRecorder) HandlePushNote

func (mr *MockHandlerMockRecorder) HandlePushNote(note interface{}) *gomock.Call

HandlePushNote indicates an expected call of HandlePushNote

func (*MockHandlerMockRecorder) HandleReference

func (mr *MockHandlerMockRecorder) HandleReference(ref interface{}) *gomock.Call

HandleReference indicates an expected call of HandleReference

func (*MockHandlerMockRecorder) HandleReferences

func (mr *MockHandlerMockRecorder) HandleReferences() *gomock.Call

HandleReferences indicates an expected call of HandleReferences

func (*MockHandlerMockRecorder) HandleReversion

func (mr *MockHandlerMockRecorder) HandleReversion() *gomock.Call

HandleReversion indicates an expected call of HandleReversion

func (*MockHandlerMockRecorder) HandleStream

func (mr *MockHandlerMockRecorder) HandleStream(packfile, gitReceive, gitRcvCmd, pktEnc interface{}) *gomock.Call

HandleStream indicates an expected call of HandleStream

func (*MockHandlerMockRecorder) HandleUpdate

func (mr *MockHandlerMockRecorder) HandleUpdate(targetNote interface{}) *gomock.Call

HandleUpdate indicates an expected call of HandleUpdate

func (*MockHandlerMockRecorder) WaitForPushTx added in v0.0.29

func (mr *MockHandlerMockRecorder) WaitForPushTx() *gomock.Call

WaitForPushTx indicates an expected call of WaitForPushTx

type MockHost

type MockHost struct {
	// contains filtered or unexported fields
}

MockHost is a mock of Host interface

func NewMockHost

func NewMockHost(ctrl *gomock.Controller) *MockHost

NewMockHost creates a new mock instance

func (*MockHost) Addrs

func (m *MockHost) Addrs() []multiaddr.Multiaddr

Addrs mocks base method

func (*MockHost) Close

func (m *MockHost) Close() error

Close mocks base method

func (*MockHost) ConnManager

func (m *MockHost) ConnManager() connmgr.ConnManager

ConnManager mocks base method

func (*MockHost) Connect

func (m *MockHost) Connect(ctx context.Context, pi peer.AddrInfo) error

Connect mocks base method

func (*MockHost) EXPECT

func (m *MockHost) EXPECT() *MockHostMockRecorder

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

func (*MockHost) EventBus

func (m *MockHost) EventBus() event.Bus

EventBus mocks base method

func (*MockHost) ID

func (m *MockHost) ID() peer.ID

ID mocks base method

func (*MockHost) Mux

func (m *MockHost) Mux() protocol.Switch

Mux mocks base method

func (*MockHost) Network

func (m *MockHost) Network() network.Network

Network mocks base method

func (*MockHost) NewStream

func (m *MockHost) NewStream(ctx context.Context, p peer.ID, pids ...protocol.ID) (network.Stream, error)

NewStream mocks base method

func (*MockHost) Peerstore

func (m *MockHost) Peerstore() peerstore.Peerstore

Peerstore mocks base method

func (*MockHost) RemoveStreamHandler

func (m *MockHost) RemoveStreamHandler(pid protocol.ID)

RemoveStreamHandler mocks base method

func (*MockHost) SetStreamHandler

func (m *MockHost) SetStreamHandler(pid protocol.ID, handler network.StreamHandler)

SetStreamHandler mocks base method

func (*MockHost) SetStreamHandlerMatch

func (m *MockHost) SetStreamHandlerMatch(arg0 protocol.ID, arg1 func(string) bool, arg2 network.StreamHandler)

SetStreamHandlerMatch mocks base method

type MockHostMockRecorder

type MockHostMockRecorder struct {
	// contains filtered or unexported fields
}

MockHostMockRecorder is the mock recorder for MockHost

func (*MockHostMockRecorder) Addrs

func (mr *MockHostMockRecorder) Addrs() *gomock.Call

Addrs indicates an expected call of Addrs

func (*MockHostMockRecorder) Close

func (mr *MockHostMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockHostMockRecorder) ConnManager

func (mr *MockHostMockRecorder) ConnManager() *gomock.Call

ConnManager indicates an expected call of ConnManager

func (*MockHostMockRecorder) Connect

func (mr *MockHostMockRecorder) Connect(ctx, pi interface{}) *gomock.Call

Connect indicates an expected call of Connect

func (*MockHostMockRecorder) EventBus

func (mr *MockHostMockRecorder) EventBus() *gomock.Call

EventBus indicates an expected call of EventBus

func (*MockHostMockRecorder) ID

func (mr *MockHostMockRecorder) ID() *gomock.Call

ID indicates an expected call of ID

func (*MockHostMockRecorder) Mux

func (mr *MockHostMockRecorder) Mux() *gomock.Call

Mux indicates an expected call of Mux

func (*MockHostMockRecorder) Network

func (mr *MockHostMockRecorder) Network() *gomock.Call

Network indicates an expected call of Network

func (*MockHostMockRecorder) NewStream

func (mr *MockHostMockRecorder) NewStream(ctx, p interface{}, pids ...interface{}) *gomock.Call

NewStream indicates an expected call of NewStream

func (*MockHostMockRecorder) Peerstore

func (mr *MockHostMockRecorder) Peerstore() *gomock.Call

Peerstore indicates an expected call of Peerstore

func (*MockHostMockRecorder) RemoveStreamHandler

func (mr *MockHostMockRecorder) RemoveStreamHandler(pid interface{}) *gomock.Call

RemoveStreamHandler indicates an expected call of RemoveStreamHandler

func (*MockHostMockRecorder) SetStreamHandler

func (mr *MockHostMockRecorder) SetStreamHandler(pid, handler interface{}) *gomock.Call

SetStreamHandler indicates an expected call of SetStreamHandler

func (*MockHostMockRecorder) SetStreamHandlerMatch

func (mr *MockHostMockRecorder) SetStreamHandlerMatch(arg0, arg1, arg2 interface{}) *gomock.Call

SetStreamHandlerMatch indicates an expected call of SetStreamHandlerMatch

type MockKeepers

type MockKeepers struct {
	// contains filtered or unexported fields
}

MockKeepers is a mock of Keepers interface

func NewMockKeepers

func NewMockKeepers(ctrl *gomock.Controller) *MockKeepers

NewMockKeepers creates a new mock instance

func (*MockKeepers) AccountKeeper

func (m *MockKeepers) AccountKeeper() core.AccountKeeper

AccountKeeper mocks base method

func (*MockKeepers) DHTKeeper

func (m *MockKeepers) DHTKeeper() core.DHTKeeper

DHTKeeper mocks base method

func (*MockKeepers) EXPECT

func (m *MockKeepers) EXPECT() *MockKeepersMockRecorder

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

func (*MockKeepers) GetTicketManager

func (m *MockKeepers) GetTicketManager() types0.TicketManager

GetTicketManager mocks base method

func (*MockKeepers) NamespaceKeeper

func (m *MockKeepers) NamespaceKeeper() core.NamespaceKeeper

NamespaceKeeper mocks base method

func (*MockKeepers) PushKeyKeeper

func (m *MockKeepers) PushKeyKeeper() core.PushKeyKeeper

PushKeyKeeper mocks base method

func (*MockKeepers) RepoKeeper

func (m *MockKeepers) RepoKeeper() core.RepoKeeper

RepoKeeper mocks base method

func (*MockKeepers) RepoSyncInfoKeeper

func (m *MockKeepers) RepoSyncInfoKeeper() core.RepoSyncInfoKeeper

RepoSyncInfoKeeper mocks base method

func (*MockKeepers) SysKeeper

func (m *MockKeepers) SysKeeper() core.SystemKeeper

SysKeeper mocks base method

func (*MockKeepers) ValidatorKeeper

func (m *MockKeepers) ValidatorKeeper() core.ValidatorKeeper

ValidatorKeeper mocks base method

type MockKeepersMockRecorder

type MockKeepersMockRecorder struct {
	// contains filtered or unexported fields
}

MockKeepersMockRecorder is the mock recorder for MockKeepers

func (*MockKeepersMockRecorder) AccountKeeper

func (mr *MockKeepersMockRecorder) AccountKeeper() *gomock.Call

AccountKeeper indicates an expected call of AccountKeeper

func (*MockKeepersMockRecorder) DHTKeeper

func (mr *MockKeepersMockRecorder) DHTKeeper() *gomock.Call

DHTKeeper indicates an expected call of DHTKeeper

func (*MockKeepersMockRecorder) GetTicketManager

func (mr *MockKeepersMockRecorder) GetTicketManager() *gomock.Call

GetTicketManager indicates an expected call of GetTicketManager

func (*MockKeepersMockRecorder) NamespaceKeeper

func (mr *MockKeepersMockRecorder) NamespaceKeeper() *gomock.Call

NamespaceKeeper indicates an expected call of NamespaceKeeper

func (*MockKeepersMockRecorder) PushKeyKeeper

func (mr *MockKeepersMockRecorder) PushKeyKeeper() *gomock.Call

PushKeyKeeper indicates an expected call of PushKeyKeeper

func (*MockKeepersMockRecorder) RepoKeeper

func (mr *MockKeepersMockRecorder) RepoKeeper() *gomock.Call

RepoKeeper indicates an expected call of RepoKeeper

func (*MockKeepersMockRecorder) RepoSyncInfoKeeper

func (mr *MockKeepersMockRecorder) RepoSyncInfoKeeper() *gomock.Call

RepoSyncInfoKeeper indicates an expected call of RepoSyncInfoKeeper

func (*MockKeepersMockRecorder) SysKeeper

func (mr *MockKeepersMockRecorder) SysKeeper() *gomock.Call

SysKeeper indicates an expected call of SysKeeper

func (*MockKeepersMockRecorder) ValidatorKeeper

func (mr *MockKeepersMockRecorder) ValidatorKeeper() *gomock.Call

ValidatorKeeper indicates an expected call of ValidatorKeeper

type MockKeystore

type MockKeystore struct {
	// contains filtered or unexported fields
}

MockKeystore is a mock of Keystore interface

func NewMockKeystore

func NewMockKeystore(ctrl *gomock.Controller) *MockKeystore

NewMockKeystore creates a new mock instance

func (*MockKeystore) AskForPassword

func (m *MockKeystore) AskForPassword(prompt ...string) (string, error)

AskForPassword mocks base method

func (*MockKeystore) AskForPasswordOnce

func (m *MockKeystore) AskForPasswordOnce(prompt ...string) (string, error)

AskForPasswordOnce mocks base method

func (*MockKeystore) CreateCmd

func (m *MockKeystore) CreateCmd(keyType types.KeyType, seed int64, passphrase string, nopass bool) (*ed25519.Key, error)

CreateCmd mocks base method

func (*MockKeystore) CreateKey

func (m *MockKeystore) CreateKey(key *ed25519.Key, keyType types.KeyType, passphrase string) error

CreateKey mocks base method

func (*MockKeystore) EXPECT

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

func (*MockKeystore) Exist

func (m *MockKeystore) Exist(address string) (bool, error)

Exist mocks base method

func (*MockKeystore) GetByAddress

func (m *MockKeystore) GetByAddress(addr string) (types.StoredKey, error)

GetByAddress mocks base method

func (*MockKeystore) GetByIndex

func (m *MockKeystore) GetByIndex(i int) (types.StoredKey, error)

GetByIndex mocks base method

func (*MockKeystore) GetByIndexOrAddress

func (m *MockKeystore) GetByIndexOrAddress(idxOrAddr string) (types.StoredKey, error)

GetByIndexOrAddress mocks base method

func (*MockKeystore) GetCmd

func (m *MockKeystore) GetCmd(addrOrIdx, pass string, showPrivKey bool) error

GetCmd mocks base method

func (*MockKeystore) ImportCmd

func (m *MockKeystore) ImportCmd(keyfile string, keyType types.KeyType, pass string) error

ImportCmd mocks base method

func (*MockKeystore) List

func (m *MockKeystore) List() ([]types.StoredKey, error)

List mocks base method

func (*MockKeystore) ListCmd

func (m *MockKeystore) ListCmd(out io.Writer) error

ListCmd mocks base method

func (*MockKeystore) SetOutput

func (m *MockKeystore) SetOutput(out io.Writer)

SetOutput mocks base method

func (*MockKeystore) UnlockKeyUI

func (m *MockKeystore) UnlockKeyUI(addressOrIndex, passphrase, promptMsg string) (types.StoredKey, string, error)

UnlockKeyUI mocks base method

func (*MockKeystore) UpdateCmd

func (m *MockKeystore) UpdateCmd(addressOrIndex, passphrase string) error

UpdateCmd mocks base method

type MockKeystoreMockRecorder

type MockKeystoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockKeystoreMockRecorder is the mock recorder for MockKeystore

func (*MockKeystoreMockRecorder) AskForPassword

func (mr *MockKeystoreMockRecorder) AskForPassword(prompt ...interface{}) *gomock.Call

AskForPassword indicates an expected call of AskForPassword

func (*MockKeystoreMockRecorder) AskForPasswordOnce

func (mr *MockKeystoreMockRecorder) AskForPasswordOnce(prompt ...interface{}) *gomock.Call

AskForPasswordOnce indicates an expected call of AskForPasswordOnce

func (*MockKeystoreMockRecorder) CreateCmd

func (mr *MockKeystoreMockRecorder) CreateCmd(keyType, seed, passphrase, nopass interface{}) *gomock.Call

CreateCmd indicates an expected call of CreateCmd

func (*MockKeystoreMockRecorder) CreateKey

func (mr *MockKeystoreMockRecorder) CreateKey(key, keyType, passphrase interface{}) *gomock.Call

CreateKey indicates an expected call of CreateKey

func (*MockKeystoreMockRecorder) Exist

func (mr *MockKeystoreMockRecorder) Exist(address interface{}) *gomock.Call

Exist indicates an expected call of Exist

func (*MockKeystoreMockRecorder) GetByAddress

func (mr *MockKeystoreMockRecorder) GetByAddress(addr interface{}) *gomock.Call

GetByAddress indicates an expected call of GetByAddress

func (*MockKeystoreMockRecorder) GetByIndex

func (mr *MockKeystoreMockRecorder) GetByIndex(i interface{}) *gomock.Call

GetByIndex indicates an expected call of GetByIndex

func (*MockKeystoreMockRecorder) GetByIndexOrAddress

func (mr *MockKeystoreMockRecorder) GetByIndexOrAddress(idxOrAddr interface{}) *gomock.Call

GetByIndexOrAddress indicates an expected call of GetByIndexOrAddress

func (*MockKeystoreMockRecorder) GetCmd

func (mr *MockKeystoreMockRecorder) GetCmd(addrOrIdx, pass, showPrivKey interface{}) *gomock.Call

GetCmd indicates an expected call of GetCmd

func (*MockKeystoreMockRecorder) ImportCmd

func (mr *MockKeystoreMockRecorder) ImportCmd(keyfile, keyType, pass interface{}) *gomock.Call

ImportCmd indicates an expected call of ImportCmd

func (*MockKeystoreMockRecorder) List

func (mr *MockKeystoreMockRecorder) List() *gomock.Call

List indicates an expected call of List

func (*MockKeystoreMockRecorder) ListCmd

func (mr *MockKeystoreMockRecorder) ListCmd(out interface{}) *gomock.Call

ListCmd indicates an expected call of ListCmd

func (*MockKeystoreMockRecorder) SetOutput

func (mr *MockKeystoreMockRecorder) SetOutput(out interface{}) *gomock.Call

SetOutput indicates an expected call of SetOutput

func (*MockKeystoreMockRecorder) UnlockKeyUI

func (mr *MockKeystoreMockRecorder) UnlockKeyUI(addressOrIndex, passphrase, promptMsg interface{}) *gomock.Call

UnlockKeyUI indicates an expected call of UnlockKeyUI

func (*MockKeystoreMockRecorder) UpdateCmd

func (mr *MockKeystoreMockRecorder) UpdateCmd(addressOrIndex, passphrase interface{}) *gomock.Call

UpdateCmd indicates an expected call of UpdateCmd

type MockLocalRepo

type MockLocalRepo struct {
	// contains filtered or unexported fields
}

MockLocalRepo is a mock of LocalRepo interface

func NewMockLocalRepo

func NewMockLocalRepo(ctrl *gomock.Controller) *MockLocalRepo

NewMockLocalRepo creates a new mock instance

func (*MockLocalRepo) AddEntryToNote

func (m *MockLocalRepo) AddEntryToNote(arg0, arg1, arg2 string, arg3 ...string) error

AddEntryToNote mocks base method

func (*MockLocalRepo) AmendRecentCommitWithMsg

func (m *MockLocalRepo) AmendRecentCommitWithMsg(arg0, arg1 string, arg2 ...string) error

AmendRecentCommitWithMsg mocks base method

func (*MockLocalRepo) BlobObject

func (m *MockLocalRepo) BlobObject(arg0 plumbing.Hash) (*object.Blob, error)

BlobObject mocks base method

func (*MockLocalRepo) Checkout

func (m *MockLocalRepo) Checkout(arg0 string, arg1, arg2 bool) error

Checkout mocks base method

func (*MockLocalRepo) CommitObject

func (m *MockLocalRepo) CommitObject(arg0 plumbing.Hash) (*object.Commit, error)

CommitObject mocks base method

func (*MockLocalRepo) CommitObjects

func (m *MockLocalRepo) CommitObjects() (object.CommitIter, error)

CommitObjects mocks base method

func (*MockLocalRepo) Config

func (m *MockLocalRepo) Config() (*config.Config, error)

Config mocks base method

func (*MockLocalRepo) CreateBlob

func (m *MockLocalRepo) CreateBlob(arg0 string) (string, error)

CreateBlob mocks base method

func (*MockLocalRepo) CreateEmptyCommit

func (m *MockLocalRepo) CreateEmptyCommit(arg0, arg1 string, arg2 ...string) error

CreateEmptyCommit mocks base method

func (*MockLocalRepo) CreateSingleFileCommit

func (m *MockLocalRepo) CreateSingleFileCommit(arg0, arg1, arg2, arg3 string) (string, error)

CreateSingleFileCommit mocks base method

func (*MockLocalRepo) CreateTagWithMsg

func (m *MockLocalRepo) CreateTagWithMsg(arg0 []string, arg1, arg2 string, arg3 ...string) error

CreateTagWithMsg mocks base method

func (*MockLocalRepo) DeleteObject

func (m *MockLocalRepo) DeleteObject(arg0 plumbing.Hash) error

DeleteObject mocks base method

func (*MockLocalRepo) DiffCommits added in v0.0.32

func (m *MockLocalRepo) DiffCommits(arg0, arg1 string) (string, error)

DiffCommits mocks base method

func (*MockLocalRepo) EXPECT

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

func (*MockLocalRepo) ExpandShortHash

func (m *MockLocalRepo) ExpandShortHash(arg0 string) (string, error)

ExpandShortHash mocks base method

func (*MockLocalRepo) GC

func (m *MockLocalRepo) GC(arg0 ...string) error

GC mocks base method

func (*MockLocalRepo) GetAncestors

func (m *MockLocalRepo) GetAncestors(arg0 *object.Commit, arg1 string, arg2 bool) ([]*object.Commit, error)

GetAncestors mocks base method

func (*MockLocalRepo) GetBranches added in v0.0.29

func (m *MockLocalRepo) GetBranches() ([]string, error)

GetBranches mocks base method

func (*MockLocalRepo) GetCommit added in v0.0.32

func (m *MockLocalRepo) GetCommit(arg0 string) (*types.CommitResult, error)

GetCommit mocks base method

func (*MockLocalRepo) GetCommitAncestors added in v0.0.29

func (m *MockLocalRepo) GetCommitAncestors(arg0 string, arg1 int) ([]*types.CommitResult, error)

GetCommitAncestors mocks base method

func (*MockLocalRepo) GetCommits added in v0.0.29

func (m *MockLocalRepo) GetCommits(arg0 string, arg1 int) ([]*types.CommitResult, error)

GetCommits mocks base method

func (*MockLocalRepo) GetFile added in v0.0.30

func (m *MockLocalRepo) GetFile(arg0, arg1 string) (string, error)

GetFile mocks base method

func (*MockLocalRepo) GetFileLines added in v0.0.29

func (m *MockLocalRepo) GetFileLines(arg0, arg1 string) ([]string, error)

GetFileLines mocks base method

func (*MockLocalRepo) GetGitConfigOption

func (m *MockLocalRepo) GetGitConfigOption(arg0 string) string

GetGitConfigOption mocks base method

func (*MockLocalRepo) GetHEAD

func (m *MockLocalRepo) GetHEAD(arg0 bool) (string, error)

GetHEAD mocks base method

func (*MockLocalRepo) GetLatestCommit added in v0.0.29

func (m *MockLocalRepo) GetLatestCommit(arg0 string) (*types.CommitResult, error)

GetLatestCommit mocks base method

func (*MockLocalRepo) GetMergeCommits

func (m *MockLocalRepo) GetMergeCommits(arg0 string, arg1 ...string) ([]string, error)

GetMergeCommits mocks base method

func (*MockLocalRepo) GetName

func (m *MockLocalRepo) GetName() string

GetName mocks base method

func (*MockLocalRepo) GetNamespace

func (m *MockLocalRepo) GetNamespace() *state.Namespace

GetNamespace mocks base method

func (*MockLocalRepo) GetNamespaceName

func (m *MockLocalRepo) GetNamespaceName() string

GetNamespaceName mocks base method

func (*MockLocalRepo) GetObject

func (m *MockLocalRepo) GetObject(arg0 string) (object.Object, error)

GetObject mocks base method

func (*MockLocalRepo) GetObjectSize

func (m *MockLocalRepo) GetObjectSize(arg0 string) (int64, error)

GetObjectSize mocks base method

func (*MockLocalRepo) GetParentAndChildCommitDiff added in v0.0.30

func (m *MockLocalRepo) GetParentAndChildCommitDiff(arg0 string) (*types.GetCommitDiffResult, error)

GetParentAndChildCommitDiff mocks base method

func (*MockLocalRepo) GetPath

func (m *MockLocalRepo) GetPath() string

GetPath mocks base method

func (*MockLocalRepo) GetPathLogInfo added in v0.0.30

func (m *MockLocalRepo) GetPathLogInfo(arg0 string, arg1 ...string) (*types.PathLogInfo, error)

GetPathLogInfo mocks base method

func (*MockLocalRepo) GetRecentCommitHash

func (m *MockLocalRepo) GetRecentCommitHash() (string, error)

GetRecentCommitHash mocks base method

func (*MockLocalRepo) GetRefCommits

func (m *MockLocalRepo) GetRefCommits(arg0 string, arg1 bool) ([]string, error)

GetRefCommits mocks base method

func (*MockLocalRepo) GetRefRootCommit

func (m *MockLocalRepo) GetRefRootCommit(arg0 string) (string, error)

GetRefRootCommit mocks base method

func (*MockLocalRepo) GetReferences

func (m *MockLocalRepo) GetReferences() ([]plumbing.ReferenceName, error)

GetReferences mocks base method

func (*MockLocalRepo) GetRemoteURLs

func (m *MockLocalRepo) GetRemoteURLs(arg0 ...string) []string

GetRemoteURLs mocks base method

func (*MockLocalRepo) GetRepoConfig

func (m *MockLocalRepo) GetRepoConfig() (*types.LocalConfig, error)

GetRepoConfig mocks base method

func (*MockLocalRepo) GetState

func (m *MockLocalRepo) GetState() *state.Repository

GetState mocks base method

func (*MockLocalRepo) GetStorer

func (m *MockLocalRepo) GetStorer() storage.Storer

GetStorer mocks base method

func (*MockLocalRepo) HasMergeCommits

func (m *MockLocalRepo) HasMergeCommits(arg0 string, arg1 ...string) (bool, error)

HasMergeCommits mocks base method

func (*MockLocalRepo) Head

func (m *MockLocalRepo) Head() (string, error)

Head mocks base method

func (*MockLocalRepo) HeadObject

func (m *MockLocalRepo) HeadObject() (object.Object, error)

HeadObject mocks base method

func (*MockLocalRepo) IsAncestor

func (m *MockLocalRepo) IsAncestor(arg0, arg1 string) error

IsAncestor mocks base method

func (*MockLocalRepo) IsClean

func (m *MockLocalRepo) IsClean() (bool, error)

IsClean mocks base method

func (*MockLocalRepo) IsContributor

func (m *MockLocalRepo) IsContributor(arg0 string) bool

IsContributor mocks base method

func (*MockLocalRepo) ListPath

func (m *MockLocalRepo) ListPath(arg0, arg1 string) ([]types.ListPathValue, error)

ListPath mocks base method

func (*MockLocalRepo) ListTreeObjects

func (m *MockLocalRepo) ListTreeObjects(arg0 string, arg1 bool, arg2 ...string) (map[string]string, error)

ListTreeObjects mocks base method

func (*MockLocalRepo) ListTreeObjectsSlice

func (m *MockLocalRepo) ListTreeObjectsSlice(arg0 string, arg1, arg2 bool, arg3 ...string) ([]string, error)

ListTreeObjectsSlice mocks base method

func (*MockLocalRepo) NumCommits

func (m *MockLocalRepo) NumCommits(arg0 string, arg1 bool) (int, error)

NumCommits mocks base method

func (*MockLocalRepo) NumIssueBranches

func (m *MockLocalRepo) NumIssueBranches() (int, error)

NumIssueBranches mocks base method

func (*MockLocalRepo) Object

func (m *MockLocalRepo) Object(arg0 plumbing.ObjectType, arg1 plumbing.Hash) (object.Object, error)

Object mocks base method

func (*MockLocalRepo) ObjectExist

func (m *MockLocalRepo) ObjectExist(arg0 string) bool

ObjectExist mocks base method

func (*MockLocalRepo) Objects

func (m *MockLocalRepo) Objects() (*object.ObjectIter, error)

Objects mocks base method

func (*MockLocalRepo) ObjectsOfCommit

func (m *MockLocalRepo) ObjectsOfCommit(arg0 string) ([]plumbing.Hash, error)

ObjectsOfCommit mocks base method

func (*MockLocalRepo) Prune

func (m *MockLocalRepo) Prune(arg0 time.Time) error

Prune mocks base method

func (*MockLocalRepo) RefDelete

func (m *MockLocalRepo) RefDelete(arg0 string) error

RefDelete mocks base method

func (*MockLocalRepo) RefFetch

func (m *MockLocalRepo) RefFetch(arg0 types.RefFetchArgs) error

RefFetch mocks base method

func (*MockLocalRepo) RefGet

func (m *MockLocalRepo) RefGet(arg0 string) (string, error)

RefGet mocks base method

func (*MockLocalRepo) RefUpdate

func (m *MockLocalRepo) RefUpdate(arg0, arg1 string) error

RefUpdate mocks base method

func (*MockLocalRepo) Reference

func (m *MockLocalRepo) Reference(arg0 plumbing.ReferenceName, arg1 bool) (*plumbing.Reference, error)

Reference mocks base method

func (*MockLocalRepo) References

func (m *MockLocalRepo) References() (storer.ReferenceIter, error)

References mocks base method

func (*MockLocalRepo) Reload

func (m *MockLocalRepo) Reload() error

Reload mocks base method

func (*MockLocalRepo) RemoveEntryFromNote

func (m *MockLocalRepo) RemoveEntryFromNote(arg0, arg1 string, arg2 ...string) error

RemoveEntryFromNote mocks base method

func (*MockLocalRepo) SetConfig

func (m *MockLocalRepo) SetConfig(arg0 *config.Config) error

SetConfig mocks base method

func (*MockLocalRepo) SetPath

func (m *MockLocalRepo) SetPath(arg0 string)

SetPath mocks base method

func (*MockLocalRepo) SetState

func (m *MockLocalRepo) SetState(arg0 *state.Repository)

SetState mocks base method

func (*MockLocalRepo) Size

func (m *MockLocalRepo) Size() (float64, error)

Size mocks base method

func (*MockLocalRepo) Tag

func (m *MockLocalRepo) Tag(arg0 string) (*plumbing.Reference, error)

Tag mocks base method

func (*MockLocalRepo) TagDelete

func (m *MockLocalRepo) TagDelete(arg0 string) error

TagDelete mocks base method

func (*MockLocalRepo) TagObject

func (m *MockLocalRepo) TagObject(arg0 plumbing.Hash) (*object.Tag, error)

TagObject mocks base method

func (*MockLocalRepo) Tags

func (m *MockLocalRepo) Tags() (storer.ReferenceIter, error)

Tags mocks base method

func (*MockLocalRepo) UpdateRepoConfig

func (m *MockLocalRepo) UpdateRepoConfig(arg0 *types.LocalConfig) error

UpdateRepoConfig mocks base method

func (*MockLocalRepo) Var

func (m *MockLocalRepo) Var(arg0 string) (string, error)

Var mocks base method

func (*MockLocalRepo) WrappedCommitObject

func (m *MockLocalRepo) WrappedCommitObject(arg0 plumbing.Hash) (types.Commit, error)

WrappedCommitObject mocks base method

type MockLocalRepoMockRecorder

type MockLocalRepoMockRecorder struct {
	// contains filtered or unexported fields
}

MockLocalRepoMockRecorder is the mock recorder for MockLocalRepo

func (*MockLocalRepoMockRecorder) AddEntryToNote

func (mr *MockLocalRepoMockRecorder) AddEntryToNote(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

AddEntryToNote indicates an expected call of AddEntryToNote

func (*MockLocalRepoMockRecorder) AmendRecentCommitWithMsg

func (mr *MockLocalRepoMockRecorder) AmendRecentCommitWithMsg(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

AmendRecentCommitWithMsg indicates an expected call of AmendRecentCommitWithMsg

func (*MockLocalRepoMockRecorder) BlobObject

func (mr *MockLocalRepoMockRecorder) BlobObject(arg0 interface{}) *gomock.Call

BlobObject indicates an expected call of BlobObject

func (*MockLocalRepoMockRecorder) Checkout

func (mr *MockLocalRepoMockRecorder) Checkout(arg0, arg1, arg2 interface{}) *gomock.Call

Checkout indicates an expected call of Checkout

func (*MockLocalRepoMockRecorder) CommitObject

func (mr *MockLocalRepoMockRecorder) CommitObject(arg0 interface{}) *gomock.Call

CommitObject indicates an expected call of CommitObject

func (*MockLocalRepoMockRecorder) CommitObjects

func (mr *MockLocalRepoMockRecorder) CommitObjects() *gomock.Call

CommitObjects indicates an expected call of CommitObjects

func (*MockLocalRepoMockRecorder) Config

func (mr *MockLocalRepoMockRecorder) Config() *gomock.Call

Config indicates an expected call of Config

func (*MockLocalRepoMockRecorder) CreateBlob

func (mr *MockLocalRepoMockRecorder) CreateBlob(arg0 interface{}) *gomock.Call

CreateBlob indicates an expected call of CreateBlob

func (*MockLocalRepoMockRecorder) CreateEmptyCommit

func (mr *MockLocalRepoMockRecorder) CreateEmptyCommit(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateEmptyCommit indicates an expected call of CreateEmptyCommit

func (*MockLocalRepoMockRecorder) CreateSingleFileCommit

func (mr *MockLocalRepoMockRecorder) CreateSingleFileCommit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateSingleFileCommit indicates an expected call of CreateSingleFileCommit

func (*MockLocalRepoMockRecorder) CreateTagWithMsg

func (mr *MockLocalRepoMockRecorder) CreateTagWithMsg(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

CreateTagWithMsg indicates an expected call of CreateTagWithMsg

func (*MockLocalRepoMockRecorder) DeleteObject

func (mr *MockLocalRepoMockRecorder) DeleteObject(arg0 interface{}) *gomock.Call

DeleteObject indicates an expected call of DeleteObject

func (*MockLocalRepoMockRecorder) DiffCommits added in v0.0.32

func (mr *MockLocalRepoMockRecorder) DiffCommits(arg0, arg1 interface{}) *gomock.Call

DiffCommits indicates an expected call of DiffCommits

func (*MockLocalRepoMockRecorder) ExpandShortHash

func (mr *MockLocalRepoMockRecorder) ExpandShortHash(arg0 interface{}) *gomock.Call

ExpandShortHash indicates an expected call of ExpandShortHash

func (*MockLocalRepoMockRecorder) GC

func (mr *MockLocalRepoMockRecorder) GC(arg0 ...interface{}) *gomock.Call

GC indicates an expected call of GC

func (*MockLocalRepoMockRecorder) GetAncestors

func (mr *MockLocalRepoMockRecorder) GetAncestors(arg0, arg1, arg2 interface{}) *gomock.Call

GetAncestors indicates an expected call of GetAncestors

func (*MockLocalRepoMockRecorder) GetBranches added in v0.0.29

func (mr *MockLocalRepoMockRecorder) GetBranches() *gomock.Call

GetBranches indicates an expected call of GetBranches

func (*MockLocalRepoMockRecorder) GetCommit added in v0.0.32

func (mr *MockLocalRepoMockRecorder) GetCommit(arg0 interface{}) *gomock.Call

GetCommit indicates an expected call of GetCommit

func (*MockLocalRepoMockRecorder) GetCommitAncestors added in v0.0.29

func (mr *MockLocalRepoMockRecorder) GetCommitAncestors(arg0, arg1 interface{}) *gomock.Call

GetCommitAncestors indicates an expected call of GetCommitAncestors

func (*MockLocalRepoMockRecorder) GetCommits added in v0.0.29

func (mr *MockLocalRepoMockRecorder) GetCommits(arg0, arg1 interface{}) *gomock.Call

GetCommits indicates an expected call of GetCommits

func (*MockLocalRepoMockRecorder) GetFile added in v0.0.30

func (mr *MockLocalRepoMockRecorder) GetFile(arg0, arg1 interface{}) *gomock.Call

GetFile indicates an expected call of GetFile

func (*MockLocalRepoMockRecorder) GetFileLines added in v0.0.29

func (mr *MockLocalRepoMockRecorder) GetFileLines(arg0, arg1 interface{}) *gomock.Call

GetFileLines indicates an expected call of GetFileLines

func (*MockLocalRepoMockRecorder) GetGitConfigOption

func (mr *MockLocalRepoMockRecorder) GetGitConfigOption(arg0 interface{}) *gomock.Call

GetGitConfigOption indicates an expected call of GetGitConfigOption

func (*MockLocalRepoMockRecorder) GetHEAD

func (mr *MockLocalRepoMockRecorder) GetHEAD(arg0 interface{}) *gomock.Call

GetHEAD indicates an expected call of GetHEAD

func (*MockLocalRepoMockRecorder) GetLatestCommit added in v0.0.29

func (mr *MockLocalRepoMockRecorder) GetLatestCommit(arg0 interface{}) *gomock.Call

GetLatestCommit indicates an expected call of GetLatestCommit

func (*MockLocalRepoMockRecorder) GetMergeCommits

func (mr *MockLocalRepoMockRecorder) GetMergeCommits(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetMergeCommits indicates an expected call of GetMergeCommits

func (*MockLocalRepoMockRecorder) GetName

func (mr *MockLocalRepoMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName

func (*MockLocalRepoMockRecorder) GetNamespace

func (mr *MockLocalRepoMockRecorder) GetNamespace() *gomock.Call

GetNamespace indicates an expected call of GetNamespace

func (*MockLocalRepoMockRecorder) GetNamespaceName

func (mr *MockLocalRepoMockRecorder) GetNamespaceName() *gomock.Call

GetNamespaceName indicates an expected call of GetNamespaceName

func (*MockLocalRepoMockRecorder) GetObject

func (mr *MockLocalRepoMockRecorder) GetObject(arg0 interface{}) *gomock.Call

GetObject indicates an expected call of GetObject

func (*MockLocalRepoMockRecorder) GetObjectSize

func (mr *MockLocalRepoMockRecorder) GetObjectSize(arg0 interface{}) *gomock.Call

GetObjectSize indicates an expected call of GetObjectSize

func (*MockLocalRepoMockRecorder) GetParentAndChildCommitDiff added in v0.0.30

func (mr *MockLocalRepoMockRecorder) GetParentAndChildCommitDiff(arg0 interface{}) *gomock.Call

GetParentAndChildCommitDiff indicates an expected call of GetParentAndChildCommitDiff

func (*MockLocalRepoMockRecorder) GetPath

func (mr *MockLocalRepoMockRecorder) GetPath() *gomock.Call

GetPath indicates an expected call of GetPath

func (*MockLocalRepoMockRecorder) GetPathLogInfo added in v0.0.30

func (mr *MockLocalRepoMockRecorder) GetPathLogInfo(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetPathLogInfo indicates an expected call of GetPathLogInfo

func (*MockLocalRepoMockRecorder) GetRecentCommitHash

func (mr *MockLocalRepoMockRecorder) GetRecentCommitHash() *gomock.Call

GetRecentCommitHash indicates an expected call of GetRecentCommitHash

func (*MockLocalRepoMockRecorder) GetRefCommits

func (mr *MockLocalRepoMockRecorder) GetRefCommits(arg0, arg1 interface{}) *gomock.Call

GetRefCommits indicates an expected call of GetRefCommits

func (*MockLocalRepoMockRecorder) GetRefRootCommit

func (mr *MockLocalRepoMockRecorder) GetRefRootCommit(arg0 interface{}) *gomock.Call

GetRefRootCommit indicates an expected call of GetRefRootCommit

func (*MockLocalRepoMockRecorder) GetReferences

func (mr *MockLocalRepoMockRecorder) GetReferences() *gomock.Call

GetReferences indicates an expected call of GetReferences

func (*MockLocalRepoMockRecorder) GetRemoteURLs

func (mr *MockLocalRepoMockRecorder) GetRemoteURLs(arg0 ...interface{}) *gomock.Call

GetRemoteURLs indicates an expected call of GetRemoteURLs

func (*MockLocalRepoMockRecorder) GetRepoConfig

func (mr *MockLocalRepoMockRecorder) GetRepoConfig() *gomock.Call

GetRepoConfig indicates an expected call of GetRepoConfig

func (*MockLocalRepoMockRecorder) GetState

func (mr *MockLocalRepoMockRecorder) GetState() *gomock.Call

GetState indicates an expected call of GetState

func (*MockLocalRepoMockRecorder) GetStorer

func (mr *MockLocalRepoMockRecorder) GetStorer() *gomock.Call

GetStorer indicates an expected call of GetStorer

func (*MockLocalRepoMockRecorder) HasMergeCommits

func (mr *MockLocalRepoMockRecorder) HasMergeCommits(arg0 interface{}, arg1 ...interface{}) *gomock.Call

HasMergeCommits indicates an expected call of HasMergeCommits

func (*MockLocalRepoMockRecorder) Head

Head indicates an expected call of Head

func (*MockLocalRepoMockRecorder) HeadObject

func (mr *MockLocalRepoMockRecorder) HeadObject() *gomock.Call

HeadObject indicates an expected call of HeadObject

func (*MockLocalRepoMockRecorder) IsAncestor

func (mr *MockLocalRepoMockRecorder) IsAncestor(arg0, arg1 interface{}) *gomock.Call

IsAncestor indicates an expected call of IsAncestor

func (*MockLocalRepoMockRecorder) IsClean

func (mr *MockLocalRepoMockRecorder) IsClean() *gomock.Call

IsClean indicates an expected call of IsClean

func (*MockLocalRepoMockRecorder) IsContributor

func (mr *MockLocalRepoMockRecorder) IsContributor(arg0 interface{}) *gomock.Call

IsContributor indicates an expected call of IsContributor

func (*MockLocalRepoMockRecorder) ListPath

func (mr *MockLocalRepoMockRecorder) ListPath(arg0, arg1 interface{}) *gomock.Call

ListPath indicates an expected call of ListPath

func (*MockLocalRepoMockRecorder) ListTreeObjects

func (mr *MockLocalRepoMockRecorder) ListTreeObjects(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListTreeObjects indicates an expected call of ListTreeObjects

func (*MockLocalRepoMockRecorder) ListTreeObjectsSlice

func (mr *MockLocalRepoMockRecorder) ListTreeObjectsSlice(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

ListTreeObjectsSlice indicates an expected call of ListTreeObjectsSlice

func (*MockLocalRepoMockRecorder) NumCommits

func (mr *MockLocalRepoMockRecorder) NumCommits(arg0, arg1 interface{}) *gomock.Call

NumCommits indicates an expected call of NumCommits

func (*MockLocalRepoMockRecorder) NumIssueBranches

func (mr *MockLocalRepoMockRecorder) NumIssueBranches() *gomock.Call

NumIssueBranches indicates an expected call of NumIssueBranches

func (*MockLocalRepoMockRecorder) Object

func (mr *MockLocalRepoMockRecorder) Object(arg0, arg1 interface{}) *gomock.Call

Object indicates an expected call of Object

func (*MockLocalRepoMockRecorder) ObjectExist

func (mr *MockLocalRepoMockRecorder) ObjectExist(arg0 interface{}) *gomock.Call

ObjectExist indicates an expected call of ObjectExist

func (*MockLocalRepoMockRecorder) Objects

func (mr *MockLocalRepoMockRecorder) Objects() *gomock.Call

Objects indicates an expected call of Objects

func (*MockLocalRepoMockRecorder) ObjectsOfCommit

func (mr *MockLocalRepoMockRecorder) ObjectsOfCommit(arg0 interface{}) *gomock.Call

ObjectsOfCommit indicates an expected call of ObjectsOfCommit

func (*MockLocalRepoMockRecorder) Prune

func (mr *MockLocalRepoMockRecorder) Prune(arg0 interface{}) *gomock.Call

Prune indicates an expected call of Prune

func (*MockLocalRepoMockRecorder) RefDelete

func (mr *MockLocalRepoMockRecorder) RefDelete(arg0 interface{}) *gomock.Call

RefDelete indicates an expected call of RefDelete

func (*MockLocalRepoMockRecorder) RefFetch

func (mr *MockLocalRepoMockRecorder) RefFetch(arg0 interface{}) *gomock.Call

RefFetch indicates an expected call of RefFetch

func (*MockLocalRepoMockRecorder) RefGet

func (mr *MockLocalRepoMockRecorder) RefGet(arg0 interface{}) *gomock.Call

RefGet indicates an expected call of RefGet

func (*MockLocalRepoMockRecorder) RefUpdate

func (mr *MockLocalRepoMockRecorder) RefUpdate(arg0, arg1 interface{}) *gomock.Call

RefUpdate indicates an expected call of RefUpdate

func (*MockLocalRepoMockRecorder) Reference

func (mr *MockLocalRepoMockRecorder) Reference(arg0, arg1 interface{}) *gomock.Call

Reference indicates an expected call of Reference

func (*MockLocalRepoMockRecorder) References

func (mr *MockLocalRepoMockRecorder) References() *gomock.Call

References indicates an expected call of References

func (*MockLocalRepoMockRecorder) Reload

func (mr *MockLocalRepoMockRecorder) Reload() *gomock.Call

Reload indicates an expected call of Reload

func (*MockLocalRepoMockRecorder) RemoveEntryFromNote

func (mr *MockLocalRepoMockRecorder) RemoveEntryFromNote(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

RemoveEntryFromNote indicates an expected call of RemoveEntryFromNote

func (*MockLocalRepoMockRecorder) SetConfig

func (mr *MockLocalRepoMockRecorder) SetConfig(arg0 interface{}) *gomock.Call

SetConfig indicates an expected call of SetConfig

func (*MockLocalRepoMockRecorder) SetPath

func (mr *MockLocalRepoMockRecorder) SetPath(arg0 interface{}) *gomock.Call

SetPath indicates an expected call of SetPath

func (*MockLocalRepoMockRecorder) SetState

func (mr *MockLocalRepoMockRecorder) SetState(arg0 interface{}) *gomock.Call

SetState indicates an expected call of SetState

func (*MockLocalRepoMockRecorder) Size

Size indicates an expected call of Size

func (*MockLocalRepoMockRecorder) Tag

func (mr *MockLocalRepoMockRecorder) Tag(arg0 interface{}) *gomock.Call

Tag indicates an expected call of Tag

func (*MockLocalRepoMockRecorder) TagDelete

func (mr *MockLocalRepoMockRecorder) TagDelete(arg0 interface{}) *gomock.Call

TagDelete indicates an expected call of TagDelete

func (*MockLocalRepoMockRecorder) TagObject

func (mr *MockLocalRepoMockRecorder) TagObject(arg0 interface{}) *gomock.Call

TagObject indicates an expected call of TagObject

func (*MockLocalRepoMockRecorder) Tags

Tags indicates an expected call of Tags

func (*MockLocalRepoMockRecorder) UpdateRepoConfig

func (mr *MockLocalRepoMockRecorder) UpdateRepoConfig(arg0 interface{}) *gomock.Call

UpdateRepoConfig indicates an expected call of UpdateRepoConfig

func (*MockLocalRepoMockRecorder) Var

func (mr *MockLocalRepoMockRecorder) Var(arg0 interface{}) *gomock.Call

Var indicates an expected call of Var

func (*MockLocalRepoMockRecorder) WrappedCommitObject

func (mr *MockLocalRepoMockRecorder) WrappedCommitObject(arg0 interface{}) *gomock.Call

WrappedCommitObject indicates an expected call of WrappedCommitObject

type MockLogic

type MockLogic struct {
	// contains filtered or unexported fields
}

MockLogic is a mock of Logic interface

func NewMockLogic

func NewMockLogic(ctrl *gomock.Controller) *MockLogic

NewMockLogic creates a new mock instance

func (*MockLogic) AccountKeeper

func (m *MockLogic) AccountKeeper() core.AccountKeeper

AccountKeeper mocks base method

func (*MockLogic) ApplyGenesisState

func (m *MockLogic) ApplyGenesisState(state json.RawMessage) error

ApplyGenesisState mocks base method

func (*MockLogic) ApplyProposals added in v0.0.29

func (m *MockLogic) ApplyProposals(block *state.BlockInfo) error

ApplyProposals mocks base method

func (*MockLogic) Config

func (m *MockLogic) Config() *config.AppConfig

Config mocks base method

func (*MockLogic) DB

func (m *MockLogic) DB() types.Engine

DB mocks base method

func (*MockLogic) DHTKeeper

func (m *MockLogic) DHTKeeper() core.DHTKeeper

DHTKeeper mocks base method

func (*MockLogic) DrySend

func (m *MockLogic) DrySend(sender interface{}, value, fee util.String, nonce uint64, allowNonceGap bool, chainHeight uint64) error

DrySend mocks base method

func (*MockLogic) EXPECT

func (m *MockLogic) EXPECT() *MockLogicMockRecorder

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

func (*MockLogic) ExecTx

func (m *MockLogic) ExecTx(args *core.ExecArgs) types2.ResponseDeliverTx

ExecTx mocks base method

func (*MockLogic) GetMempoolReactor

func (m *MockLogic) GetMempoolReactor() core.MempoolReactor

GetMempoolReactor mocks base method

func (*MockLogic) GetRemoteServer

func (m *MockLogic) GetRemoteServer() core.RemoteServer

GetRemoteServer mocks base method

func (*MockLogic) GetTicketManager

func (m *MockLogic) GetTicketManager() types0.TicketManager

GetTicketManager mocks base method

func (*MockLogic) NamespaceKeeper

func (m *MockLogic) NamespaceKeeper() core.NamespaceKeeper

NamespaceKeeper mocks base method

func (*MockLogic) OnEndBlock

func (m *MockLogic) OnEndBlock(block *state.BlockInfo) error

OnEndBlock mocks base method

func (*MockLogic) PushKeyKeeper

func (m *MockLogic) PushKeyKeeper() core.PushKeyKeeper

PushKeyKeeper mocks base method

func (*MockLogic) RepoKeeper

func (m *MockLogic) RepoKeeper() core.RepoKeeper

RepoKeeper mocks base method

func (*MockLogic) RepoSyncInfoKeeper

func (m *MockLogic) RepoSyncInfoKeeper() core.RepoSyncInfoKeeper

RepoSyncInfoKeeper mocks base method

func (*MockLogic) SetMempoolReactor

func (m *MockLogic) SetMempoolReactor(mr core.MempoolReactor)

SetMempoolReactor mocks base method

func (*MockLogic) SetRemoteServer

func (m_2 *MockLogic) SetRemoteServer(m core.RemoteServer)

SetRemoteServer mocks base method

func (*MockLogic) SetTicketManager

func (m *MockLogic) SetTicketManager(tm types0.TicketManager)

SetTicketManager mocks base method

func (*MockLogic) StateTree

func (m *MockLogic) StateTree() tree.Tree

StateTree mocks base method

func (*MockLogic) SysKeeper

func (m *MockLogic) SysKeeper() core.SystemKeeper

SysKeeper mocks base method

func (*MockLogic) Validator

func (m *MockLogic) Validator() core.ValidatorLogic

Validator mocks base method

func (*MockLogic) ValidatorKeeper

func (m *MockLogic) ValidatorKeeper() core.ValidatorKeeper

ValidatorKeeper mocks base method

type MockLogicCommon

type MockLogicCommon struct {
	// contains filtered or unexported fields
}

MockLogicCommon is a mock of LogicCommon interface

func NewMockLogicCommon

func NewMockLogicCommon(ctrl *gomock.Controller) *MockLogicCommon

NewMockLogicCommon creates a new mock instance

func (*MockLogicCommon) EXPECT

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

type MockLogicCommonMockRecorder

type MockLogicCommonMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogicCommonMockRecorder is the mock recorder for MockLogicCommon

type MockLogicMockRecorder

type MockLogicMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogicMockRecorder is the mock recorder for MockLogic

func (*MockLogicMockRecorder) AccountKeeper

func (mr *MockLogicMockRecorder) AccountKeeper() *gomock.Call

AccountKeeper indicates an expected call of AccountKeeper

func (*MockLogicMockRecorder) ApplyGenesisState

func (mr *MockLogicMockRecorder) ApplyGenesisState(state interface{}) *gomock.Call

ApplyGenesisState indicates an expected call of ApplyGenesisState

func (*MockLogicMockRecorder) ApplyProposals added in v0.0.29

func (mr *MockLogicMockRecorder) ApplyProposals(block interface{}) *gomock.Call

ApplyProposals indicates an expected call of ApplyProposals

func (*MockLogicMockRecorder) Config

func (mr *MockLogicMockRecorder) Config() *gomock.Call

Config indicates an expected call of Config

func (*MockLogicMockRecorder) DB

func (mr *MockLogicMockRecorder) DB() *gomock.Call

DB indicates an expected call of DB

func (*MockLogicMockRecorder) DHTKeeper

func (mr *MockLogicMockRecorder) DHTKeeper() *gomock.Call

DHTKeeper indicates an expected call of DHTKeeper

func (*MockLogicMockRecorder) DrySend

func (mr *MockLogicMockRecorder) DrySend(sender, value, fee, nonce, allowNonceGap, chainHeight interface{}) *gomock.Call

DrySend indicates an expected call of DrySend

func (*MockLogicMockRecorder) ExecTx

func (mr *MockLogicMockRecorder) ExecTx(args interface{}) *gomock.Call

ExecTx indicates an expected call of ExecTx

func (*MockLogicMockRecorder) GetMempoolReactor

func (mr *MockLogicMockRecorder) GetMempoolReactor() *gomock.Call

GetMempoolReactor indicates an expected call of GetMempoolReactor

func (*MockLogicMockRecorder) GetRemoteServer

func (mr *MockLogicMockRecorder) GetRemoteServer() *gomock.Call

GetRemoteServer indicates an expected call of GetRemoteServer

func (*MockLogicMockRecorder) GetTicketManager

func (mr *MockLogicMockRecorder) GetTicketManager() *gomock.Call

GetTicketManager indicates an expected call of GetTicketManager

func (*MockLogicMockRecorder) NamespaceKeeper

func (mr *MockLogicMockRecorder) NamespaceKeeper() *gomock.Call

NamespaceKeeper indicates an expected call of NamespaceKeeper

func (*MockLogicMockRecorder) OnEndBlock

func (mr *MockLogicMockRecorder) OnEndBlock(block interface{}) *gomock.Call

OnEndBlock indicates an expected call of OnEndBlock

func (*MockLogicMockRecorder) PushKeyKeeper

func (mr *MockLogicMockRecorder) PushKeyKeeper() *gomock.Call

PushKeyKeeper indicates an expected call of PushKeyKeeper

func (*MockLogicMockRecorder) RepoKeeper

func (mr *MockLogicMockRecorder) RepoKeeper() *gomock.Call

RepoKeeper indicates an expected call of RepoKeeper

func (*MockLogicMockRecorder) RepoSyncInfoKeeper

func (mr *MockLogicMockRecorder) RepoSyncInfoKeeper() *gomock.Call

RepoSyncInfoKeeper indicates an expected call of RepoSyncInfoKeeper

func (*MockLogicMockRecorder) SetMempoolReactor

func (mr_2 *MockLogicMockRecorder) SetMempoolReactor(mr interface{}) *gomock.Call

SetMempoolReactor indicates an expected call of SetMempoolReactor

func (*MockLogicMockRecorder) SetRemoteServer

func (mr *MockLogicMockRecorder) SetRemoteServer(m interface{}) *gomock.Call

SetRemoteServer indicates an expected call of SetRemoteServer

func (*MockLogicMockRecorder) SetTicketManager

func (mr *MockLogicMockRecorder) SetTicketManager(tm interface{}) *gomock.Call

SetTicketManager indicates an expected call of SetTicketManager

func (*MockLogicMockRecorder) StateTree

func (mr *MockLogicMockRecorder) StateTree() *gomock.Call

StateTree indicates an expected call of StateTree

func (*MockLogicMockRecorder) SysKeeper

func (mr *MockLogicMockRecorder) SysKeeper() *gomock.Call

SysKeeper indicates an expected call of SysKeeper

func (*MockLogicMockRecorder) Validator

func (mr *MockLogicMockRecorder) Validator() *gomock.Call

Validator indicates an expected call of Validator

func (*MockLogicMockRecorder) ValidatorKeeper

func (mr *MockLogicMockRecorder) ValidatorKeeper() *gomock.Call

ValidatorKeeper indicates an expected call of ValidatorKeeper

type MockMempool

type MockMempool struct {
	// contains filtered or unexported fields
}

MockMempool is a mock of Mempool interface

func NewMockMempool

func NewMockMempool(ctrl *gomock.Controller) *MockMempool

NewMockMempool creates a new mock instance

func (*MockMempool) Add

func (m *MockMempool) Add(tx types.BaseTx) (bool, error)

Add mocks base method

func (*MockMempool) CheckTx

func (m *MockMempool) CheckTx(tx types1.Tx, callback func(*types0.Response), txInfo mempool.TxInfo) error

CheckTx mocks base method

func (*MockMempool) CloseWAL

func (m *MockMempool) CloseWAL()

CloseWAL mocks base method

func (*MockMempool) EXPECT

func (m *MockMempool) EXPECT() *MockMempoolMockRecorder

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

func (*MockMempool) EnableTxsAvailable

func (m *MockMempool) EnableTxsAvailable()

EnableTxsAvailable mocks base method

func (*MockMempool) Flush

func (m *MockMempool) Flush()

Flush mocks base method

func (*MockMempool) FlushAppConn

func (m *MockMempool) FlushAppConn() error

FlushAppConn mocks base method

func (*MockMempool) InitWAL

func (m *MockMempool) InitWAL() error

InitWAL mocks base method

func (*MockMempool) Lock

func (m *MockMempool) Lock()

Lock mocks base method

func (*MockMempool) ReapMaxBytesMaxGas

func (m *MockMempool) ReapMaxBytesMaxGas(maxBytes, maxGas int64) types1.Txs

ReapMaxBytesMaxGas mocks base method

func (*MockMempool) ReapMaxTxs

func (m *MockMempool) ReapMaxTxs(max int) types1.Txs

ReapMaxTxs mocks base method

func (*MockMempool) Size

func (m *MockMempool) Size() int

Size mocks base method

func (*MockMempool) TxsAvailable

func (m *MockMempool) TxsAvailable() <-chan struct{}

TxsAvailable mocks base method

func (*MockMempool) TxsBytes

func (m *MockMempool) TxsBytes() int64

TxsBytes mocks base method

func (*MockMempool) Unlock

func (m *MockMempool) Unlock()

Unlock mocks base method

func (*MockMempool) Update

func (m *MockMempool) Update(blockHeight int64, blockTxs types1.Txs, deliverTxResponses []*types0.ResponseDeliverTx, newPreFn mempool.PreCheckFunc, newPostFn mempool.PostCheckFunc) error

Update mocks base method

type MockMempoolMockRecorder

type MockMempoolMockRecorder struct {
	// contains filtered or unexported fields
}

MockMempoolMockRecorder is the mock recorder for MockMempool

func (*MockMempoolMockRecorder) Add

func (mr *MockMempoolMockRecorder) Add(tx interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockMempoolMockRecorder) CheckTx

func (mr *MockMempoolMockRecorder) CheckTx(tx, callback, txInfo interface{}) *gomock.Call

CheckTx indicates an expected call of CheckTx

func (*MockMempoolMockRecorder) CloseWAL

func (mr *MockMempoolMockRecorder) CloseWAL() *gomock.Call

CloseWAL indicates an expected call of CloseWAL

func (*MockMempoolMockRecorder) EnableTxsAvailable

func (mr *MockMempoolMockRecorder) EnableTxsAvailable() *gomock.Call

EnableTxsAvailable indicates an expected call of EnableTxsAvailable

func (*MockMempoolMockRecorder) Flush

func (mr *MockMempoolMockRecorder) Flush() *gomock.Call

Flush indicates an expected call of Flush

func (*MockMempoolMockRecorder) FlushAppConn

func (mr *MockMempoolMockRecorder) FlushAppConn() *gomock.Call

FlushAppConn indicates an expected call of FlushAppConn

func (*MockMempoolMockRecorder) InitWAL

func (mr *MockMempoolMockRecorder) InitWAL() *gomock.Call

InitWAL indicates an expected call of InitWAL

func (*MockMempoolMockRecorder) Lock

func (mr *MockMempoolMockRecorder) Lock() *gomock.Call

Lock indicates an expected call of Lock

func (*MockMempoolMockRecorder) ReapMaxBytesMaxGas

func (mr *MockMempoolMockRecorder) ReapMaxBytesMaxGas(maxBytes, maxGas interface{}) *gomock.Call

ReapMaxBytesMaxGas indicates an expected call of ReapMaxBytesMaxGas

func (*MockMempoolMockRecorder) ReapMaxTxs

func (mr *MockMempoolMockRecorder) ReapMaxTxs(max interface{}) *gomock.Call

ReapMaxTxs indicates an expected call of ReapMaxTxs

func (*MockMempoolMockRecorder) Size

func (mr *MockMempoolMockRecorder) Size() *gomock.Call

Size indicates an expected call of Size

func (*MockMempoolMockRecorder) TxsAvailable

func (mr *MockMempoolMockRecorder) TxsAvailable() *gomock.Call

TxsAvailable indicates an expected call of TxsAvailable

func (*MockMempoolMockRecorder) TxsBytes

func (mr *MockMempoolMockRecorder) TxsBytes() *gomock.Call

TxsBytes indicates an expected call of TxsBytes

func (*MockMempoolMockRecorder) Unlock

func (mr *MockMempoolMockRecorder) Unlock() *gomock.Call

Unlock indicates an expected call of Unlock

func (*MockMempoolMockRecorder) Update

func (mr *MockMempoolMockRecorder) Update(blockHeight, blockTxs, deliverTxResponses, newPreFn, newPostFn interface{}) *gomock.Call

Update indicates an expected call of Update

type MockMempoolReactor

type MockMempoolReactor struct {
	// contains filtered or unexported fields
}

MockMempoolReactor is a mock of MempoolReactor interface

func NewMockMempoolReactor

func NewMockMempoolReactor(ctrl *gomock.Controller) *MockMempoolReactor

NewMockMempoolReactor creates a new mock instance

func (*MockMempoolReactor) AddTx

AddTx mocks base method

func (*MockMempoolReactor) EXPECT

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

func (*MockMempoolReactor) GetPoolSize

func (m *MockMempoolReactor) GetPoolSize() *core.PoolSizeInfo

GetPoolSize mocks base method

func (*MockMempoolReactor) GetTop

func (m *MockMempoolReactor) GetTop(n int) []types.BaseTx

GetTop mocks base method

func (*MockMempoolReactor) GetTx

func (m *MockMempoolReactor) GetTx(hash string) types.BaseTx

GetTx mocks base method

type MockMempoolReactorMockRecorder

type MockMempoolReactorMockRecorder struct {
	// contains filtered or unexported fields
}

MockMempoolReactorMockRecorder is the mock recorder for MockMempoolReactor

func (*MockMempoolReactorMockRecorder) AddTx

func (mr *MockMempoolReactorMockRecorder) AddTx(tx interface{}) *gomock.Call

AddTx indicates an expected call of AddTx

func (*MockMempoolReactorMockRecorder) GetPoolSize

func (mr *MockMempoolReactorMockRecorder) GetPoolSize() *gomock.Call

GetPoolSize indicates an expected call of GetPoolSize

func (*MockMempoolReactorMockRecorder) GetTop

func (mr *MockMempoolReactorMockRecorder) GetTop(n interface{}) *gomock.Call

GetTop indicates an expected call of GetTop

func (*MockMempoolReactorMockRecorder) GetTx

func (mr *MockMempoolReactorMockRecorder) GetTx(hash interface{}) *gomock.Call

GetTx indicates an expected call of GetTx

type MockModule

type MockModule struct {
	// contains filtered or unexported fields
}

MockModule is a mock of Module interface

func NewMockModule

func NewMockModule(ctrl *gomock.Controller) *MockModule

NewMockModule creates a new mock instance

func (*MockModule) ConfigureVM

func (m *MockModule) ConfigureVM(vm *otto.Otto) prompt.Completer

ConfigureVM mocks base method

func (*MockModule) EXPECT

func (m *MockModule) EXPECT() *MockModuleMockRecorder

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

type MockModuleMockRecorder

type MockModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockModuleMockRecorder is the mock recorder for MockModule

func (*MockModuleMockRecorder) ConfigureVM

func (mr *MockModuleMockRecorder) ConfigureVM(vm interface{}) *gomock.Call

ConfigureVM indicates an expected call of ConfigureVM

type MockModulesHub

type MockModulesHub struct {
	// contains filtered or unexported fields
}

MockModulesHub is a mock of ModulesHub interface

func NewMockModulesHub

func NewMockModulesHub(ctrl *gomock.Controller) *MockModulesHub

NewMockModulesHub creates a new mock instance

func (*MockModulesHub) ConfigureVM

func (m *MockModulesHub) ConfigureVM(vm *otto.Otto) []prompt.Completer

ConfigureVM mocks base method

func (*MockModulesHub) EXPECT

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

func (*MockModulesHub) GetModules

func (m *MockModulesHub) GetModules() *types.Modules

GetModules mocks base method

type MockModulesHubMockRecorder

type MockModulesHubMockRecorder struct {
	// contains filtered or unexported fields
}

MockModulesHubMockRecorder is the mock recorder for MockModulesHub

func (*MockModulesHubMockRecorder) ConfigureVM

func (mr *MockModulesHubMockRecorder) ConfigureVM(vm interface{}) *gomock.Call

ConfigureVM indicates an expected call of ConfigureVM

func (*MockModulesHubMockRecorder) GetModules

func (mr *MockModulesHubMockRecorder) GetModules() *gomock.Call

GetModules indicates an expected call of GetModules

type MockNamespaceKeeper

type MockNamespaceKeeper struct {
	// contains filtered or unexported fields
}

MockNamespaceKeeper is a mock of NamespaceKeeper interface

func NewMockNamespaceKeeper

func NewMockNamespaceKeeper(ctrl *gomock.Controller) *MockNamespaceKeeper

NewMockNamespaceKeeper creates a new mock instance

func (*MockNamespaceKeeper) EXPECT

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

func (*MockNamespaceKeeper) Get

func (m *MockNamespaceKeeper) Get(name string, blockNum ...uint64) *state.Namespace

Get mocks base method

func (*MockNamespaceKeeper) GetTarget

func (m *MockNamespaceKeeper) GetTarget(path string, blockNum ...uint64) (string, error)

GetTarget mocks base method

func (*MockNamespaceKeeper) Update

func (m *MockNamespaceKeeper) Update(name string, upd *state.Namespace)

Update mocks base method

type MockNamespaceKeeperMockRecorder

type MockNamespaceKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockNamespaceKeeperMockRecorder is the mock recorder for MockNamespaceKeeper

func (*MockNamespaceKeeperMockRecorder) Get

func (mr *MockNamespaceKeeperMockRecorder) Get(name interface{}, blockNum ...interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockNamespaceKeeperMockRecorder) GetTarget

func (mr *MockNamespaceKeeperMockRecorder) GetTarget(path interface{}, blockNum ...interface{}) *gomock.Call

GetTarget indicates an expected call of GetTarget

func (*MockNamespaceKeeperMockRecorder) Update

func (mr *MockNamespaceKeeperMockRecorder) Update(name, upd interface{}) *gomock.Call

Update indicates an expected call of Update

type MockNamespaceModule

type MockNamespaceModule struct {
	// contains filtered or unexported fields
}

MockNamespaceModule is a mock of NamespaceModule interface

func NewMockNamespaceModule

func NewMockNamespaceModule(ctrl *gomock.Controller) *MockNamespaceModule

NewMockNamespaceModule creates a new mock instance

func (*MockNamespaceModule) ConfigureVM

func (m *MockNamespaceModule) ConfigureVM(vm *otto.Otto) prompt.Completer

ConfigureVM mocks base method

func (*MockNamespaceModule) EXPECT

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

func (*MockNamespaceModule) GetTarget

func (m *MockNamespaceModule) GetTarget(path string, height ...uint64) string

GetTarget mocks base method

func (*MockNamespaceModule) Lookup

func (m *MockNamespaceModule) Lookup(name string, height ...uint64) util.Map

Lookup mocks base method

func (*MockNamespaceModule) Register

func (m *MockNamespaceModule) Register(params map[string]interface{}, options ...interface{}) util.Map

Register mocks base method

func (*MockNamespaceModule) UpdateDomain

func (m *MockNamespaceModule) UpdateDomain(params map[string]interface{}, options ...interface{}) util.Map

UpdateDomain mocks base method

type MockNamespaceModuleMockRecorder

type MockNamespaceModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockNamespaceModuleMockRecorder is the mock recorder for MockNamespaceModule

func (*MockNamespaceModuleMockRecorder) ConfigureVM

func (mr *MockNamespaceModuleMockRecorder) ConfigureVM(vm interface{}) *gomock.Call

ConfigureVM indicates an expected call of ConfigureVM

func (*MockNamespaceModuleMockRecorder) GetTarget

func (mr *MockNamespaceModuleMockRecorder) GetTarget(path interface{}, height ...interface{}) *gomock.Call

GetTarget indicates an expected call of GetTarget

func (*MockNamespaceModuleMockRecorder) Lookup

func (mr *MockNamespaceModuleMockRecorder) Lookup(name interface{}, height ...interface{}) *gomock.Call

Lookup indicates an expected call of Lookup

func (*MockNamespaceModuleMockRecorder) Register

func (mr *MockNamespaceModuleMockRecorder) Register(params interface{}, options ...interface{}) *gomock.Call

Register indicates an expected call of Register

func (*MockNamespaceModuleMockRecorder) UpdateDomain

func (mr *MockNamespaceModuleMockRecorder) UpdateDomain(params interface{}, options ...interface{}) *gomock.Call

UpdateDomain indicates an expected call of UpdateDomain

type MockNodeModule

type MockNodeModule struct {
	// contains filtered or unexported fields
}

MockNodeModule is a mock of NodeModule interface

func NewMockNodeModule

func NewMockNodeModule(ctrl *gomock.Controller) *MockNodeModule

NewMockNodeModule creates a new mock instance

func (*MockNodeModule) ConfigureVM

func (m *MockNodeModule) ConfigureVM(vm *otto.Otto) prompt.Completer

ConfigureVM mocks base method

func (*MockNodeModule) EXPECT

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

func (*MockNodeModule) GetBlock

func (m *MockNodeModule) GetBlock(height string) util.Map

GetBlock mocks base method

func (*MockNodeModule) GetBlockInfo

func (m *MockNodeModule) GetBlockInfo(height string) util.Map

GetBlockInfo mocks base method

func (*MockNodeModule) GetCurHeight added in v0.0.29

func (m *MockNodeModule) GetCurHeight() string

GetCurHeight mocks base method

func (*MockNodeModule) GetCurrentEpoch added in v0.0.29

func (m *MockNodeModule) GetCurrentEpoch() string

GetCurrentEpoch mocks base method

func (*MockNodeModule) GetEpoch added in v0.0.29

func (m *MockNodeModule) GetEpoch(height int64) string

GetEpoch mocks base method

func (*MockNodeModule) GetValidators

func (m *MockNodeModule) GetValidators(height string) []util.Map

GetValidators mocks base method

func (*MockNodeModule) IsSyncing

func (m *MockNodeModule) IsSyncing() bool

IsSyncing mocks base method

type MockNodeModuleMockRecorder

type MockNodeModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockNodeModuleMockRecorder is the mock recorder for MockNodeModule

func (*MockNodeModuleMockRecorder) ConfigureVM

func (mr *MockNodeModuleMockRecorder) ConfigureVM(vm interface{}) *gomock.Call

ConfigureVM indicates an expected call of ConfigureVM

func (*MockNodeModuleMockRecorder) GetBlock

func (mr *MockNodeModuleMockRecorder) GetBlock(height interface{}) *gomock.Call

GetBlock indicates an expected call of GetBlock

func (*MockNodeModuleMockRecorder) GetBlockInfo

func (mr *MockNodeModuleMockRecorder) GetBlockInfo(height interface{}) *gomock.Call

GetBlockInfo indicates an expected call of GetBlockInfo

func (*MockNodeModuleMockRecorder) GetCurHeight added in v0.0.29

func (mr *MockNodeModuleMockRecorder) GetCurHeight() *gomock.Call

GetCurHeight indicates an expected call of GetCurHeight

func (*MockNodeModuleMockRecorder) GetCurrentEpoch added in v0.0.29

func (mr *MockNodeModuleMockRecorder) GetCurrentEpoch() *gomock.Call

GetCurrentEpoch indicates an expected call of GetCurrentEpoch

func (*MockNodeModuleMockRecorder) GetEpoch added in v0.0.29

func (mr *MockNodeModuleMockRecorder) GetEpoch(height interface{}) *gomock.Call

GetEpoch indicates an expected call of GetEpoch

func (*MockNodeModuleMockRecorder) GetValidators

func (mr *MockNodeModuleMockRecorder) GetValidators(height interface{}) *gomock.Call

GetValidators indicates an expected call of GetValidators

func (*MockNodeModuleMockRecorder) IsSyncing

func (mr *MockNodeModuleMockRecorder) IsSyncing() *gomock.Call

IsSyncing indicates an expected call of IsSyncing

type MockObjectFetcher

type MockObjectFetcher struct {
	// contains filtered or unexported fields
}

MockObjectFetcher is a mock of ObjectFetcher interface

func NewMockObjectFetcher

func NewMockObjectFetcher(ctrl *gomock.Controller) *MockObjectFetcher

NewMockObjectFetcher creates a new mock instance

func (*MockObjectFetcher) EXPECT

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

func (*MockObjectFetcher) FetchAsync

func (m *MockObjectFetcher) FetchAsync(note types.PushNote, cb func(error))

FetchAsync mocks base method

func (*MockObjectFetcher) OnPackReceived

func (m *MockObjectFetcher) OnPackReceived(cb func(string, io.ReadSeeker))

OnPackReceived mocks base method

func (*MockObjectFetcher) QueueSize

func (m *MockObjectFetcher) QueueSize() int

QueueSize mocks base method

func (*MockObjectFetcher) Start

func (m *MockObjectFetcher) Start()

Start mocks base method

func (*MockObjectFetcher) Stop

func (m *MockObjectFetcher) Stop()

Stop mocks base method

type MockObjectFetcherMockRecorder

type MockObjectFetcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockObjectFetcherMockRecorder is the mock recorder for MockObjectFetcher

func (*MockObjectFetcherMockRecorder) FetchAsync

func (mr *MockObjectFetcherMockRecorder) FetchAsync(note, cb interface{}) *gomock.Call

FetchAsync indicates an expected call of FetchAsync

func (*MockObjectFetcherMockRecorder) OnPackReceived

func (mr *MockObjectFetcherMockRecorder) OnPackReceived(cb interface{}) *gomock.Call

OnPackReceived indicates an expected call of OnPackReceived

func (*MockObjectFetcherMockRecorder) QueueSize

func (mr *MockObjectFetcherMockRecorder) QueueSize() *gomock.Call

QueueSize indicates an expected call of QueueSize

func (*MockObjectFetcherMockRecorder) Start

Start indicates an expected call of Start

func (*MockObjectFetcherMockRecorder) Stop

Stop indicates an expected call of Stop

type MockObjectFetcherService

type MockObjectFetcherService struct {
	// contains filtered or unexported fields
}

MockObjectFetcherService is a mock of ObjectFetcherService interface

func NewMockObjectFetcherService

func NewMockObjectFetcherService(ctrl *gomock.Controller) *MockObjectFetcherService

NewMockObjectFetcherService creates a new mock instance

func (*MockObjectFetcherService) EXPECT

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

func (*MockObjectFetcherService) FetchAsync

func (m *MockObjectFetcherService) FetchAsync(note types.PushNote, cb func(error))

FetchAsync mocks base method

func (*MockObjectFetcherService) OnPackReceived

func (m *MockObjectFetcherService) OnPackReceived(cb func(string, io.ReadSeeker))

OnPackReceived mocks base method

type MockObjectFetcherServiceMockRecorder

type MockObjectFetcherServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockObjectFetcherServiceMockRecorder is the mock recorder for MockObjectFetcherService

func (*MockObjectFetcherServiceMockRecorder) FetchAsync

func (mr *MockObjectFetcherServiceMockRecorder) FetchAsync(note, cb interface{}) *gomock.Call

FetchAsync indicates an expected call of FetchAsync

func (*MockObjectFetcherServiceMockRecorder) OnPackReceived

func (mr *MockObjectFetcherServiceMockRecorder) OnPackReceived(cb interface{}) *gomock.Call

OnPackReceived indicates an expected call of OnPackReceived

type MockObjectRequester

type MockObjectRequester struct {
	// contains filtered or unexported fields
}

MockObjectRequester is a mock of ObjectRequester interface

func NewMockObjectRequester

func NewMockObjectRequester(ctrl *gomock.Controller) *MockObjectRequester

NewMockObjectRequester creates a new mock instance

func (*MockObjectRequester) AddProviderStream

func (m *MockObjectRequester) AddProviderStream(streams ...network.Stream)

AddProviderStream mocks base method

func (*MockObjectRequester) Do

Do mocks base method

func (*MockObjectRequester) DoWant

func (m *MockObjectRequester) DoWant(ctx context.Context) error

DoWant mocks base method

func (*MockObjectRequester) EXPECT

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

func (*MockObjectRequester) GetProviderStreams

func (m *MockObjectRequester) GetProviderStreams() []network.Stream

GetProviderStreams mocks base method

func (*MockObjectRequester) OnSendResponse

func (m *MockObjectRequester) OnSendResponse(s network.Stream) (io.ReadSeekerCloser, error)

OnSendResponse mocks base method

func (*MockObjectRequester) OnWantResponse

func (m *MockObjectRequester) OnWantResponse(s network.Stream) error

OnWantResponse mocks base method

func (*MockObjectRequester) Write

func (m *MockObjectRequester) Write(ctx context.Context, prov peer.AddrInfo, pid protocol.ID, data []byte) (network.Stream, error)

Write mocks base method

func (*MockObjectRequester) WriteToStream

func (m *MockObjectRequester) WriteToStream(str network.Stream, data []byte) error

WriteToStream mocks base method

type MockObjectRequesterMockRecorder

type MockObjectRequesterMockRecorder struct {
	// contains filtered or unexported fields
}

MockObjectRequesterMockRecorder is the mock recorder for MockObjectRequester

func (*MockObjectRequesterMockRecorder) AddProviderStream

func (mr *MockObjectRequesterMockRecorder) AddProviderStream(streams ...interface{}) *gomock.Call

AddProviderStream indicates an expected call of AddProviderStream

func (*MockObjectRequesterMockRecorder) Do

func (mr *MockObjectRequesterMockRecorder) Do(ctx interface{}) *gomock.Call

Do indicates an expected call of Do

func (*MockObjectRequesterMockRecorder) DoWant

func (mr *MockObjectRequesterMockRecorder) DoWant(ctx interface{}) *gomock.Call

DoWant indicates an expected call of DoWant

func (*MockObjectRequesterMockRecorder) GetProviderStreams

func (mr *MockObjectRequesterMockRecorder) GetProviderStreams() *gomock.Call

GetProviderStreams indicates an expected call of GetProviderStreams

func (*MockObjectRequesterMockRecorder) OnSendResponse

func (mr *MockObjectRequesterMockRecorder) OnSendResponse(s interface{}) *gomock.Call

OnSendResponse indicates an expected call of OnSendResponse

func (*MockObjectRequesterMockRecorder) OnWantResponse

func (mr *MockObjectRequesterMockRecorder) OnWantResponse(s interface{}) *gomock.Call

OnWantResponse indicates an expected call of OnWantResponse

func (*MockObjectRequesterMockRecorder) Write

func (mr *MockObjectRequesterMockRecorder) Write(ctx, prov, pid, data interface{}) *gomock.Call

Write indicates an expected call of Write

func (*MockObjectRequesterMockRecorder) WriteToStream

func (mr *MockObjectRequesterMockRecorder) WriteToStream(str, data interface{}) *gomock.Call

WriteToStream indicates an expected call of WriteToStream

type MockPeer

type MockPeer struct {
	// contains filtered or unexported fields
}

MockPeer is a mock of Peer interface

func NewMockPeer

func NewMockPeer(ctrl *gomock.Controller) *MockPeer

NewMockPeer creates a new mock instance

func (*MockPeer) CloseConn

func (m *MockPeer) CloseConn() error

CloseConn mocks base method

func (*MockPeer) EXPECT

func (m *MockPeer) EXPECT() *MockPeerMockRecorder

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

func (*MockPeer) FlushStop

func (m *MockPeer) FlushStop()

FlushStop mocks base method

func (*MockPeer) Get

func (m *MockPeer) Get(arg0 string) interface{}

Get mocks base method

func (*MockPeer) ID

func (m *MockPeer) ID() p2p.ID

ID mocks base method

func (*MockPeer) IsOutbound

func (m *MockPeer) IsOutbound() bool

IsOutbound mocks base method

func (*MockPeer) IsPersistent

func (m *MockPeer) IsPersistent() bool

IsPersistent mocks base method

func (*MockPeer) IsRunning

func (m *MockPeer) IsRunning() bool

IsRunning mocks base method

func (*MockPeer) NodeInfo

func (m *MockPeer) NodeInfo() p2p.NodeInfo

NodeInfo mocks base method

func (*MockPeer) OnReset

func (m *MockPeer) OnReset() error

OnReset mocks base method

func (*MockPeer) OnStart

func (m *MockPeer) OnStart() error

OnStart mocks base method

func (*MockPeer) OnStop

func (m *MockPeer) OnStop()

OnStop mocks base method

func (*MockPeer) Quit

func (m *MockPeer) Quit() <-chan struct{}

Quit mocks base method

func (*MockPeer) RemoteAddr

func (m *MockPeer) RemoteAddr() net.Addr

RemoteAddr mocks base method

func (*MockPeer) RemoteIP

func (m *MockPeer) RemoteIP() net.IP

RemoteIP mocks base method

func (*MockPeer) Reset

func (m *MockPeer) Reset() error

Reset mocks base method

func (*MockPeer) Send

func (m *MockPeer) Send(arg0 byte, arg1 []byte) bool

Send mocks base method

func (*MockPeer) Set

func (m *MockPeer) Set(arg0 string, arg1 interface{})

Set mocks base method

func (*MockPeer) SetLogger

func (m *MockPeer) SetLogger(arg0 log.Logger)

SetLogger mocks base method

func (*MockPeer) SocketAddr

func (m *MockPeer) SocketAddr() *p2p.NetAddress

SocketAddr mocks base method

func (*MockPeer) Start

func (m *MockPeer) Start() error

Start mocks base method

func (*MockPeer) Status

func (m *MockPeer) Status() p2p.ConnectionStatus

Status mocks base method

func (*MockPeer) Stop

func (m *MockPeer) Stop() error

Stop mocks base method

func (*MockPeer) String

func (m *MockPeer) String() string

String mocks base method

func (*MockPeer) TrySend

func (m *MockPeer) TrySend(arg0 byte, arg1 []byte) bool

TrySend mocks base method

type MockPeerMockRecorder

type MockPeerMockRecorder struct {
	// contains filtered or unexported fields
}

MockPeerMockRecorder is the mock recorder for MockPeer

func (*MockPeerMockRecorder) CloseConn

func (mr *MockPeerMockRecorder) CloseConn() *gomock.Call

CloseConn indicates an expected call of CloseConn

func (*MockPeerMockRecorder) FlushStop

func (mr *MockPeerMockRecorder) FlushStop() *gomock.Call

FlushStop indicates an expected call of FlushStop

func (*MockPeerMockRecorder) Get

func (mr *MockPeerMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockPeerMockRecorder) ID

func (mr *MockPeerMockRecorder) ID() *gomock.Call

ID indicates an expected call of ID

func (*MockPeerMockRecorder) IsOutbound

func (mr *MockPeerMockRecorder) IsOutbound() *gomock.Call

IsOutbound indicates an expected call of IsOutbound

func (*MockPeerMockRecorder) IsPersistent

func (mr *MockPeerMockRecorder) IsPersistent() *gomock.Call

IsPersistent indicates an expected call of IsPersistent

func (*MockPeerMockRecorder) IsRunning

func (mr *MockPeerMockRecorder) IsRunning() *gomock.Call

IsRunning indicates an expected call of IsRunning

func (*MockPeerMockRecorder) NodeInfo

func (mr *MockPeerMockRecorder) NodeInfo() *gomock.Call

NodeInfo indicates an expected call of NodeInfo

func (*MockPeerMockRecorder) OnReset

func (mr *MockPeerMockRecorder) OnReset() *gomock.Call

OnReset indicates an expected call of OnReset

func (*MockPeerMockRecorder) OnStart

func (mr *MockPeerMockRecorder) OnStart() *gomock.Call

OnStart indicates an expected call of OnStart

func (*MockPeerMockRecorder) OnStop

func (mr *MockPeerMockRecorder) OnStop() *gomock.Call

OnStop indicates an expected call of OnStop

func (*MockPeerMockRecorder) Quit

func (mr *MockPeerMockRecorder) Quit() *gomock.Call

Quit indicates an expected call of Quit

func (*MockPeerMockRecorder) RemoteAddr

func (mr *MockPeerMockRecorder) RemoteAddr() *gomock.Call

RemoteAddr indicates an expected call of RemoteAddr

func (*MockPeerMockRecorder) RemoteIP

func (mr *MockPeerMockRecorder) RemoteIP() *gomock.Call

RemoteIP indicates an expected call of RemoteIP

func (*MockPeerMockRecorder) Reset

func (mr *MockPeerMockRecorder) Reset() *gomock.Call

Reset indicates an expected call of Reset

func (*MockPeerMockRecorder) Send

func (mr *MockPeerMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call

Send indicates an expected call of Send

func (*MockPeerMockRecorder) Set

func (mr *MockPeerMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call

Set indicates an expected call of Set

func (*MockPeerMockRecorder) SetLogger

func (mr *MockPeerMockRecorder) SetLogger(arg0 interface{}) *gomock.Call

SetLogger indicates an expected call of SetLogger

func (*MockPeerMockRecorder) SocketAddr

func (mr *MockPeerMockRecorder) SocketAddr() *gomock.Call

SocketAddr indicates an expected call of SocketAddr

func (*MockPeerMockRecorder) Start

func (mr *MockPeerMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start

func (*MockPeerMockRecorder) Status

func (mr *MockPeerMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status

func (*MockPeerMockRecorder) Stop

func (mr *MockPeerMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop

func (*MockPeerMockRecorder) String

func (mr *MockPeerMockRecorder) String() *gomock.Call

String indicates an expected call of String

func (*MockPeerMockRecorder) TrySend

func (mr *MockPeerMockRecorder) TrySend(arg0, arg1 interface{}) *gomock.Call

TrySend indicates an expected call of TrySend

type MockPeerstore

type MockPeerstore struct {
	// contains filtered or unexported fields
}

MockPeerstore is a mock of Peerstore interface

func NewMockPeerstore

func NewMockPeerstore(ctrl *gomock.Controller) *MockPeerstore

NewMockPeerstore creates a new mock instance

func (*MockPeerstore) AddAddr

func (m *MockPeerstore) AddAddr(p peer.ID, addr multiaddr.Multiaddr, ttl time.Duration)

AddAddr mocks base method

func (*MockPeerstore) AddAddrs

func (m *MockPeerstore) AddAddrs(p peer.ID, addrs []multiaddr.Multiaddr, ttl time.Duration)

AddAddrs mocks base method

func (*MockPeerstore) AddPrivKey

func (m *MockPeerstore) AddPrivKey(arg0 peer.ID, arg1 crypto.PrivKey) error

AddPrivKey mocks base method

func (*MockPeerstore) AddProtocols

func (m *MockPeerstore) AddProtocols(arg0 peer.ID, arg1 ...string) error

AddProtocols mocks base method

func (*MockPeerstore) AddPubKey

func (m *MockPeerstore) AddPubKey(arg0 peer.ID, arg1 crypto.PubKey) error

AddPubKey mocks base method

func (*MockPeerstore) AddrStream

func (m *MockPeerstore) AddrStream(arg0 context.Context, arg1 peer.ID) <-chan multiaddr.Multiaddr

AddrStream mocks base method

func (*MockPeerstore) Addrs

func (m *MockPeerstore) Addrs(p peer.ID) []multiaddr.Multiaddr

Addrs mocks base method

func (*MockPeerstore) ClearAddrs

func (m *MockPeerstore) ClearAddrs(p peer.ID)

ClearAddrs mocks base method

func (*MockPeerstore) Close

func (m *MockPeerstore) Close() error

Close mocks base method

func (*MockPeerstore) EXPECT

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

func (*MockPeerstore) FirstSupportedProtocol

func (m *MockPeerstore) FirstSupportedProtocol(arg0 peer.ID, arg1 ...string) (string, error)

FirstSupportedProtocol mocks base method

func (*MockPeerstore) Get

func (m *MockPeerstore) Get(p peer.ID, key string) (interface{}, error)

Get mocks base method

func (*MockPeerstore) GetProtocols

func (m *MockPeerstore) GetProtocols(arg0 peer.ID) ([]string, error)

GetProtocols mocks base method

func (*MockPeerstore) LatencyEWMA

func (m *MockPeerstore) LatencyEWMA(arg0 peer.ID) time.Duration

LatencyEWMA mocks base method

func (*MockPeerstore) PeerInfo

func (m *MockPeerstore) PeerInfo(arg0 peer.ID) peer.AddrInfo

PeerInfo mocks base method

func (*MockPeerstore) Peers

func (m *MockPeerstore) Peers() peer.IDSlice

Peers mocks base method

func (*MockPeerstore) PeersWithAddrs

func (m *MockPeerstore) PeersWithAddrs() peer.IDSlice

PeersWithAddrs mocks base method

func (*MockPeerstore) PeersWithKeys

func (m *MockPeerstore) PeersWithKeys() peer.IDSlice

PeersWithKeys mocks base method

func (*MockPeerstore) PrivKey

func (m *MockPeerstore) PrivKey(arg0 peer.ID) crypto.PrivKey

PrivKey mocks base method

func (*MockPeerstore) PubKey

func (m *MockPeerstore) PubKey(arg0 peer.ID) crypto.PubKey

PubKey mocks base method

func (*MockPeerstore) Put

func (m *MockPeerstore) Put(p peer.ID, key string, val interface{}) error

Put mocks base method

func (*MockPeerstore) RecordLatency

func (m *MockPeerstore) RecordLatency(arg0 peer.ID, arg1 time.Duration)

RecordLatency mocks base method

func (*MockPeerstore) RemoveProtocols

func (m *MockPeerstore) RemoveProtocols(arg0 peer.ID, arg1 ...string) error

RemoveProtocols mocks base method

func (*MockPeerstore) SetAddr

func (m *MockPeerstore) SetAddr(p peer.ID, addr multiaddr.Multiaddr, ttl time.Duration)

SetAddr mocks base method

func (*MockPeerstore) SetAddrs

func (m *MockPeerstore) SetAddrs(p peer.ID, addrs []multiaddr.Multiaddr, ttl time.Duration)

SetAddrs mocks base method

func (*MockPeerstore) SetProtocols

func (m *MockPeerstore) SetProtocols(arg0 peer.ID, arg1 ...string) error

SetProtocols mocks base method

func (*MockPeerstore) SupportsProtocols

func (m *MockPeerstore) SupportsProtocols(arg0 peer.ID, arg1 ...string) ([]string, error)

SupportsProtocols mocks base method

func (*MockPeerstore) UpdateAddrs

func (m *MockPeerstore) UpdateAddrs(p peer.ID, oldTTL, newTTL time.Duration)

UpdateAddrs mocks base method

type MockPeerstoreMockRecorder

type MockPeerstoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockPeerstoreMockRecorder is the mock recorder for MockPeerstore

func (*MockPeerstoreMockRecorder) AddAddr

func (mr *MockPeerstoreMockRecorder) AddAddr(p, addr, ttl interface{}) *gomock.Call

AddAddr indicates an expected call of AddAddr

func (*MockPeerstoreMockRecorder) AddAddrs

func (mr *MockPeerstoreMockRecorder) AddAddrs(p, addrs, ttl interface{}) *gomock.Call

AddAddrs indicates an expected call of AddAddrs

func (*MockPeerstoreMockRecorder) AddPrivKey

func (mr *MockPeerstoreMockRecorder) AddPrivKey(arg0, arg1 interface{}) *gomock.Call

AddPrivKey indicates an expected call of AddPrivKey

func (*MockPeerstoreMockRecorder) AddProtocols

func (mr *MockPeerstoreMockRecorder) AddProtocols(arg0 interface{}, arg1 ...interface{}) *gomock.Call

AddProtocols indicates an expected call of AddProtocols

func (*MockPeerstoreMockRecorder) AddPubKey

func (mr *MockPeerstoreMockRecorder) AddPubKey(arg0, arg1 interface{}) *gomock.Call

AddPubKey indicates an expected call of AddPubKey

func (*MockPeerstoreMockRecorder) AddrStream

func (mr *MockPeerstoreMockRecorder) AddrStream(arg0, arg1 interface{}) *gomock.Call

AddrStream indicates an expected call of AddrStream

func (*MockPeerstoreMockRecorder) Addrs

func (mr *MockPeerstoreMockRecorder) Addrs(p interface{}) *gomock.Call

Addrs indicates an expected call of Addrs

func (*MockPeerstoreMockRecorder) ClearAddrs

func (mr *MockPeerstoreMockRecorder) ClearAddrs(p interface{}) *gomock.Call

ClearAddrs indicates an expected call of ClearAddrs

func (*MockPeerstoreMockRecorder) Close

func (mr *MockPeerstoreMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockPeerstoreMockRecorder) FirstSupportedProtocol

func (mr *MockPeerstoreMockRecorder) FirstSupportedProtocol(arg0 interface{}, arg1 ...interface{}) *gomock.Call

FirstSupportedProtocol indicates an expected call of FirstSupportedProtocol

func (*MockPeerstoreMockRecorder) Get

func (mr *MockPeerstoreMockRecorder) Get(p, key interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockPeerstoreMockRecorder) GetProtocols

func (mr *MockPeerstoreMockRecorder) GetProtocols(arg0 interface{}) *gomock.Call

GetProtocols indicates an expected call of GetProtocols

func (*MockPeerstoreMockRecorder) LatencyEWMA

func (mr *MockPeerstoreMockRecorder) LatencyEWMA(arg0 interface{}) *gomock.Call

LatencyEWMA indicates an expected call of LatencyEWMA

func (*MockPeerstoreMockRecorder) PeerInfo

func (mr *MockPeerstoreMockRecorder) PeerInfo(arg0 interface{}) *gomock.Call

PeerInfo indicates an expected call of PeerInfo

func (*MockPeerstoreMockRecorder) Peers

func (mr *MockPeerstoreMockRecorder) Peers() *gomock.Call

Peers indicates an expected call of Peers

func (*MockPeerstoreMockRecorder) PeersWithAddrs

func (mr *MockPeerstoreMockRecorder) PeersWithAddrs() *gomock.Call

PeersWithAddrs indicates an expected call of PeersWithAddrs

func (*MockPeerstoreMockRecorder) PeersWithKeys

func (mr *MockPeerstoreMockRecorder) PeersWithKeys() *gomock.Call

PeersWithKeys indicates an expected call of PeersWithKeys

func (*MockPeerstoreMockRecorder) PrivKey

func (mr *MockPeerstoreMockRecorder) PrivKey(arg0 interface{}) *gomock.Call

PrivKey indicates an expected call of PrivKey

func (*MockPeerstoreMockRecorder) PubKey

func (mr *MockPeerstoreMockRecorder) PubKey(arg0 interface{}) *gomock.Call

PubKey indicates an expected call of PubKey

func (*MockPeerstoreMockRecorder) Put

func (mr *MockPeerstoreMockRecorder) Put(p, key, val interface{}) *gomock.Call

Put indicates an expected call of Put

func (*MockPeerstoreMockRecorder) RecordLatency

func (mr *MockPeerstoreMockRecorder) RecordLatency(arg0, arg1 interface{}) *gomock.Call

RecordLatency indicates an expected call of RecordLatency

func (*MockPeerstoreMockRecorder) RemoveProtocols

func (mr *MockPeerstoreMockRecorder) RemoveProtocols(arg0 interface{}, arg1 ...interface{}) *gomock.Call

RemoveProtocols indicates an expected call of RemoveProtocols

func (*MockPeerstoreMockRecorder) SetAddr

func (mr *MockPeerstoreMockRecorder) SetAddr(p, addr, ttl interface{}) *gomock.Call

SetAddr indicates an expected call of SetAddr

func (*MockPeerstoreMockRecorder) SetAddrs

func (mr *MockPeerstoreMockRecorder) SetAddrs(p, addrs, ttl interface{}) *gomock.Call

SetAddrs indicates an expected call of SetAddrs

func (*MockPeerstoreMockRecorder) SetProtocols

func (mr *MockPeerstoreMockRecorder) SetProtocols(arg0 interface{}, arg1 ...interface{}) *gomock.Call

SetProtocols indicates an expected call of SetProtocols

func (*MockPeerstoreMockRecorder) SupportsProtocols

func (mr *MockPeerstoreMockRecorder) SupportsProtocols(arg0 interface{}, arg1 ...interface{}) *gomock.Call

SupportsProtocols indicates an expected call of SupportsProtocols

func (*MockPeerstoreMockRecorder) UpdateAddrs

func (mr *MockPeerstoreMockRecorder) UpdateAddrs(p, oldTTL, newTTL interface{}) *gomock.Call

UpdateAddrs indicates an expected call of UpdateAddrs

type MockPoolGetter

type MockPoolGetter struct {
	// contains filtered or unexported fields
}

MockPoolGetter is a mock of PoolGetter interface

func NewMockPoolGetter

func NewMockPoolGetter(ctrl *gomock.Controller) *MockPoolGetter

NewMockPoolGetter creates a new mock instance

func (*MockPoolGetter) EXPECT

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

func (*MockPoolGetter) GetMempool

func (m *MockPoolGetter) GetMempool() core.Mempool

GetMempool mocks base method

func (*MockPoolGetter) GetPushPool

func (m *MockPoolGetter) GetPushPool() types.PushPool

GetPushPool mocks base method

type MockPoolGetterMockRecorder

type MockPoolGetterMockRecorder struct {
	// contains filtered or unexported fields
}

MockPoolGetterMockRecorder is the mock recorder for MockPoolGetter

func (*MockPoolGetterMockRecorder) GetMempool

func (mr *MockPoolGetterMockRecorder) GetMempool() *gomock.Call

GetMempool indicates an expected call of GetMempool

func (*MockPoolGetterMockRecorder) GetPushPool

func (mr *MockPoolGetterMockRecorder) GetPushPool() *gomock.Call

GetPushPool indicates an expected call of GetPushPool

type MockPoolModule

type MockPoolModule struct {
	// contains filtered or unexported fields
}

MockPoolModule is a mock of PoolModule interface

func NewMockPoolModule

func NewMockPoolModule(ctrl *gomock.Controller) *MockPoolModule

NewMockPoolModule creates a new mock instance

func (*MockPoolModule) ConfigureVM

func (m *MockPoolModule) ConfigureVM(vm *otto.Otto) prompt.Completer

ConfigureVM mocks base method

func (*MockPoolModule) EXPECT

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

func (*MockPoolModule) GetPushPoolSize

func (m *MockPoolModule) GetPushPoolSize() int

GetPushPoolSize mocks base method

func (*MockPoolModule) GetSize

func (m *MockPoolModule) GetSize() util.Map

GetSize mocks base method

func (*MockPoolModule) GetTop

func (m *MockPoolModule) GetTop(n int) []util.Map

GetTop mocks base method

type MockPoolModuleMockRecorder

type MockPoolModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockPoolModuleMockRecorder is the mock recorder for MockPoolModule

func (*MockPoolModuleMockRecorder) ConfigureVM

func (mr *MockPoolModuleMockRecorder) ConfigureVM(vm interface{}) *gomock.Call

ConfigureVM indicates an expected call of ConfigureVM

func (*MockPoolModuleMockRecorder) GetPushPoolSize

func (mr *MockPoolModuleMockRecorder) GetPushPoolSize() *gomock.Call

GetPushPoolSize indicates an expected call of GetPushPoolSize

func (*MockPoolModuleMockRecorder) GetSize

func (mr *MockPoolModuleMockRecorder) GetSize() *gomock.Call

GetSize indicates an expected call of GetSize

func (*MockPoolModuleMockRecorder) GetTop

func (mr *MockPoolModuleMockRecorder) GetTop(n interface{}) *gomock.Call

GetTop indicates an expected call of GetTop

type MockPostEntry

type MockPostEntry struct {
	// contains filtered or unexported fields
}

MockPostEntry is a mock of PostEntry interface

func NewMockPostEntry

func NewMockPostEntry(ctrl *gomock.Controller) *MockPostEntry

NewMockPostEntry creates a new mock instance

func (*MockPostEntry) Comment

func (m *MockPostEntry) Comment() *plumbing.Comment

Comment mocks base method

func (*MockPostEntry) EXPECT

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

func (*MockPostEntry) GetComments

func (m *MockPostEntry) GetComments() (plumbing.Comments, error)

GetComments mocks base method

func (*MockPostEntry) GetName

func (m *MockPostEntry) GetName() string

GetName mocks base method

func (*MockPostEntry) GetTitle

func (m *MockPostEntry) GetTitle() string

GetTitle mocks base method

func (*MockPostEntry) IsClosed

func (m *MockPostEntry) IsClosed() (bool, error)

IsClosed mocks base method

type MockPostEntryMockRecorder

type MockPostEntryMockRecorder struct {
	// contains filtered or unexported fields
}

MockPostEntryMockRecorder is the mock recorder for MockPostEntry

func (*MockPostEntryMockRecorder) Comment

func (mr *MockPostEntryMockRecorder) Comment() *gomock.Call

Comment indicates an expected call of Comment

func (*MockPostEntryMockRecorder) GetComments

func (mr *MockPostEntryMockRecorder) GetComments() *gomock.Call

GetComments indicates an expected call of GetComments

func (*MockPostEntryMockRecorder) GetName

func (mr *MockPostEntryMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName

func (*MockPostEntryMockRecorder) GetTitle

func (mr *MockPostEntryMockRecorder) GetTitle() *gomock.Call

GetTitle indicates an expected call of GetTitle

func (*MockPostEntryMockRecorder) IsClosed

func (mr *MockPostEntryMockRecorder) IsClosed() *gomock.Call

IsClosed indicates an expected call of IsClosed

type MockProposalContract

type MockProposalContract struct {
	// contains filtered or unexported fields
}

MockProposalContract is a mock of ProposalContract interface

func NewMockProposalContract

func NewMockProposalContract(ctrl *gomock.Controller) *MockProposalContract

NewMockProposalContract creates a new mock instance

func (*MockProposalContract) Apply

Apply mocks base method

func (*MockProposalContract) CanExec

func (m *MockProposalContract) CanExec(tx types1.TxCode) bool

CanExec mocks base method

func (*MockProposalContract) EXPECT

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

func (*MockProposalContract) Exec

func (m *MockProposalContract) Exec() error

Exec mocks base method

func (*MockProposalContract) Init

Init mocks base method

type MockProposalContractMockRecorder

type MockProposalContractMockRecorder struct {
	// contains filtered or unexported fields
}

MockProposalContractMockRecorder is the mock recorder for MockProposalContract

func (*MockProposalContractMockRecorder) Apply

func (mr *MockProposalContractMockRecorder) Apply(args interface{}) *gomock.Call

Apply indicates an expected call of Apply

func (*MockProposalContractMockRecorder) CanExec

func (mr *MockProposalContractMockRecorder) CanExec(tx interface{}) *gomock.Call

CanExec indicates an expected call of CanExec

func (*MockProposalContractMockRecorder) Exec

Exec indicates an expected call of Exec

func (*MockProposalContractMockRecorder) Init

func (mr *MockProposalContractMockRecorder) Init(arg0, arg1, arg2 interface{}) *gomock.Call

Init indicates an expected call of Init

type MockProviderTracker

type MockProviderTracker struct {
	// contains filtered or unexported fields
}

MockProviderTracker is a mock of ProviderTracker interface

func NewMockProviderTracker

func NewMockProviderTracker(ctrl *gomock.Controller) *MockProviderTracker

NewMockProviderTracker creates a new mock instance

func (*MockProviderTracker) Ban

func (m *MockProviderTracker) Ban(peer peer.ID, dur time.Duration)

Ban mocks base method

func (*MockProviderTracker) DidPeerSendNope

func (m *MockProviderTracker) DidPeerSendNope(id peer.ID, key []byte) bool

DidPeerSendNope mocks base method

func (*MockProviderTracker) EXPECT

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

func (*MockProviderTracker) Get

func (m *MockProviderTracker) Get(id peer.ID, cb func(*dht.ProviderInfo)) *dht.ProviderInfo

Get mocks base method

func (*MockProviderTracker) IsGood

func (m *MockProviderTracker) IsGood(id peer.ID) bool

IsGood mocks base method

func (*MockProviderTracker) MarkFailure

func (m *MockProviderTracker) MarkFailure(id peer.ID)

MarkFailure mocks base method

func (*MockProviderTracker) MarkSeen

func (m *MockProviderTracker) MarkSeen(id peer.ID)

MarkSeen mocks base method

func (*MockProviderTracker) NumProviders

func (m *MockProviderTracker) NumProviders() int

NumProviders mocks base method

func (*MockProviderTracker) PeerSentNope

func (m *MockProviderTracker) PeerSentNope(id peer.ID, key []byte)

PeerSentNope mocks base method

func (*MockProviderTracker) Register

func (m *MockProviderTracker) Register(addrs ...peer.AddrInfo)

Register mocks base method

type MockProviderTrackerMockRecorder

type MockProviderTrackerMockRecorder struct {
	// contains filtered or unexported fields
}

MockProviderTrackerMockRecorder is the mock recorder for MockProviderTracker

func (*MockProviderTrackerMockRecorder) Ban

func (mr *MockProviderTrackerMockRecorder) Ban(peer, dur interface{}) *gomock.Call

Ban indicates an expected call of Ban

func (*MockProviderTrackerMockRecorder) DidPeerSendNope

func (mr *MockProviderTrackerMockRecorder) DidPeerSendNope(id, key interface{}) *gomock.Call

DidPeerSendNope indicates an expected call of DidPeerSendNope

func (*MockProviderTrackerMockRecorder) Get

func (mr *MockProviderTrackerMockRecorder) Get(id, cb interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockProviderTrackerMockRecorder) IsGood

func (mr *MockProviderTrackerMockRecorder) IsGood(id interface{}) *gomock.Call

IsGood indicates an expected call of IsGood

func (*MockProviderTrackerMockRecorder) MarkFailure

func (mr *MockProviderTrackerMockRecorder) MarkFailure(id interface{}) *gomock.Call

MarkFailure indicates an expected call of MarkFailure

func (*MockProviderTrackerMockRecorder) MarkSeen

func (mr *MockProviderTrackerMockRecorder) MarkSeen(id interface{}) *gomock.Call

MarkSeen indicates an expected call of MarkSeen

func (*MockProviderTrackerMockRecorder) NumProviders

func (mr *MockProviderTrackerMockRecorder) NumProviders() *gomock.Call

NumProviders indicates an expected call of NumProviders

func (*MockProviderTrackerMockRecorder) PeerSentNope

func (mr *MockProviderTrackerMockRecorder) PeerSentNope(id, key interface{}) *gomock.Call

PeerSentNope indicates an expected call of PeerSentNope

func (*MockProviderTrackerMockRecorder) Register

func (mr *MockProviderTrackerMockRecorder) Register(addrs ...interface{}) *gomock.Call

Register indicates an expected call of Register

type MockPushKeyKeeper

type MockPushKeyKeeper struct {
	// contains filtered or unexported fields
}

MockPushKeyKeeper is a mock of PushKeyKeeper interface

func NewMockPushKeyKeeper

func NewMockPushKeyKeeper(ctrl *gomock.Controller) *MockPushKeyKeeper

NewMockPushKeyKeeper creates a new mock instance

func (*MockPushKeyKeeper) EXPECT

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

func (*MockPushKeyKeeper) Get

func (m *MockPushKeyKeeper) Get(pushKeyID string, blockNum ...uint64) *state.PushKey

Get mocks base method

func (*MockPushKeyKeeper) GetByAddress

func (m *MockPushKeyKeeper) GetByAddress(address string) []string

GetByAddress mocks base method

func (*MockPushKeyKeeper) Remove

func (m *MockPushKeyKeeper) Remove(pushKeyID string) bool

Remove mocks base method

func (*MockPushKeyKeeper) Update

func (m *MockPushKeyKeeper) Update(pushKeyID string, upd *state.PushKey) error

Update mocks base method

type MockPushKeyKeeperMockRecorder

type MockPushKeyKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockPushKeyKeeperMockRecorder is the mock recorder for MockPushKeyKeeper

func (*MockPushKeyKeeperMockRecorder) Get

func (mr *MockPushKeyKeeperMockRecorder) Get(pushKeyID interface{}, blockNum ...interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockPushKeyKeeperMockRecorder) GetByAddress

func (mr *MockPushKeyKeeperMockRecorder) GetByAddress(address interface{}) *gomock.Call

GetByAddress indicates an expected call of GetByAddress

func (*MockPushKeyKeeperMockRecorder) Remove

func (mr *MockPushKeyKeeperMockRecorder) Remove(pushKeyID interface{}) *gomock.Call

Remove indicates an expected call of Remove

func (*MockPushKeyKeeperMockRecorder) Update

func (mr *MockPushKeyKeeperMockRecorder) Update(pushKeyID, upd interface{}) *gomock.Call

Update indicates an expected call of Update

type MockPushKeyModule

type MockPushKeyModule struct {
	// contains filtered or unexported fields
}

MockPushKeyModule is a mock of PushKeyModule interface

func NewMockPushKeyModule

func NewMockPushKeyModule(ctrl *gomock.Controller) *MockPushKeyModule

NewMockPushKeyModule creates a new mock instance

func (*MockPushKeyModule) ConfigureVM

func (m *MockPushKeyModule) ConfigureVM(vm *otto.Otto) prompt.Completer

ConfigureVM mocks base method

func (*MockPushKeyModule) EXPECT

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

func (*MockPushKeyModule) Find

func (m *MockPushKeyModule) Find(id string, blockHeight ...uint64) util.Map

Find mocks base method

func (*MockPushKeyModule) GetAccountOfOwner

func (m *MockPushKeyModule) GetAccountOfOwner(gpgID string, blockHeight ...uint64) util.Map

GetAccountOfOwner mocks base method

func (*MockPushKeyModule) GetByAddress

func (m *MockPushKeyModule) GetByAddress(address string) []string

GetByAddress mocks base method

func (*MockPushKeyModule) Register

func (m *MockPushKeyModule) Register(params map[string]interface{}, options ...interface{}) util.Map

Register mocks base method

func (*MockPushKeyModule) Unregister

func (m *MockPushKeyModule) Unregister(params map[string]interface{}, options ...interface{}) util.Map

Unregister mocks base method

func (*MockPushKeyModule) Update

func (m *MockPushKeyModule) Update(params map[string]interface{}, options ...interface{}) util.Map

Update mocks base method

type MockPushKeyModuleMockRecorder

type MockPushKeyModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockPushKeyModuleMockRecorder is the mock recorder for MockPushKeyModule

func (*MockPushKeyModuleMockRecorder) ConfigureVM

func (mr *MockPushKeyModuleMockRecorder) ConfigureVM(vm interface{}) *gomock.Call

ConfigureVM indicates an expected call of ConfigureVM

func (*MockPushKeyModuleMockRecorder) Find

func (mr *MockPushKeyModuleMockRecorder) Find(id interface{}, blockHeight ...interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockPushKeyModuleMockRecorder) GetAccountOfOwner

func (mr *MockPushKeyModuleMockRecorder) GetAccountOfOwner(gpgID interface{}, blockHeight ...interface{}) *gomock.Call

GetAccountOfOwner indicates an expected call of GetAccountOfOwner

func (*MockPushKeyModuleMockRecorder) GetByAddress

func (mr *MockPushKeyModuleMockRecorder) GetByAddress(address interface{}) *gomock.Call

GetByAddress indicates an expected call of GetByAddress

func (*MockPushKeyModuleMockRecorder) Register

func (mr *MockPushKeyModuleMockRecorder) Register(params interface{}, options ...interface{}) *gomock.Call

Register indicates an expected call of Register

func (*MockPushKeyModuleMockRecorder) Unregister

func (mr *MockPushKeyModuleMockRecorder) Unregister(params interface{}, options ...interface{}) *gomock.Call

Unregister indicates an expected call of Unregister

func (*MockPushKeyModuleMockRecorder) Update

func (mr *MockPushKeyModuleMockRecorder) Update(params interface{}, options ...interface{}) *gomock.Call

Update indicates an expected call of Update

type MockPushNote

type MockPushNote struct {
	// contains filtered or unexported fields
}

MockPushNote is a mock of PushNote interface

func NewMockPushNote

func NewMockPushNote(ctrl *gomock.Controller) *MockPushNote

NewMockPushNote creates a new mock instance

func (*MockPushNote) Bytes

func (m *MockPushNote) Bytes(recompute ...bool) []byte

Bytes mocks base method

func (*MockPushNote) BytesAndID

func (m *MockPushNote) BytesAndID(recompute ...bool) ([]byte, util.Bytes32)

BytesAndID mocks base method

func (*MockPushNote) BytesNoCache

func (m *MockPushNote) BytesNoCache() []byte

BytesNoCache mocks base method

func (*MockPushNote) BytesNoSig

func (m *MockPushNote) BytesNoSig() []byte

BytesNoSig mocks base method

func (*MockPushNote) DecodeMsgpack

func (m *MockPushNote) DecodeMsgpack(dec *msgpack.Decoder) error

DecodeMsgpack mocks base method

func (*MockPushNote) EXPECT

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

func (*MockPushNote) EncodeMsgpack

func (m *MockPushNote) EncodeMsgpack(enc *msgpack.Encoder) error

EncodeMsgpack mocks base method

func (*MockPushNote) GetCreatorPubKey

func (m *MockPushNote) GetCreatorPubKey() util.Bytes32

GetCreatorPubKey mocks base method

func (*MockPushNote) GetEcoSize

func (m *MockPushNote) GetEcoSize() uint64

GetEcoSize mocks base method

func (*MockPushNote) GetFee

func (m *MockPushNote) GetFee() util.String

GetFee mocks base method

func (*MockPushNote) GetMeta

func (m *MockPushNote) GetMeta() map[string]interface{}

GetMeta mocks base method

func (*MockPushNote) GetNamespace

func (m *MockPushNote) GetNamespace() string

GetNamespace mocks base method

func (*MockPushNote) GetNodeSignature

func (m *MockPushNote) GetNodeSignature() []byte

GetNodeSignature mocks base method

func (*MockPushNote) GetPushedReferences

func (m *MockPushNote) GetPushedReferences() types.PushedReferences

GetPushedReferences mocks base method

func (*MockPushNote) GetPusherAccountNonce

func (m *MockPushNote) GetPusherAccountNonce() uint64

GetPusherAccountNonce mocks base method

func (*MockPushNote) GetPusherAddress

func (m *MockPushNote) GetPusherAddress() identifier.Address

GetPusherAddress mocks base method

func (*MockPushNote) GetPusherKeyID

func (m *MockPushNote) GetPusherKeyID() []byte

GetPusherKeyID mocks base method

func (*MockPushNote) GetPusherKeyIDString

func (m *MockPushNote) GetPusherKeyIDString() string

GetPusherKeyIDString mocks base method

func (*MockPushNote) GetRepoName

func (m *MockPushNote) GetRepoName() string

GetRepoName mocks base method

func (*MockPushNote) GetSize

func (m *MockPushNote) GetSize() uint64

GetSize mocks base method

func (*MockPushNote) GetTargetRepo

func (m *MockPushNote) GetTargetRepo() types0.LocalRepo

GetTargetRepo mocks base method

func (*MockPushNote) GetTimestamp

func (m *MockPushNote) GetTimestamp() int64

GetTimestamp mocks base method

func (*MockPushNote) GetValue

func (m *MockPushNote) GetValue() util.String

GetValue mocks base method

func (*MockPushNote) HasMetaKey

func (m *MockPushNote) HasMetaKey(key string) bool

HasMetaKey mocks base method

func (*MockPushNote) ID

func (m *MockPushNote) ID(recompute ...bool) util.Bytes32

ID mocks base method

func (*MockPushNote) IsFromRemotePeer

func (m *MockPushNote) IsFromRemotePeer() bool

IsFromRemotePeer mocks base method

func (*MockPushNote) Join added in v0.0.29

func (m *MockPushNote) Join(d map[string]interface{})

Join mocks base method

func (*MockPushNote) Len

func (m *MockPushNote) Len() uint64

Len mocks base method

func (*MockPushNote) LoadMeta added in v0.0.29

func (m *MockPushNote) LoadMeta(d map[string]interface{})

LoadMeta mocks base method

func (*MockPushNote) SetMeta added in v0.0.29

func (m *MockPushNote) SetMeta(key string, val interface{})

SetMeta mocks base method

func (*MockPushNote) SetTargetRepo

func (m *MockPushNote) SetTargetRepo(repo types0.LocalRepo)

SetTargetRepo mocks base method

func (*MockPushNote) SizeForFeeCal

func (m *MockPushNote) SizeForFeeCal() uint64

SizeForFeeCal mocks base method

func (*MockPushNote) TxSize

func (m *MockPushNote) TxSize() uint

TxSize mocks base method

type MockPushNoteMockRecorder

type MockPushNoteMockRecorder struct {
	// contains filtered or unexported fields
}

MockPushNoteMockRecorder is the mock recorder for MockPushNote

func (*MockPushNoteMockRecorder) Bytes

func (mr *MockPushNoteMockRecorder) Bytes(recompute ...interface{}) *gomock.Call

Bytes indicates an expected call of Bytes

func (*MockPushNoteMockRecorder) BytesAndID

func (mr *MockPushNoteMockRecorder) BytesAndID(recompute ...interface{}) *gomock.Call

BytesAndID indicates an expected call of BytesAndID

func (*MockPushNoteMockRecorder) BytesNoCache

func (mr *MockPushNoteMockRecorder) BytesNoCache() *gomock.Call

BytesNoCache indicates an expected call of BytesNoCache

func (*MockPushNoteMockRecorder) BytesNoSig

func (mr *MockPushNoteMockRecorder) BytesNoSig() *gomock.Call

BytesNoSig indicates an expected call of BytesNoSig

func (*MockPushNoteMockRecorder) DecodeMsgpack

func (mr *MockPushNoteMockRecorder) DecodeMsgpack(dec interface{}) *gomock.Call

DecodeMsgpack indicates an expected call of DecodeMsgpack

func (*MockPushNoteMockRecorder) EncodeMsgpack

func (mr *MockPushNoteMockRecorder) EncodeMsgpack(enc interface{}) *gomock.Call

EncodeMsgpack indicates an expected call of EncodeMsgpack

func (*MockPushNoteMockRecorder) GetCreatorPubKey

func (mr *MockPushNoteMockRecorder) GetCreatorPubKey() *gomock.Call

GetCreatorPubKey indicates an expected call of GetCreatorPubKey

func (*MockPushNoteMockRecorder) GetEcoSize

func (mr *MockPushNoteMockRecorder) GetEcoSize() *gomock.Call

GetEcoSize indicates an expected call of GetEcoSize

func (*MockPushNoteMockRecorder) GetFee

func (mr *MockPushNoteMockRecorder) GetFee() *gomock.Call

GetFee indicates an expected call of GetFee

func (*MockPushNoteMockRecorder) GetMeta

func (mr *MockPushNoteMockRecorder) GetMeta() *gomock.Call

GetMeta indicates an expected call of GetMeta

func (*MockPushNoteMockRecorder) GetNamespace

func (mr *MockPushNoteMockRecorder) GetNamespace() *gomock.Call

GetNamespace indicates an expected call of GetNamespace

func (*MockPushNoteMockRecorder) GetNodeSignature

func (mr *MockPushNoteMockRecorder) GetNodeSignature() *gomock.Call

GetNodeSignature indicates an expected call of GetNodeSignature

func (*MockPushNoteMockRecorder) GetPushedReferences

func (mr *MockPushNoteMockRecorder) GetPushedReferences() *gomock.Call

GetPushedReferences indicates an expected call of GetPushedReferences

func (*MockPushNoteMockRecorder) GetPusherAccountNonce

func (mr *MockPushNoteMockRecorder) GetPusherAccountNonce() *gomock.Call

GetPusherAccountNonce indicates an expected call of GetPusherAccountNonce

func (*MockPushNoteMockRecorder) GetPusherAddress

func (mr *MockPushNoteMockRecorder) GetPusherAddress() *gomock.Call

GetPusherAddress indicates an expected call of GetPusherAddress

func (*MockPushNoteMockRecorder) GetPusherKeyID

func (mr *MockPushNoteMockRecorder) GetPusherKeyID() *gomock.Call

GetPusherKeyID indicates an expected call of GetPusherKeyID

func (*MockPushNoteMockRecorder) GetPusherKeyIDString

func (mr *MockPushNoteMockRecorder) GetPusherKeyIDString() *gomock.Call

GetPusherKeyIDString indicates an expected call of GetPusherKeyIDString

func (*MockPushNoteMockRecorder) GetRepoName

func (mr *MockPushNoteMockRecorder) GetRepoName() *gomock.Call

GetRepoName indicates an expected call of GetRepoName

func (*MockPushNoteMockRecorder) GetSize

func (mr *MockPushNoteMockRecorder) GetSize() *gomock.Call

GetSize indicates an expected call of GetSize

func (*MockPushNoteMockRecorder) GetTargetRepo

func (mr *MockPushNoteMockRecorder) GetTargetRepo() *gomock.Call

GetTargetRepo indicates an expected call of GetTargetRepo

func (*MockPushNoteMockRecorder) GetTimestamp

func (mr *MockPushNoteMockRecorder) GetTimestamp() *gomock.Call

GetTimestamp indicates an expected call of GetTimestamp

func (*MockPushNoteMockRecorder) GetValue

func (mr *MockPushNoteMockRecorder) GetValue() *gomock.Call

GetValue indicates an expected call of GetValue

func (*MockPushNoteMockRecorder) HasMetaKey

func (mr *MockPushNoteMockRecorder) HasMetaKey(key interface{}) *gomock.Call

HasMetaKey indicates an expected call of HasMetaKey

func (*MockPushNoteMockRecorder) ID

func (mr *MockPushNoteMockRecorder) ID(recompute ...interface{}) *gomock.Call

ID indicates an expected call of ID

func (*MockPushNoteMockRecorder) IsFromRemotePeer

func (mr *MockPushNoteMockRecorder) IsFromRemotePeer() *gomock.Call

IsFromRemotePeer indicates an expected call of IsFromRemotePeer

func (*MockPushNoteMockRecorder) Join added in v0.0.30

func (mr *MockPushNoteMockRecorder) Join(d interface{}) *gomock.Call

Join indicates an expected call of Join

func (*MockPushNoteMockRecorder) Len

Len indicates an expected call of Len

func (*MockPushNoteMockRecorder) LoadMeta added in v0.0.29

func (mr *MockPushNoteMockRecorder) LoadMeta(d interface{}) *gomock.Call

LoadMeta indicates an expected call of LoadMeta

func (*MockPushNoteMockRecorder) SetMeta added in v0.0.29

func (mr *MockPushNoteMockRecorder) SetMeta(key, val interface{}) *gomock.Call

SetMeta indicates an expected call of SetMeta

func (*MockPushNoteMockRecorder) SetTargetRepo

func (mr *MockPushNoteMockRecorder) SetTargetRepo(repo interface{}) *gomock.Call

SetTargetRepo indicates an expected call of SetTargetRepo

func (*MockPushNoteMockRecorder) SizeForFeeCal

func (mr *MockPushNoteMockRecorder) SizeForFeeCal() *gomock.Call

SizeForFeeCal indicates an expected call of SizeForFeeCal

func (*MockPushNoteMockRecorder) TxSize

func (mr *MockPushNoteMockRecorder) TxSize() *gomock.Call

TxSize indicates an expected call of TxSize

type MockPushPool

type MockPushPool struct {
	// contains filtered or unexported fields
}

MockPushPool is a mock of PushPool interface

func NewMockPushPool

func NewMockPushPool(ctrl *gomock.Controller) *MockPushPool

NewMockPushPool creates a new mock instance

func (*MockPushPool) Add

func (m *MockPushPool) Add(note types.PushNote) error

Add mocks base method

func (*MockPushPool) EXPECT

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

func (*MockPushPool) Full

func (m *MockPushPool) Full() bool

Full mocks base method

func (*MockPushPool) Get

func (m *MockPushPool) Get(noteID string) *types.Note

Get mocks base method

func (*MockPushPool) HasSeen

func (m *MockPushPool) HasSeen(noteID string) bool

HasSeen mocks base method

func (*MockPushPool) Len

func (m *MockPushPool) Len() int

Len mocks base method

func (*MockPushPool) Remove

func (m *MockPushPool) Remove(pushNote types.PushNote)

Remove mocks base method

type MockPushPoolMockRecorder

type MockPushPoolMockRecorder struct {
	// contains filtered or unexported fields
}

MockPushPoolMockRecorder is the mock recorder for MockPushPool

func (*MockPushPoolMockRecorder) Add

func (mr *MockPushPoolMockRecorder) Add(note interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockPushPoolMockRecorder) Full

func (mr *MockPushPoolMockRecorder) Full() *gomock.Call

Full indicates an expected call of Full

func (*MockPushPoolMockRecorder) Get

func (mr *MockPushPoolMockRecorder) Get(noteID interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockPushPoolMockRecorder) HasSeen

func (mr *MockPushPoolMockRecorder) HasSeen(noteID interface{}) *gomock.Call

HasSeen indicates an expected call of HasSeen

func (*MockPushPoolMockRecorder) Len

Len indicates an expected call of Len

func (*MockPushPoolMockRecorder) Remove

func (mr *MockPushPoolMockRecorder) Remove(pushNote interface{}) *gomock.Call

Remove indicates an expected call of Remove

type MockRPCModule

type MockRPCModule struct {
	// contains filtered or unexported fields
}

MockRPCModule is a mock of RPCModule interface

func NewMockRPCModule

func NewMockRPCModule(ctrl *gomock.Controller) *MockRPCModule

NewMockRPCModule creates a new mock instance

func (*MockRPCModule) ConfigureVM

func (m *MockRPCModule) ConfigureVM(vm *otto.Otto) prompt.Completer

ConfigureVM mocks base method

func (*MockRPCModule) EXPECT

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

type MockRPCModuleMockRecorder

type MockRPCModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockRPCModuleMockRecorder is the mock recorder for MockRPCModule

func (*MockRPCModuleMockRecorder) ConfigureVM

func (mr *MockRPCModuleMockRecorder) ConfigureVM(vm interface{}) *gomock.Call

ConfigureVM indicates an expected call of ConfigureVM

type MockReadCloser

type MockReadCloser struct {
	// contains filtered or unexported fields
}

MockReadCloser is a mock of ReadCloser interface

func NewMockReadCloser

func NewMockReadCloser(ctrl *gomock.Controller) *MockReadCloser

NewMockReadCloser creates a new mock instance

func (*MockReadCloser) Close

func (m *MockReadCloser) Close() error

Close mocks base method

func (*MockReadCloser) EXPECT

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

func (*MockReadCloser) Read

func (m *MockReadCloser) Read(p []byte) (int, error)

Read mocks base method

type MockReadCloserMockRecorder

type MockReadCloserMockRecorder struct {
	// contains filtered or unexported fields
}

MockReadCloserMockRecorder is the mock recorder for MockReadCloser

func (*MockReadCloserMockRecorder) Close

func (mr *MockReadCloserMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockReadCloserMockRecorder) Read

func (mr *MockReadCloserMockRecorder) Read(p interface{}) *gomock.Call

Read indicates an expected call of Read

type MockRefSync

type MockRefSync struct {
	// contains filtered or unexported fields
}

MockRefSync is a mock of RefSync interface

func NewMockRefSync

func NewMockRefSync(ctrl *gomock.Controller) *MockRefSync

NewMockRefSync creates a new mock instance

func (*MockRefSync) CanSync

func (m *MockRefSync) CanSync(namespace, repoName string) error

CanSync mocks base method

func (*MockRefSync) EXPECT

func (m *MockRefSync) EXPECT() *MockRefSyncMockRecorder

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

func (*MockRefSync) OnNewTx

func (m *MockRefSync) OnNewTx(tx *txns.TxPush, targetRef string, txIndex int, height int64, doneCb func())

OnNewTx mocks base method

func (*MockRefSync) Stop

func (m *MockRefSync) Stop()

Stop mocks base method

func (*MockRefSync) Watch

func (m *MockRefSync) Watch(repo, reference string, startHeight, endHeight uint64) error

Watch mocks base method

type MockRefSyncMockRecorder

type MockRefSyncMockRecorder struct {
	// contains filtered or unexported fields
}

MockRefSyncMockRecorder is the mock recorder for MockRefSync

func (*MockRefSyncMockRecorder) CanSync

func (mr *MockRefSyncMockRecorder) CanSync(namespace, repoName interface{}) *gomock.Call

CanSync indicates an expected call of CanSync

func (*MockRefSyncMockRecorder) OnNewTx

func (mr *MockRefSyncMockRecorder) OnNewTx(tx, targetRef, txIndex, height, doneCb interface{}) *gomock.Call

OnNewTx indicates an expected call of OnNewTx

func (*MockRefSyncMockRecorder) Stop

func (mr *MockRefSyncMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop

func (*MockRefSyncMockRecorder) Watch

func (mr *MockRefSyncMockRecorder) Watch(repo, reference, startHeight, endHeight interface{}) *gomock.Call

Watch indicates an expected call of Watch

type MockRemoteServer

type MockRemoteServer struct {
	// contains filtered or unexported fields
}

MockRemoteServer is a mock of RemoteServer interface

func NewMockRemoteServer

func NewMockRemoteServer(ctrl *gomock.Controller) *MockRemoteServer

NewMockRemoteServer creates a new mock instance

func (*MockRemoteServer) Announce

func (m *MockRemoteServer) Announce(objType int, repo string, hash []byte, doneCB func(error)) bool

Announce mocks base method

func (*MockRemoteServer) BroadcastMsg

func (m *MockRemoteServer) BroadcastMsg(ch byte, msg []byte)

BroadcastMsg mocks base method

func (*MockRemoteServer) BroadcastNoteAndEndorsement

func (m *MockRemoteServer) BroadcastNoteAndEndorsement(note types.PushNote) error

BroadcastNoteAndEndorsement mocks base method

func (*MockRemoteServer) Cfg

func (m *MockRemoteServer) Cfg() *config.AppConfig

Cfg mocks base method

func (*MockRemoteServer) CheckNote

func (m *MockRemoteServer) CheckNote(note types.PushNote) error

CheckNote mocks base method

func (*MockRemoteServer) EXPECT

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

func (*MockRemoteServer) GetDHT

func (m *MockRemoteServer) GetDHT() dht.DHT

GetDHT mocks base method

func (*MockRemoteServer) GetFetcher

func (m *MockRemoteServer) GetFetcher() fetcher.ObjectFetcher

GetFetcher mocks base method

func (*MockRemoteServer) GetLogic

func (m *MockRemoteServer) GetLogic() core.Logic

GetLogic mocks base method

func (*MockRemoteServer) GetMempool

func (m *MockRemoteServer) GetMempool() core.Mempool

GetMempool mocks base method

func (*MockRemoteServer) GetPrivateValidatorKey

func (m *MockRemoteServer) GetPrivateValidatorKey() *ed25519.Key

GetPrivateValidatorKey mocks base method

func (*MockRemoteServer) GetPushKeyGetter

func (m *MockRemoteServer) GetPushKeyGetter() core.PushKeyGetter

GetPushKeyGetter mocks base method

func (*MockRemoteServer) GetPushPool

func (m *MockRemoteServer) GetPushPool() types.PushPool

GetPushPool mocks base method

func (*MockRemoteServer) GetRPCHandler

func (m *MockRemoteServer) GetRPCHandler() *rpc.Handler

GetRPCHandler mocks base method

func (*MockRemoteServer) GetRepo

func (m *MockRemoteServer) GetRepo(name string) (types0.LocalRepo, error)

GetRepo mocks base method

func (*MockRemoteServer) GetRepoState

func (m *MockRemoteServer) GetRepoState(target types0.LocalRepo, options ...types0.KVOption) (types0.RepoRefsState, error)

GetRepoState mocks base method

func (*MockRemoteServer) InitRepository

func (m *MockRemoteServer) InitRepository(name string) error

InitRepository mocks base method

func (*MockRemoteServer) Log

func (m *MockRemoteServer) Log() logger.Logger

Log mocks base method

func (*MockRemoteServer) Shutdown

func (m *MockRemoteServer) Shutdown(ctx context.Context)

Shutdown mocks base method

func (*MockRemoteServer) Start

func (m *MockRemoteServer) Start() error

Start mocks base method

func (*MockRemoteServer) Stop

func (m *MockRemoteServer) Stop() error

Stop mocks base method

func (*MockRemoteServer) TryScheduleReSync

func (m *MockRemoteServer) TryScheduleReSync(note types.PushNote, ref string, fromBeginning bool) error

TryScheduleReSync mocks base method

func (*MockRemoteServer) Wait

func (m *MockRemoteServer) Wait()

Wait mocks base method

type MockRemoteServerMockRecorder

type MockRemoteServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockRemoteServerMockRecorder is the mock recorder for MockRemoteServer

func (*MockRemoteServerMockRecorder) Announce

func (mr *MockRemoteServerMockRecorder) Announce(objType, repo, hash, doneCB interface{}) *gomock.Call

Announce indicates an expected call of Announce

func (*MockRemoteServerMockRecorder) BroadcastMsg

func (mr *MockRemoteServerMockRecorder) BroadcastMsg(ch, msg interface{}) *gomock.Call

BroadcastMsg indicates an expected call of BroadcastMsg

func (*MockRemoteServerMockRecorder) BroadcastNoteAndEndorsement

func (mr *MockRemoteServerMockRecorder) BroadcastNoteAndEndorsement(note interface{}) *gomock.Call

BroadcastNoteAndEndorsement indicates an expected call of BroadcastNoteAndEndorsement

func (*MockRemoteServerMockRecorder) Cfg

Cfg indicates an expected call of Cfg

func (*MockRemoteServerMockRecorder) CheckNote

func (mr *MockRemoteServerMockRecorder) CheckNote(note interface{}) *gomock.Call

CheckNote indicates an expected call of CheckNote

func (*MockRemoteServerMockRecorder) GetDHT

GetDHT indicates an expected call of GetDHT

func (*MockRemoteServerMockRecorder) GetFetcher

func (mr *MockRemoteServerMockRecorder) GetFetcher() *gomock.Call

GetFetcher indicates an expected call of GetFetcher

func (*MockRemoteServerMockRecorder) GetLogic

func (mr *MockRemoteServerMockRecorder) GetLogic() *gomock.Call

GetLogic indicates an expected call of GetLogic

func (*MockRemoteServerMockRecorder) GetMempool

func (mr *MockRemoteServerMockRecorder) GetMempool() *gomock.Call

GetMempool indicates an expected call of GetMempool

func (*MockRemoteServerMockRecorder) GetPrivateValidatorKey

func (mr *MockRemoteServerMockRecorder) GetPrivateValidatorKey() *gomock.Call

GetPrivateValidatorKey indicates an expected call of GetPrivateValidatorKey

func (*MockRemoteServerMockRecorder) GetPushKeyGetter

func (mr *MockRemoteServerMockRecorder) GetPushKeyGetter() *gomock.Call

GetPushKeyGetter indicates an expected call of GetPushKeyGetter

func (*MockRemoteServerMockRecorder) GetPushPool

func (mr *MockRemoteServerMockRecorder) GetPushPool() *gomock.Call

GetPushPool indicates an expected call of GetPushPool

func (*MockRemoteServerMockRecorder) GetRPCHandler

func (mr *MockRemoteServerMockRecorder) GetRPCHandler() *gomock.Call

GetRPCHandler indicates an expected call of GetRPCHandler

func (*MockRemoteServerMockRecorder) GetRepo

func (mr *MockRemoteServerMockRecorder) GetRepo(name interface{}) *gomock.Call

GetRepo indicates an expected call of GetRepo

func (*MockRemoteServerMockRecorder) GetRepoState

func (mr *MockRemoteServerMockRecorder) GetRepoState(target interface{}, options ...interface{}) *gomock.Call

GetRepoState indicates an expected call of GetRepoState

func (*MockRemoteServerMockRecorder) InitRepository

func (mr *MockRemoteServerMockRecorder) InitRepository(name interface{}) *gomock.Call

InitRepository indicates an expected call of InitRepository

func (*MockRemoteServerMockRecorder) Log

Log indicates an expected call of Log

func (*MockRemoteServerMockRecorder) Shutdown

func (mr *MockRemoteServerMockRecorder) Shutdown(ctx interface{}) *gomock.Call

Shutdown indicates an expected call of Shutdown

func (*MockRemoteServerMockRecorder) Start

Start indicates an expected call of Start

func (*MockRemoteServerMockRecorder) Stop

Stop indicates an expected call of Stop

func (*MockRemoteServerMockRecorder) TryScheduleReSync

func (mr *MockRemoteServerMockRecorder) TryScheduleReSync(note, ref, fromBeginning interface{}) *gomock.Call

TryScheduleReSync indicates an expected call of TryScheduleReSync

func (*MockRemoteServerMockRecorder) Wait

Wait indicates an expected call of Wait

type MockRepoKeeper

type MockRepoKeeper struct {
	// contains filtered or unexported fields
}

MockRepoKeeper is a mock of RepoKeeper interface

func NewMockRepoKeeper

func NewMockRepoKeeper(ctrl *gomock.Controller) *MockRepoKeeper

NewMockRepoKeeper creates a new mock instance

func (*MockRepoKeeper) EXPECT

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

func (*MockRepoKeeper) Get

func (m *MockRepoKeeper) Get(name string, blockNum ...uint64) *state.Repository

Get mocks base method

func (*MockRepoKeeper) GetNoPopulate

func (m *MockRepoKeeper) GetNoPopulate(name string, blockNum ...uint64) *state.Repository

GetNoPopulate mocks base method

func (*MockRepoKeeper) GetProposalVote

func (m *MockRepoKeeper) GetProposalVote(name, propID, voterAddr string) (int, bool, error)

GetProposalVote mocks base method

func (*MockRepoKeeper) GetProposalsEndingAt

func (m *MockRepoKeeper) GetProposalsEndingAt(height uint64) []*core.EndingProposals

GetProposalsEndingAt mocks base method

func (*MockRepoKeeper) GetReposCreatedByAddress added in v0.0.30

func (m *MockRepoKeeper) GetReposCreatedByAddress(address []byte) ([]string, error)

GetReposCreatedByAddress mocks base method

func (*MockRepoKeeper) IndexProposalEnd

func (m *MockRepoKeeper) IndexProposalEnd(name, propID string, endHeight uint64) error

IndexProposalEnd mocks base method

func (*MockRepoKeeper) IndexProposalVote

func (m *MockRepoKeeper) IndexProposalVote(name, propID, voterAddr string, vote int) error

IndexProposalVote mocks base method

func (*MockRepoKeeper) IndexRepoCreatedByAddress added in v0.0.30

func (m *MockRepoKeeper) IndexRepoCreatedByAddress(address []byte, repoName string) error

IndexRepoCreatedByAddress mocks base method

func (*MockRepoKeeper) IsProposalClosed

func (m *MockRepoKeeper) IsProposalClosed(name, propID string) (bool, error)

IsProposalClosed mocks base method

func (*MockRepoKeeper) MarkProposalAsClosed

func (m *MockRepoKeeper) MarkProposalAsClosed(name, propID string) error

MarkProposalAsClosed mocks base method

func (*MockRepoKeeper) Update

func (m *MockRepoKeeper) Update(name string, upd *state.Repository)

Update mocks base method

type MockRepoKeeperMockRecorder

type MockRepoKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockRepoKeeperMockRecorder is the mock recorder for MockRepoKeeper

func (*MockRepoKeeperMockRecorder) Get

func (mr *MockRepoKeeperMockRecorder) Get(name interface{}, blockNum ...interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockRepoKeeperMockRecorder) GetNoPopulate

func (mr *MockRepoKeeperMockRecorder) GetNoPopulate(name interface{}, blockNum ...interface{}) *gomock.Call

GetNoPopulate indicates an expected call of GetNoPopulate

func (*MockRepoKeeperMockRecorder) GetProposalVote

func (mr *MockRepoKeeperMockRecorder) GetProposalVote(name, propID, voterAddr interface{}) *gomock.Call

GetProposalVote indicates an expected call of GetProposalVote

func (*MockRepoKeeperMockRecorder) GetProposalsEndingAt

func (mr *MockRepoKeeperMockRecorder) GetProposalsEndingAt(height interface{}) *gomock.Call

GetProposalsEndingAt indicates an expected call of GetProposalsEndingAt

func (*MockRepoKeeperMockRecorder) GetReposCreatedByAddress added in v0.0.30

func (mr *MockRepoKeeperMockRecorder) GetReposCreatedByAddress(address interface{}) *gomock.Call

GetReposCreatedByAddress indicates an expected call of GetReposCreatedByAddress

func (*MockRepoKeeperMockRecorder) IndexProposalEnd

func (mr *MockRepoKeeperMockRecorder) IndexProposalEnd(name, propID, endHeight interface{}) *gomock.Call

IndexProposalEnd indicates an expected call of IndexProposalEnd

func (*MockRepoKeeperMockRecorder) IndexProposalVote

func (mr *MockRepoKeeperMockRecorder) IndexProposalVote(name, propID, voterAddr, vote interface{}) *gomock.Call

IndexProposalVote indicates an expected call of IndexProposalVote

func (*MockRepoKeeperMockRecorder) IndexRepoCreatedByAddress added in v0.0.30

func (mr *MockRepoKeeperMockRecorder) IndexRepoCreatedByAddress(address, repoName interface{}) *gomock.Call

IndexRepoCreatedByAddress indicates an expected call of IndexRepoCreatedByAddress

func (*MockRepoKeeperMockRecorder) IsProposalClosed

func (mr *MockRepoKeeperMockRecorder) IsProposalClosed(name, propID interface{}) *gomock.Call

IsProposalClosed indicates an expected call of IsProposalClosed

func (*MockRepoKeeperMockRecorder) MarkProposalAsClosed

func (mr *MockRepoKeeperMockRecorder) MarkProposalAsClosed(name, propID interface{}) *gomock.Call

MarkProposalAsClosed indicates an expected call of MarkProposalAsClosed

func (*MockRepoKeeperMockRecorder) Update

func (mr *MockRepoKeeperMockRecorder) Update(name, upd interface{}) *gomock.Call

Update indicates an expected call of Update

type MockRepoModule

type MockRepoModule struct {
	// contains filtered or unexported fields
}

MockRepoModule is a mock of RepoModule interface

func NewMockRepoModule

func NewMockRepoModule(ctrl *gomock.Controller) *MockRepoModule

NewMockRepoModule creates a new mock instance

func (*MockRepoModule) AddContributor

func (m *MockRepoModule) AddContributor(params map[string]interface{}, options ...interface{}) util.Map

AddContributor mocks base method

func (*MockRepoModule) ConfigureVM

func (m *MockRepoModule) ConfigureVM(vm *otto.Otto) prompt.Completer

ConfigureVM mocks base method

func (*MockRepoModule) CountCommits added in v0.0.30

func (m *MockRepoModule) CountCommits(name, branch string) int

CountCommits mocks base method

func (*MockRepoModule) Create

func (m *MockRepoModule) Create(params map[string]interface{}, options ...interface{}) util.Map

Create mocks base method

func (*MockRepoModule) DepositProposalFee

func (m *MockRepoModule) DepositProposalFee(params map[string]interface{}, options ...interface{}) util.Map

DepositProposalFee mocks base method

func (*MockRepoModule) EXPECT

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

func (*MockRepoModule) Get

func (m *MockRepoModule) Get(name string, opts ...types.GetOptions) util.Map

Get mocks base method

func (*MockRepoModule) GetBranches added in v0.0.29

func (m *MockRepoModule) GetBranches(name string) []string

GetBranches mocks base method

func (*MockRepoModule) GetCommit added in v0.0.32

func (m *MockRepoModule) GetCommit(name, hash string) util.Map

GetCommit mocks base method

func (*MockRepoModule) GetCommitAncestors added in v0.0.29

func (m *MockRepoModule) GetCommitAncestors(name, commitHash string, limit ...int) []util.Map

GetCommitAncestors mocks base method

func (*MockRepoModule) GetCommits added in v0.0.29

func (m *MockRepoModule) GetCommits(reference, branch string, limit ...int) []util.Map

GetCommits mocks base method

func (*MockRepoModule) GetLatestBranchCommit added in v0.0.29

func (m *MockRepoModule) GetLatestBranchCommit(name, branch string) util.Map

GetLatestBranchCommit mocks base method

func (*MockRepoModule) GetParentsAndCommitDiff added in v0.0.30

func (m *MockRepoModule) GetParentsAndCommitDiff(name, commitHash string) util.Map

GetParentsAndCommitDiff mocks base method

func (*MockRepoModule) GetReposCreatedByAddress added in v0.0.30

func (m *MockRepoModule) GetReposCreatedByAddress(address string) []string

GetReposCreatedByAddress mocks base method

func (*MockRepoModule) GetTracked

func (m *MockRepoModule) GetTracked() util.Map

GetTracked mocks base method

func (*MockRepoModule) ListPath added in v0.0.29

func (m *MockRepoModule) ListPath(name, path string, revision ...string) []util.Map

ListPath mocks base method

func (*MockRepoModule) ReadFile added in v0.0.30

func (m *MockRepoModule) ReadFile(name, filePath string, revision ...string) string

ReadFile mocks base method

func (*MockRepoModule) ReadFileLines added in v0.0.30

func (m *MockRepoModule) ReadFileLines(name, filePath string, revision ...string) []string

ReadFileLines mocks base method

func (*MockRepoModule) Track

func (m *MockRepoModule) Track(names string, height ...uint64)

Track mocks base method

func (*MockRepoModule) UnTrack

func (m *MockRepoModule) UnTrack(names string)

UnTrack mocks base method

func (*MockRepoModule) Update

func (m *MockRepoModule) Update(params map[string]interface{}, options ...interface{}) util.Map

Update mocks base method

func (*MockRepoModule) UpsertOwner

func (m *MockRepoModule) UpsertOwner(params map[string]interface{}, options ...interface{}) util.Map

UpsertOwner mocks base method

func (*MockRepoModule) Vote

func (m *MockRepoModule) Vote(params map[string]interface{}, options ...interface{}) util.Map

Vote mocks base method

type MockRepoModuleMockRecorder

type MockRepoModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockRepoModuleMockRecorder is the mock recorder for MockRepoModule

func (*MockRepoModuleMockRecorder) AddContributor

func (mr *MockRepoModuleMockRecorder) AddContributor(params interface{}, options ...interface{}) *gomock.Call

AddContributor indicates an expected call of AddContributor

func (*MockRepoModuleMockRecorder) ConfigureVM

func (mr *MockRepoModuleMockRecorder) ConfigureVM(vm interface{}) *gomock.Call

ConfigureVM indicates an expected call of ConfigureVM

func (*MockRepoModuleMockRecorder) CountCommits added in v0.0.30

func (mr *MockRepoModuleMockRecorder) CountCommits(name, branch interface{}) *gomock.Call

CountCommits indicates an expected call of CountCommits

func (*MockRepoModuleMockRecorder) Create

func (mr *MockRepoModuleMockRecorder) Create(params interface{}, options ...interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockRepoModuleMockRecorder) DepositProposalFee

func (mr *MockRepoModuleMockRecorder) DepositProposalFee(params interface{}, options ...interface{}) *gomock.Call

DepositProposalFee indicates an expected call of DepositProposalFee

func (*MockRepoModuleMockRecorder) Get

func (mr *MockRepoModuleMockRecorder) Get(name interface{}, opts ...interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockRepoModuleMockRecorder) GetBranches added in v0.0.29

func (mr *MockRepoModuleMockRecorder) GetBranches(name interface{}) *gomock.Call

GetBranches indicates an expected call of GetBranches

func (*MockRepoModuleMockRecorder) GetCommit added in v0.0.32

func (mr *MockRepoModuleMockRecorder) GetCommit(name, hash interface{}) *gomock.Call

GetCommit indicates an expected call of GetCommit

func (*MockRepoModuleMockRecorder) GetCommitAncestors added in v0.0.29

func (mr *MockRepoModuleMockRecorder) GetCommitAncestors(name, commitHash interface{}, limit ...interface{}) *gomock.Call

GetCommitAncestors indicates an expected call of GetCommitAncestors

func (*MockRepoModuleMockRecorder) GetCommits added in v0.0.29

func (mr *MockRepoModuleMockRecorder) GetCommits(reference, branch interface{}, limit ...interface{}) *gomock.Call

GetCommits indicates an expected call of GetCommits

func (*MockRepoModuleMockRecorder) GetLatestBranchCommit added in v0.0.29

func (mr *MockRepoModuleMockRecorder) GetLatestBranchCommit(name, branch interface{}) *gomock.Call

GetLatestBranchCommit indicates an expected call of GetLatestBranchCommit

func (*MockRepoModuleMockRecorder) GetParentsAndCommitDiff added in v0.0.30

func (mr *MockRepoModuleMockRecorder) GetParentsAndCommitDiff(name, commitHash interface{}) *gomock.Call

GetParentsAndCommitDiff indicates an expected call of GetParentsAndCommitDiff

func (*MockRepoModuleMockRecorder) GetReposCreatedByAddress added in v0.0.30

func (mr *MockRepoModuleMockRecorder) GetReposCreatedByAddress(address interface{}) *gomock.Call

GetReposCreatedByAddress indicates an expected call of GetReposCreatedByAddress

func (*MockRepoModuleMockRecorder) GetTracked

func (mr *MockRepoModuleMockRecorder) GetTracked() *gomock.Call

GetTracked indicates an expected call of GetTracked

func (*MockRepoModuleMockRecorder) ListPath added in v0.0.29

func (mr *MockRepoModuleMockRecorder) ListPath(name, path interface{}, revision ...interface{}) *gomock.Call

ListPath indicates an expected call of ListPath

func (*MockRepoModuleMockRecorder) ReadFile added in v0.0.30

func (mr *MockRepoModuleMockRecorder) ReadFile(name, filePath interface{}, revision ...interface{}) *gomock.Call

ReadFile indicates an expected call of ReadFile

func (*MockRepoModuleMockRecorder) ReadFileLines added in v0.0.30

func (mr *MockRepoModuleMockRecorder) ReadFileLines(name, filePath interface{}, revision ...interface{}) *gomock.Call

ReadFileLines indicates an expected call of ReadFileLines

func (*MockRepoModuleMockRecorder) Track

func (mr *MockRepoModuleMockRecorder) Track(names interface{}, height ...interface{}) *gomock.Call

Track indicates an expected call of Track

func (*MockRepoModuleMockRecorder) UnTrack

func (mr *MockRepoModuleMockRecorder) UnTrack(names interface{}) *gomock.Call

UnTrack indicates an expected call of UnTrack

func (*MockRepoModuleMockRecorder) Update

func (mr *MockRepoModuleMockRecorder) Update(params interface{}, options ...interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockRepoModuleMockRecorder) UpsertOwner

func (mr *MockRepoModuleMockRecorder) UpsertOwner(params interface{}, options ...interface{}) *gomock.Call

UpsertOwner indicates an expected call of UpsertOwner

func (*MockRepoModuleMockRecorder) Vote

func (mr *MockRepoModuleMockRecorder) Vote(params interface{}, options ...interface{}) *gomock.Call

Vote indicates an expected call of Vote

type MockRepoSyncInfoKeeper

type MockRepoSyncInfoKeeper struct {
	// contains filtered or unexported fields
}

MockRepoSyncInfoKeeper is a mock of RepoSyncInfoKeeper interface

func NewMockRepoSyncInfoKeeper

func NewMockRepoSyncInfoKeeper(ctrl *gomock.Controller) *MockRepoSyncInfoKeeper

NewMockRepoSyncInfoKeeper creates a new mock instance

func (*MockRepoSyncInfoKeeper) EXPECT

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

func (*MockRepoSyncInfoKeeper) GetRefLastSyncHeight

func (m *MockRepoSyncInfoKeeper) GetRefLastSyncHeight(repo, ref string) (uint64, error)

GetRefLastSyncHeight mocks base method

func (*MockRepoSyncInfoKeeper) GetTracked

func (m *MockRepoSyncInfoKeeper) GetTracked(name string) *core.TrackedRepo

GetTracked mocks base method

func (*MockRepoSyncInfoKeeper) Track

func (m *MockRepoSyncInfoKeeper) Track(repos string, height ...uint64) error

Track mocks base method

func (*MockRepoSyncInfoKeeper) Tracked

func (m *MockRepoSyncInfoKeeper) Tracked() map[string]*core.TrackedRepo

Tracked mocks base method

func (*MockRepoSyncInfoKeeper) UnTrack

func (m *MockRepoSyncInfoKeeper) UnTrack(repos string) error

UnTrack mocks base method

func (*MockRepoSyncInfoKeeper) UpdateRefLastSyncHeight

func (m *MockRepoSyncInfoKeeper) UpdateRefLastSyncHeight(repo, ref string, height uint64) error

UpdateRefLastSyncHeight mocks base method

type MockRepoSyncInfoKeeperMockRecorder

type MockRepoSyncInfoKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockRepoSyncInfoKeeperMockRecorder is the mock recorder for MockRepoSyncInfoKeeper

func (*MockRepoSyncInfoKeeperMockRecorder) GetRefLastSyncHeight

func (mr *MockRepoSyncInfoKeeperMockRecorder) GetRefLastSyncHeight(repo, ref interface{}) *gomock.Call

GetRefLastSyncHeight indicates an expected call of GetRefLastSyncHeight

func (*MockRepoSyncInfoKeeperMockRecorder) GetTracked

func (mr *MockRepoSyncInfoKeeperMockRecorder) GetTracked(name interface{}) *gomock.Call

GetTracked indicates an expected call of GetTracked

func (*MockRepoSyncInfoKeeperMockRecorder) Track

func (mr *MockRepoSyncInfoKeeperMockRecorder) Track(repos interface{}, height ...interface{}) *gomock.Call

Track indicates an expected call of Track

func (*MockRepoSyncInfoKeeperMockRecorder) Tracked

Tracked indicates an expected call of Tracked

func (*MockRepoSyncInfoKeeperMockRecorder) UnTrack

func (mr *MockRepoSyncInfoKeeperMockRecorder) UnTrack(repos interface{}) *gomock.Call

UnTrack indicates an expected call of UnTrack

func (*MockRepoSyncInfoKeeperMockRecorder) UpdateRefLastSyncHeight

func (mr *MockRepoSyncInfoKeeperMockRecorder) UpdateRefLastSyncHeight(repo, ref, height interface{}) *gomock.Call

UpdateRefLastSyncHeight indicates an expected call of UpdateRefLastSyncHeight

type MockServeMux

type MockServeMux struct {
	// contains filtered or unexported fields
}

MockServeMux is a mock of ServeMux interface

func NewMockServeMux

func NewMockServeMux(ctrl *gomock.Controller) *MockServeMux

NewMockServeMux creates a new mock instance

func (*MockServeMux) EXPECT

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

func (*MockServeMux) HandleFunc

func (m *MockServeMux) HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))

HandleFunc mocks base method

type MockServeMuxMockRecorder

type MockServeMuxMockRecorder struct {
	// contains filtered or unexported fields
}

MockServeMuxMockRecorder is the mock recorder for MockServeMux

func (*MockServeMuxMockRecorder) HandleFunc

func (mr *MockServeMuxMockRecorder) HandleFunc(pattern, handler interface{}) *gomock.Call

HandleFunc indicates an expected call of HandleFunc

type MockService

type MockService struct {
	// contains filtered or unexported fields
}

MockService is a mock of Service interface

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) GetBlock

func (m *MockService) GetBlock(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)

GetBlock mocks base method

func (*MockService) GetTx

func (m *MockService) GetTx(ctx context.Context, hash []byte, proof bool) (types.BaseTx, *types0.TxProof, error)

GetTx mocks base method

func (*MockService) IsSyncing

func (m *MockService) IsSyncing(ctx context.Context) (bool, error)

IsSyncing mocks base method

func (*MockService) NetInfo

NetInfo mocks base method

type MockServiceMockRecorder

type MockServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) GetBlock

func (mr *MockServiceMockRecorder) GetBlock(ctx, height interface{}) *gomock.Call

GetBlock indicates an expected call of GetBlock

func (*MockServiceMockRecorder) GetTx

func (mr *MockServiceMockRecorder) GetTx(ctx, hash, proof interface{}) *gomock.Call

GetTx indicates an expected call of GetTx

func (*MockServiceMockRecorder) IsSyncing

func (mr *MockServiceMockRecorder) IsSyncing(ctx interface{}) *gomock.Call

IsSyncing indicates an expected call of IsSyncing

func (*MockServiceMockRecorder) NetInfo

func (mr *MockServiceMockRecorder) NetInfo(ctx interface{}) *gomock.Call

NetInfo indicates an expected call of NetInfo

type MockSession

type MockSession struct {
	// contains filtered or unexported fields
}

MockSession is a mock of Session interface

func NewMockSession

func NewMockSession(ctrl *gomock.Controller) *MockSession

NewMockSession creates a new mock instance

func (*MockSession) Announce

func (m *MockSession) Announce(objType int, repo string, key []byte) bool

Announce mocks base method

func (*MockSession) EXPECT

func (m *MockSession) EXPECT() *MockSessionMockRecorder

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

func (*MockSession) OnDone

func (m *MockSession) OnDone(cb func(int))

OnDone mocks base method

type MockSessionMockRecorder

type MockSessionMockRecorder struct {
	// contains filtered or unexported fields
}

MockSessionMockRecorder is the mock recorder for MockSession

func (*MockSessionMockRecorder) Announce

func (mr *MockSessionMockRecorder) Announce(objType, repo, key interface{}) *gomock.Call

Announce indicates an expected call of Announce

func (*MockSessionMockRecorder) OnDone

func (mr *MockSessionMockRecorder) OnDone(cb interface{}) *gomock.Call

OnDone indicates an expected call of OnDone

type MockStoredKey

type MockStoredKey struct {
	// contains filtered or unexported fields
}

MockStoredKey is a mock of StoredKey interface

func NewMockStoredKey

func NewMockStoredKey(ctrl *gomock.Controller) *MockStoredKey

NewMockStoredKey creates a new mock instance

func (*MockStoredKey) EXPECT

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

func (*MockStoredKey) GetCreatedAt

func (m *MockStoredKey) GetCreatedAt() time.Time

GetCreatedAt mocks base method

func (*MockStoredKey) GetFilename

func (m *MockStoredKey) GetFilename() string

GetFilename mocks base method

func (*MockStoredKey) GetKey

func (m *MockStoredKey) GetKey() *ed25519.Key

GetKey mocks base method

func (*MockStoredKey) GetMeta

func (m *MockStoredKey) GetMeta() types.StoredKeyMeta

GetMeta mocks base method

func (*MockStoredKey) GetPayload

func (m *MockStoredKey) GetPayload() *types.KeyPayload

GetPayload mocks base method

func (*MockStoredKey) GetPushKeyAddress

func (m *MockStoredKey) GetPushKeyAddress() string

GetPushKeyAddress mocks base method

func (*MockStoredKey) GetType

func (m *MockStoredKey) GetType() types.KeyType

GetType mocks base method

func (*MockStoredKey) GetUnlockedData

func (m *MockStoredKey) GetUnlockedData() []byte

GetUnlockedData mocks base method

func (*MockStoredKey) GetUserAddress

func (m *MockStoredKey) GetUserAddress() string

GetUserAddress mocks base method

func (*MockStoredKey) IsUnprotected

func (m *MockStoredKey) IsUnprotected() bool

IsUnprotected mocks base method

func (*MockStoredKey) Unlock

func (m *MockStoredKey) Unlock(passphrase string) error

Unlock mocks base method

type MockStoredKeyMockRecorder

type MockStoredKeyMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoredKeyMockRecorder is the mock recorder for MockStoredKey

func (*MockStoredKeyMockRecorder) GetCreatedAt

func (mr *MockStoredKeyMockRecorder) GetCreatedAt() *gomock.Call

GetCreatedAt indicates an expected call of GetCreatedAt

func (*MockStoredKeyMockRecorder) GetFilename

func (mr *MockStoredKeyMockRecorder) GetFilename() *gomock.Call

GetFilename indicates an expected call of GetFilename

func (*MockStoredKeyMockRecorder) GetKey

func (mr *MockStoredKeyMockRecorder) GetKey() *gomock.Call

GetKey indicates an expected call of GetKey

func (*MockStoredKeyMockRecorder) GetMeta

func (mr *MockStoredKeyMockRecorder) GetMeta() *gomock.Call

GetMeta indicates an expected call of GetMeta

func (*MockStoredKeyMockRecorder) GetPayload

func (mr *MockStoredKeyMockRecorder) GetPayload() *gomock.Call

GetPayload indicates an expected call of GetPayload

func (*MockStoredKeyMockRecorder) GetPushKeyAddress

func (mr *MockStoredKeyMockRecorder) GetPushKeyAddress() *gomock.Call

GetPushKeyAddress indicates an expected call of GetPushKeyAddress

func (*MockStoredKeyMockRecorder) GetType

func (mr *MockStoredKeyMockRecorder) GetType() *gomock.Call

GetType indicates an expected call of GetType

func (*MockStoredKeyMockRecorder) GetUnlockedData

func (mr *MockStoredKeyMockRecorder) GetUnlockedData() *gomock.Call

GetUnlockedData indicates an expected call of GetUnlockedData

func (*MockStoredKeyMockRecorder) GetUserAddress

func (mr *MockStoredKeyMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress

func (*MockStoredKeyMockRecorder) IsUnprotected

func (mr *MockStoredKeyMockRecorder) IsUnprotected() *gomock.Call

IsUnprotected indicates an expected call of IsUnprotected

func (*MockStoredKeyMockRecorder) Unlock

func (mr *MockStoredKeyMockRecorder) Unlock(passphrase interface{}) *gomock.Call

Unlock indicates an expected call of Unlock

type MockStream

type MockStream struct {
	// contains filtered or unexported fields
}

MockStream is a mock of Stream interface

func NewMockStream

func NewMockStream(ctrl *gomock.Controller) *MockStream

NewMockStream creates a new mock instance

func (*MockStream) Close

func (m *MockStream) Close() error

Close mocks base method

func (*MockStream) CloseRead

func (m *MockStream) CloseRead() error

CloseRead mocks base method

func (*MockStream) CloseWrite

func (m *MockStream) CloseWrite() error

CloseWrite mocks base method

func (*MockStream) Conn

func (m *MockStream) Conn() network.Conn

Conn mocks base method

func (*MockStream) EXPECT

func (m *MockStream) EXPECT() *MockStreamMockRecorder

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

func (*MockStream) ID

func (m *MockStream) ID() string

ID mocks base method

func (*MockStream) Protocol

func (m *MockStream) Protocol() protocol.ID

Protocol mocks base method

func (*MockStream) Read

func (m *MockStream) Read(p []byte) (int, error)

Read mocks base method

func (*MockStream) Reset

func (m *MockStream) Reset() error

Reset mocks base method

func (*MockStream) SetDeadline

func (m *MockStream) SetDeadline(arg0 time.Time) error

SetDeadline mocks base method

func (*MockStream) SetProtocol

func (m *MockStream) SetProtocol(id protocol.ID)

SetProtocol mocks base method

func (*MockStream) SetReadDeadline

func (m *MockStream) SetReadDeadline(arg0 time.Time) error

SetReadDeadline mocks base method

func (*MockStream) SetWriteDeadline

func (m *MockStream) SetWriteDeadline(arg0 time.Time) error

SetWriteDeadline mocks base method

func (*MockStream) Stat

func (m *MockStream) Stat() network.Stat

Stat mocks base method

func (*MockStream) Write

func (m *MockStream) Write(p []byte) (int, error)

Write mocks base method

type MockStreamMockRecorder

type MockStreamMockRecorder struct {
	// contains filtered or unexported fields
}

MockStreamMockRecorder is the mock recorder for MockStream

func (*MockStreamMockRecorder) Close

func (mr *MockStreamMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockStreamMockRecorder) CloseRead

func (mr *MockStreamMockRecorder) CloseRead() *gomock.Call

CloseRead indicates an expected call of CloseRead

func (*MockStreamMockRecorder) CloseWrite

func (mr *MockStreamMockRecorder) CloseWrite() *gomock.Call

CloseWrite indicates an expected call of CloseWrite

func (*MockStreamMockRecorder) Conn

func (mr *MockStreamMockRecorder) Conn() *gomock.Call

Conn indicates an expected call of Conn

func (*MockStreamMockRecorder) ID

ID indicates an expected call of ID

func (*MockStreamMockRecorder) Protocol

func (mr *MockStreamMockRecorder) Protocol() *gomock.Call

Protocol indicates an expected call of Protocol

func (*MockStreamMockRecorder) Read

func (mr *MockStreamMockRecorder) Read(p interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockStreamMockRecorder) Reset

func (mr *MockStreamMockRecorder) Reset() *gomock.Call

Reset indicates an expected call of Reset

func (*MockStreamMockRecorder) SetDeadline

func (mr *MockStreamMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call

SetDeadline indicates an expected call of SetDeadline

func (*MockStreamMockRecorder) SetProtocol

func (mr *MockStreamMockRecorder) SetProtocol(id interface{}) *gomock.Call

SetProtocol indicates an expected call of SetProtocol

func (*MockStreamMockRecorder) SetReadDeadline

func (mr *MockStreamMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call

SetReadDeadline indicates an expected call of SetReadDeadline

func (*MockStreamMockRecorder) SetWriteDeadline

func (mr *MockStreamMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call

SetWriteDeadline indicates an expected call of SetWriteDeadline

func (*MockStreamMockRecorder) Stat

func (mr *MockStreamMockRecorder) Stat() *gomock.Call

Stat indicates an expected call of Stat

func (*MockStreamMockRecorder) Write

func (mr *MockStreamMockRecorder) Write(p interface{}) *gomock.Call

Write indicates an expected call of Write

type MockStreamer

type MockStreamer struct {
	// contains filtered or unexported fields
}

MockStreamer is a mock of Streamer interface

func NewMockStreamer

func NewMockStreamer(ctrl *gomock.Controller) *MockStreamer

NewMockStreamer creates a new mock instance

func (*MockStreamer) EXPECT

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

func (*MockStreamer) GetCommit

func (m *MockStreamer) GetCommit(ctx context.Context, repo string, hash []byte) (io.ReadSeekerCloser, *object.Commit, error)

GetCommit mocks base method

func (*MockStreamer) GetCommitWithAncestors

func (m *MockStreamer) GetCommitWithAncestors(ctx context.Context, args dht.GetAncestorArgs) ([]io.ReadSeekerCloser, error)

GetCommitWithAncestors mocks base method

func (*MockStreamer) GetProviders

func (m *MockStreamer) GetProviders(ctx context.Context, repoName string, objectHash []byte) ([]peer.AddrInfo, error)

GetProviders mocks base method

func (*MockStreamer) GetTag

func (m *MockStreamer) GetTag(ctx context.Context, repo string, hash []byte) (io.ReadSeekerCloser, *object.Tag, error)

GetTag mocks base method

func (*MockStreamer) GetTaggedCommitWithAncestors

func (m *MockStreamer) GetTaggedCommitWithAncestors(ctx context.Context, args dht.GetAncestorArgs) ([]io.ReadSeekerCloser, error)

GetTaggedCommitWithAncestors mocks base method

func (*MockStreamer) OnRequest

func (m *MockStreamer) OnRequest(s network.Stream) (bool, error)

OnRequest mocks base method

type MockStreamerMockRecorder

type MockStreamerMockRecorder struct {
	// contains filtered or unexported fields
}

MockStreamerMockRecorder is the mock recorder for MockStreamer

func (*MockStreamerMockRecorder) GetCommit

func (mr *MockStreamerMockRecorder) GetCommit(ctx, repo, hash interface{}) *gomock.Call

GetCommit indicates an expected call of GetCommit

func (*MockStreamerMockRecorder) GetCommitWithAncestors

func (mr *MockStreamerMockRecorder) GetCommitWithAncestors(ctx, args interface{}) *gomock.Call

GetCommitWithAncestors indicates an expected call of GetCommitWithAncestors

func (*MockStreamerMockRecorder) GetProviders

func (mr *MockStreamerMockRecorder) GetProviders(ctx, repoName, objectHash interface{}) *gomock.Call

GetProviders indicates an expected call of GetProviders

func (*MockStreamerMockRecorder) GetTag

func (mr *MockStreamerMockRecorder) GetTag(ctx, repo, hash interface{}) *gomock.Call

GetTag indicates an expected call of GetTag

func (*MockStreamerMockRecorder) GetTaggedCommitWithAncestors

func (mr *MockStreamerMockRecorder) GetTaggedCommitWithAncestors(ctx, args interface{}) *gomock.Call

GetTaggedCommitWithAncestors indicates an expected call of GetTaggedCommitWithAncestors

func (*MockStreamerMockRecorder) OnRequest

func (mr *MockStreamerMockRecorder) OnRequest(s interface{}) *gomock.Call

OnRequest indicates an expected call of OnRequest

type MockSystemContract

type MockSystemContract struct {
	// contains filtered or unexported fields
}

MockSystemContract is a mock of SystemContract interface

func NewMockSystemContract

func NewMockSystemContract(ctrl *gomock.Controller) *MockSystemContract

NewMockSystemContract creates a new mock instance

func (*MockSystemContract) CanExec

func (m *MockSystemContract) CanExec(tx types1.TxCode) bool

CanExec mocks base method

func (*MockSystemContract) EXPECT

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

func (*MockSystemContract) Exec

func (m *MockSystemContract) Exec() error

Exec mocks base method

func (*MockSystemContract) Init

Init mocks base method

type MockSystemContractMockRecorder

type MockSystemContractMockRecorder struct {
	// contains filtered or unexported fields
}

MockSystemContractMockRecorder is the mock recorder for MockSystemContract

func (*MockSystemContractMockRecorder) CanExec

func (mr *MockSystemContractMockRecorder) CanExec(tx interface{}) *gomock.Call

CanExec indicates an expected call of CanExec

func (*MockSystemContractMockRecorder) Exec

Exec indicates an expected call of Exec

func (*MockSystemContractMockRecorder) Init

func (mr *MockSystemContractMockRecorder) Init(arg0, arg1, arg2 interface{}) *gomock.Call

Init indicates an expected call of Init

type MockSystemKeeper

type MockSystemKeeper struct {
	// contains filtered or unexported fields
}

MockSystemKeeper is a mock of SystemKeeper interface

func NewMockSystemKeeper

func NewMockSystemKeeper(ctrl *gomock.Controller) *MockSystemKeeper

NewMockSystemKeeper creates a new mock instance

func (*MockSystemKeeper) EXPECT

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

func (*MockSystemKeeper) GetBlockInfo

func (m *MockSystemKeeper) GetBlockInfo(height int64) (*state.BlockInfo, error)

GetBlockInfo mocks base method

func (*MockSystemKeeper) GetCurrentEpoch added in v0.0.29

func (m *MockSystemKeeper) GetCurrentEpoch() (int64, error)

GetCurrentEpoch mocks base method

func (*MockSystemKeeper) GetCurrentEpochStartBlock added in v0.0.29

func (m *MockSystemKeeper) GetCurrentEpochStartBlock() (*state.BlockInfo, error)

GetCurrentEpochStartBlock mocks base method

func (*MockSystemKeeper) GetEpochAt added in v0.0.29

func (m *MockSystemKeeper) GetEpochAt(height int64) int64

GetEpochAt mocks base method

func (*MockSystemKeeper) GetHelmRepo

func (m *MockSystemKeeper) GetHelmRepo() (string, error)

GetHelmRepo mocks base method

func (*MockSystemKeeper) GetLastBlockInfo

func (m *MockSystemKeeper) GetLastBlockInfo() (*state.BlockInfo, error)

GetLastBlockInfo mocks base method

func (*MockSystemKeeper) SaveBlockInfo

func (m *MockSystemKeeper) SaveBlockInfo(info *state.BlockInfo) error

SaveBlockInfo mocks base method

func (*MockSystemKeeper) SetHelmRepo

func (m *MockSystemKeeper) SetHelmRepo(name string) error

SetHelmRepo mocks base method

type MockSystemKeeperMockRecorder

type MockSystemKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockSystemKeeperMockRecorder is the mock recorder for MockSystemKeeper

func (*MockSystemKeeperMockRecorder) GetBlockInfo

func (mr *MockSystemKeeperMockRecorder) GetBlockInfo(height interface{}) *gomock.Call

GetBlockInfo indicates an expected call of GetBlockInfo

func (*MockSystemKeeperMockRecorder) GetCurrentEpoch added in v0.0.29

func (mr *MockSystemKeeperMockRecorder) GetCurrentEpoch() *gomock.Call

GetCurrentEpoch indicates an expected call of GetCurrentEpoch

func (*MockSystemKeeperMockRecorder) GetCurrentEpochStartBlock added in v0.0.29

func (mr *MockSystemKeeperMockRecorder) GetCurrentEpochStartBlock() *gomock.Call

GetCurrentEpochStartBlock indicates an expected call of GetCurrentEpochStartBlock

func (*MockSystemKeeperMockRecorder) GetEpochAt added in v0.0.29

func (mr *MockSystemKeeperMockRecorder) GetEpochAt(height interface{}) *gomock.Call

GetEpochAt indicates an expected call of GetEpochAt

func (*MockSystemKeeperMockRecorder) GetHelmRepo

func (mr *MockSystemKeeperMockRecorder) GetHelmRepo() *gomock.Call

GetHelmRepo indicates an expected call of GetHelmRepo

func (*MockSystemKeeperMockRecorder) GetLastBlockInfo

func (mr *MockSystemKeeperMockRecorder) GetLastBlockInfo() *gomock.Call

GetLastBlockInfo indicates an expected call of GetLastBlockInfo

func (*MockSystemKeeperMockRecorder) SaveBlockInfo

func (mr *MockSystemKeeperMockRecorder) SaveBlockInfo(info interface{}) *gomock.Call

SaveBlockInfo indicates an expected call of SaveBlockInfo

func (*MockSystemKeeperMockRecorder) SetHelmRepo

func (mr *MockSystemKeeperMockRecorder) SetHelmRepo(name interface{}) *gomock.Call

SetHelmRepo indicates an expected call of SetHelmRepo

type MockTicketManager

type MockTicketManager struct {
	// contains filtered or unexported fields
}

MockTicketManager is a mock of TicketManager interface

func NewMockTicketManager

func NewMockTicketManager(ctrl *gomock.Controller) *MockTicketManager

NewMockTicketManager creates a new mock instance

func (*MockTicketManager) CountActiveValidatorTickets

func (m *MockTicketManager) CountActiveValidatorTickets() (int, error)

CountActiveValidatorTickets mocks base method

func (*MockTicketManager) EXPECT

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

func (*MockTicketManager) GetByHash

func (m *MockTicketManager) GetByHash(hash util.HexBytes) *types.Ticket

GetByHash mocks base method

func (*MockTicketManager) GetByProposer

func (m *MockTicketManager) GetByProposer(ticketType types0.TxCode, proposerPubKey util.Bytes32, queryOpt ...interface{}) ([]*types.Ticket, error)

GetByProposer mocks base method

func (*MockTicketManager) GetNonDelegatedTickets

func (m *MockTicketManager) GetNonDelegatedTickets(pubKey util.Bytes32, ticketType types0.TxCode) ([]*types.Ticket, error)

GetNonDelegatedTickets mocks base method

func (*MockTicketManager) GetTopHosts

func (m *MockTicketManager) GetTopHosts(limit int) (types.SelectedTickets, error)

GetTopHosts mocks base method

func (*MockTicketManager) GetTopValidators

func (m *MockTicketManager) GetTopValidators(limit int) (types.SelectedTickets, error)

GetTopValidators mocks base method

func (*MockTicketManager) GetUnExpiredTickets

func (m *MockTicketManager) GetUnExpiredTickets(pubKey util.Bytes32, maturityHeight uint64) ([]*types.Ticket, error)

GetUnExpiredTickets mocks base method

func (*MockTicketManager) Index

func (m *MockTicketManager) Index(tx types0.BaseTx, blockHeight uint64, txIndex int) error

Index mocks base method

func (*MockTicketManager) Query

func (m *MockTicketManager) Query(qf func(*types.Ticket) bool, queryOpt ...interface{}) []*types.Ticket

Query mocks base method

func (*MockTicketManager) QueryOne

func (m *MockTicketManager) QueryOne(qf func(*types.Ticket) bool) *types.Ticket

QueryOne mocks base method

func (*MockTicketManager) Remove

func (m *MockTicketManager) Remove(hash util.HexBytes) error

Remove mocks base method

func (*MockTicketManager) Stop

func (m *MockTicketManager) Stop() error

Stop mocks base method

func (*MockTicketManager) UpdateExpireBy

func (m *MockTicketManager) UpdateExpireBy(hash util.HexBytes, newExpireHeight uint64) error

UpdateExpireBy mocks base method

func (*MockTicketManager) ValueOfAllTickets

func (m *MockTicketManager) ValueOfAllTickets(maturityHeight uint64) (float64, error)

ValueOfAllTickets mocks base method

func (*MockTicketManager) ValueOfDelegatedTickets

func (m *MockTicketManager) ValueOfDelegatedTickets(pubKey util.Bytes32, maturityHeight uint64) (float64, error)

ValueOfDelegatedTickets mocks base method

func (*MockTicketManager) ValueOfNonDelegatedTickets

func (m *MockTicketManager) ValueOfNonDelegatedTickets(pubKey util.Bytes32, maturityHeight uint64) (float64, error)

ValueOfNonDelegatedTickets mocks base method

func (*MockTicketManager) ValueOfTickets

func (m *MockTicketManager) ValueOfTickets(pubKey util.Bytes32, maturityHeight uint64) (float64, error)

ValueOfTickets mocks base method

type MockTicketManagerMockRecorder

type MockTicketManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockTicketManagerMockRecorder is the mock recorder for MockTicketManager

func (*MockTicketManagerMockRecorder) CountActiveValidatorTickets

func (mr *MockTicketManagerMockRecorder) CountActiveValidatorTickets() *gomock.Call

CountActiveValidatorTickets indicates an expected call of CountActiveValidatorTickets

func (*MockTicketManagerMockRecorder) GetByHash

func (mr *MockTicketManagerMockRecorder) GetByHash(hash interface{}) *gomock.Call

GetByHash indicates an expected call of GetByHash

func (*MockTicketManagerMockRecorder) GetByProposer

func (mr *MockTicketManagerMockRecorder) GetByProposer(ticketType, proposerPubKey interface{}, queryOpt ...interface{}) *gomock.Call

GetByProposer indicates an expected call of GetByProposer

func (*MockTicketManagerMockRecorder) GetNonDelegatedTickets

func (mr *MockTicketManagerMockRecorder) GetNonDelegatedTickets(pubKey, ticketType interface{}) *gomock.Call

GetNonDelegatedTickets indicates an expected call of GetNonDelegatedTickets

func (*MockTicketManagerMockRecorder) GetTopHosts

func (mr *MockTicketManagerMockRecorder) GetTopHosts(limit interface{}) *gomock.Call

GetTopHosts indicates an expected call of GetTopHosts

func (*MockTicketManagerMockRecorder) GetTopValidators

func (mr *MockTicketManagerMockRecorder) GetTopValidators(limit interface{}) *gomock.Call

GetTopValidators indicates an expected call of GetTopValidators

func (*MockTicketManagerMockRecorder) GetUnExpiredTickets

func (mr *MockTicketManagerMockRecorder) GetUnExpiredTickets(pubKey, maturityHeight interface{}) *gomock.Call

GetUnExpiredTickets indicates an expected call of GetUnExpiredTickets

func (*MockTicketManagerMockRecorder) Index

func (mr *MockTicketManagerMockRecorder) Index(tx, blockHeight, txIndex interface{}) *gomock.Call

Index indicates an expected call of Index

func (*MockTicketManagerMockRecorder) Query

func (mr *MockTicketManagerMockRecorder) Query(qf interface{}, queryOpt ...interface{}) *gomock.Call

Query indicates an expected call of Query

func (*MockTicketManagerMockRecorder) QueryOne

func (mr *MockTicketManagerMockRecorder) QueryOne(qf interface{}) *gomock.Call

QueryOne indicates an expected call of QueryOne

func (*MockTicketManagerMockRecorder) Remove

func (mr *MockTicketManagerMockRecorder) Remove(hash interface{}) *gomock.Call

Remove indicates an expected call of Remove

func (*MockTicketManagerMockRecorder) Stop

Stop indicates an expected call of Stop

func (*MockTicketManagerMockRecorder) UpdateExpireBy

func (mr *MockTicketManagerMockRecorder) UpdateExpireBy(hash, newExpireHeight interface{}) *gomock.Call

UpdateExpireBy indicates an expected call of UpdateExpireBy

func (*MockTicketManagerMockRecorder) ValueOfAllTickets

func (mr *MockTicketManagerMockRecorder) ValueOfAllTickets(maturityHeight interface{}) *gomock.Call

ValueOfAllTickets indicates an expected call of ValueOfAllTickets

func (*MockTicketManagerMockRecorder) ValueOfDelegatedTickets

func (mr *MockTicketManagerMockRecorder) ValueOfDelegatedTickets(pubKey, maturityHeight interface{}) *gomock.Call

ValueOfDelegatedTickets indicates an expected call of ValueOfDelegatedTickets

func (*MockTicketManagerMockRecorder) ValueOfNonDelegatedTickets

func (mr *MockTicketManagerMockRecorder) ValueOfNonDelegatedTickets(pubKey, maturityHeight interface{}) *gomock.Call

ValueOfNonDelegatedTickets indicates an expected call of ValueOfNonDelegatedTickets

func (*MockTicketManagerMockRecorder) ValueOfTickets

func (mr *MockTicketManagerMockRecorder) ValueOfTickets(pubKey, maturityHeight interface{}) *gomock.Call

ValueOfTickets indicates an expected call of ValueOfTickets

type MockTicketModule

type MockTicketModule struct {
	// contains filtered or unexported fields
}

MockTicketModule is a mock of TicketModule interface

func NewMockTicketModule

func NewMockTicketModule(ctrl *gomock.Controller) *MockTicketModule

NewMockTicketModule creates a new mock instance

func (*MockTicketModule) BuyHostTicket

func (m *MockTicketModule) BuyHostTicket(params map[string]interface{}, options ...interface{}) util.Map

BuyHostTicket mocks base method

func (*MockTicketModule) BuyValidatorTicket

func (m *MockTicketModule) BuyValidatorTicket(params map[string]interface{}, options ...interface{}) util.Map

BuyValidatorTicket mocks base method

func (*MockTicketModule) ConfigureVM

func (m *MockTicketModule) ConfigureVM(vm *otto.Otto) prompt.Completer

ConfigureVM mocks base method

func (*MockTicketModule) EXPECT

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

func (*MockTicketModule) GetAll

func (m *MockTicketModule) GetAll(limit ...int) []util.Map

GetAll mocks base method

func (*MockTicketModule) GetHostTicketsByProposer

func (m *MockTicketModule) GetHostTicketsByProposer(proposerPubKey string, queryOpts ...util.Map) []util.Map

GetHostTicketsByProposer mocks base method

func (*MockTicketModule) GetStats

func (m *MockTicketModule) GetStats(proposerPubKey ...string) util.Map

GetStats mocks base method

func (*MockTicketModule) GetTopHosts

func (m *MockTicketModule) GetTopHosts(limit ...int) []util.Map

GetTopHosts mocks base method

func (*MockTicketModule) GetTopValidators

func (m *MockTicketModule) GetTopValidators(limit ...int) []util.Map

GetTopValidators mocks base method

func (*MockTicketModule) GetValidatorTicketsByProposer

func (m *MockTicketModule) GetValidatorTicketsByProposer(proposerPubKey string, queryOpts ...util.Map) []util.Map

GetValidatorTicketsByProposer mocks base method

func (*MockTicketModule) UnbondHostTicket

func (m *MockTicketModule) UnbondHostTicket(params map[string]interface{}, options ...interface{}) util.Map

UnbondHostTicket mocks base method

type MockTicketModuleMockRecorder

type MockTicketModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockTicketModuleMockRecorder is the mock recorder for MockTicketModule

func (*MockTicketModuleMockRecorder) BuyHostTicket

func (mr *MockTicketModuleMockRecorder) BuyHostTicket(params interface{}, options ...interface{}) *gomock.Call

BuyHostTicket indicates an expected call of BuyHostTicket

func (*MockTicketModuleMockRecorder) BuyValidatorTicket

func (mr *MockTicketModuleMockRecorder) BuyValidatorTicket(params interface{}, options ...interface{}) *gomock.Call

BuyValidatorTicket indicates an expected call of BuyValidatorTicket

func (*MockTicketModuleMockRecorder) ConfigureVM

func (mr *MockTicketModuleMockRecorder) ConfigureVM(vm interface{}) *gomock.Call

ConfigureVM indicates an expected call of ConfigureVM

func (*MockTicketModuleMockRecorder) GetAll

func (mr *MockTicketModuleMockRecorder) GetAll(limit ...interface{}) *gomock.Call

GetAll indicates an expected call of GetAll

func (*MockTicketModuleMockRecorder) GetHostTicketsByProposer

func (mr *MockTicketModuleMockRecorder) GetHostTicketsByProposer(proposerPubKey interface{}, queryOpts ...interface{}) *gomock.Call

GetHostTicketsByProposer indicates an expected call of GetHostTicketsByProposer

func (*MockTicketModuleMockRecorder) GetStats

func (mr *MockTicketModuleMockRecorder) GetStats(proposerPubKey ...interface{}) *gomock.Call

GetStats indicates an expected call of GetStats

func (*MockTicketModuleMockRecorder) GetTopHosts

func (mr *MockTicketModuleMockRecorder) GetTopHosts(limit ...interface{}) *gomock.Call

GetTopHosts indicates an expected call of GetTopHosts

func (*MockTicketModuleMockRecorder) GetTopValidators

func (mr *MockTicketModuleMockRecorder) GetTopValidators(limit ...interface{}) *gomock.Call

GetTopValidators indicates an expected call of GetTopValidators

func (*MockTicketModuleMockRecorder) GetValidatorTicketsByProposer

func (mr *MockTicketModuleMockRecorder) GetValidatorTicketsByProposer(proposerPubKey interface{}, queryOpts ...interface{}) *gomock.Call

GetValidatorTicketsByProposer indicates an expected call of GetValidatorTicketsByProposer

func (*MockTicketModuleMockRecorder) UnbondHostTicket

func (mr *MockTicketModuleMockRecorder) UnbondHostTicket(params interface{}, options ...interface{}) *gomock.Call

UnbondHostTicket indicates an expected call of UnbondHostTicket

type MockTree

type MockTree struct {
	// contains filtered or unexported fields
}

MockTree is a mock of Tree interface

func NewMockTree

func NewMockTree(ctrl *gomock.Controller) *MockTree

NewMockTree creates a new mock instance

func (*MockTree) EXPECT

func (m *MockTree) EXPECT() *MockTreeMockRecorder

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

func (*MockTree) Get

func (m *MockTree) Get(key []byte) (int64, []byte)

Get mocks base method

func (*MockTree) GetVersioned

func (m *MockTree) GetVersioned(key []byte, version int64) (int64, []byte)

GetVersioned mocks base method

func (*MockTree) Hash

func (m *MockTree) Hash() []byte

Hash mocks base method

func (*MockTree) Load

func (m *MockTree) Load() (int64, error)

Load mocks base method

func (*MockTree) Remove

func (m *MockTree) Remove(key []byte) bool

Remove mocks base method

func (*MockTree) SaveVersion

func (m *MockTree) SaveVersion() ([]byte, int64, error)

SaveVersion mocks base method

func (*MockTree) Set

func (m *MockTree) Set(key, value []byte) bool

Set mocks base method

func (*MockTree) Version

func (m *MockTree) Version() int64

Version mocks base method

func (*MockTree) WorkingHash

func (m *MockTree) WorkingHash() []byte

WorkingHash mocks base method

type MockTreeMockRecorder

type MockTreeMockRecorder struct {
	// contains filtered or unexported fields
}

MockTreeMockRecorder is the mock recorder for MockTree

func (*MockTreeMockRecorder) Get

func (mr *MockTreeMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockTreeMockRecorder) GetVersioned

func (mr *MockTreeMockRecorder) GetVersioned(key, version interface{}) *gomock.Call

GetVersioned indicates an expected call of GetVersioned

func (*MockTreeMockRecorder) Hash

func (mr *MockTreeMockRecorder) Hash() *gomock.Call

Hash indicates an expected call of Hash

func (*MockTreeMockRecorder) Load

func (mr *MockTreeMockRecorder) Load() *gomock.Call

Load indicates an expected call of Load

func (*MockTreeMockRecorder) Remove

func (mr *MockTreeMockRecorder) Remove(key interface{}) *gomock.Call

Remove indicates an expected call of Remove

func (*MockTreeMockRecorder) SaveVersion

func (mr *MockTreeMockRecorder) SaveVersion() *gomock.Call

SaveVersion indicates an expected call of SaveVersion

func (*MockTreeMockRecorder) Set

func (mr *MockTreeMockRecorder) Set(key, value interface{}) *gomock.Call

Set indicates an expected call of Set

func (*MockTreeMockRecorder) Version

func (mr *MockTreeMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version

func (*MockTreeMockRecorder) WorkingHash

func (mr *MockTreeMockRecorder) WorkingHash() *gomock.Call

WorkingHash indicates an expected call of WorkingHash

type MockTxModule

type MockTxModule struct {
	// contains filtered or unexported fields
}

MockTxModule is a mock of TxModule interface

func NewMockTxModule

func NewMockTxModule(ctrl *gomock.Controller) *MockTxModule

NewMockTxModule creates a new mock instance

func (*MockTxModule) ConfigureVM

func (m *MockTxModule) ConfigureVM(vm *otto.Otto) prompt.Completer

ConfigureVM mocks base method

func (*MockTxModule) EXPECT

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

func (*MockTxModule) Get

func (m *MockTxModule) Get(hash string) util.Map

Get mocks base method

func (*MockTxModule) SendPayload

func (m *MockTxModule) SendPayload(params map[string]interface{}) util.Map

SendPayload mocks base method

type MockTxModuleMockRecorder

type MockTxModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockTxModuleMockRecorder is the mock recorder for MockTxModule

func (*MockTxModuleMockRecorder) ConfigureVM

func (mr *MockTxModuleMockRecorder) ConfigureVM(vm interface{}) *gomock.Call

ConfigureVM indicates an expected call of ConfigureVM

func (*MockTxModuleMockRecorder) Get

func (mr *MockTxModuleMockRecorder) Get(hash interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockTxModuleMockRecorder) SendPayload

func (mr *MockTxModuleMockRecorder) SendPayload(params interface{}) *gomock.Call

SendPayload indicates an expected call of SendPayload

type MockUserModule

type MockUserModule struct {
	// contains filtered or unexported fields
}

MockUserModule is a mock of UserModule interface

func NewMockUserModule

func NewMockUserModule(ctrl *gomock.Controller) *MockUserModule

NewMockUserModule creates a new mock instance

func (*MockUserModule) ConfigureVM

func (m *MockUserModule) ConfigureVM(vm *otto.Otto) prompt.Completer

ConfigureVM mocks base method

func (*MockUserModule) EXPECT

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

func (*MockUserModule) GetAccount

func (m *MockUserModule) GetAccount(address string, height ...uint64) util.Map

GetAccount mocks base method

func (*MockUserModule) GetAvailableBalance

func (m *MockUserModule) GetAvailableBalance(address string, height ...uint64) string

GetAvailableBalance mocks base method

func (*MockUserModule) GetKeys

func (m *MockUserModule) GetKeys() []string

GetKeys mocks base method

func (*MockUserModule) GetNonce

func (m *MockUserModule) GetNonce(address string, height ...uint64) string

GetNonce mocks base method

func (*MockUserModule) GetPrivKey

func (m *MockUserModule) GetPrivKey(address string, passphrase ...string) string

GetPrivKey mocks base method

func (*MockUserModule) GetPublicKey

func (m *MockUserModule) GetPublicKey(address string, passphrase ...string) string

GetPublicKey mocks base method

func (*MockUserModule) GetStakedBalance

func (m *MockUserModule) GetStakedBalance(address string, height ...uint64) string

GetStakedBalance mocks base method

func (*MockUserModule) GetValidator

func (m *MockUserModule) GetValidator(includePrivKey ...bool) util.Map

GetValidator mocks base method

func (*MockUserModule) SendCoin

func (m *MockUserModule) SendCoin(params map[string]interface{}, options ...interface{}) util.Map

SendCoin mocks base method

func (*MockUserModule) SetCommission

func (m *MockUserModule) SetCommission(params map[string]interface{}, options ...interface{}) util.Map

SetCommission mocks base method

type MockUserModuleMockRecorder

type MockUserModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserModuleMockRecorder is the mock recorder for MockUserModule

func (*MockUserModuleMockRecorder) ConfigureVM

func (mr *MockUserModuleMockRecorder) ConfigureVM(vm interface{}) *gomock.Call

ConfigureVM indicates an expected call of ConfigureVM

func (*MockUserModuleMockRecorder) GetAccount

func (mr *MockUserModuleMockRecorder) GetAccount(address interface{}, height ...interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount

func (*MockUserModuleMockRecorder) GetAvailableBalance

func (mr *MockUserModuleMockRecorder) GetAvailableBalance(address interface{}, height ...interface{}) *gomock.Call

GetAvailableBalance indicates an expected call of GetAvailableBalance

func (*MockUserModuleMockRecorder) GetKeys

func (mr *MockUserModuleMockRecorder) GetKeys() *gomock.Call

GetKeys indicates an expected call of GetKeys

func (*MockUserModuleMockRecorder) GetNonce

func (mr *MockUserModuleMockRecorder) GetNonce(address interface{}, height ...interface{}) *gomock.Call

GetNonce indicates an expected call of GetNonce

func (*MockUserModuleMockRecorder) GetPrivKey

func (mr *MockUserModuleMockRecorder) GetPrivKey(address interface{}, passphrase ...interface{}) *gomock.Call

GetPrivKey indicates an expected call of GetPrivKey

func (*MockUserModuleMockRecorder) GetPublicKey

func (mr *MockUserModuleMockRecorder) GetPublicKey(address interface{}, passphrase ...interface{}) *gomock.Call

GetPublicKey indicates an expected call of GetPublicKey

func (*MockUserModuleMockRecorder) GetStakedBalance

func (mr *MockUserModuleMockRecorder) GetStakedBalance(address interface{}, height ...interface{}) *gomock.Call

GetStakedBalance indicates an expected call of GetStakedBalance

func (*MockUserModuleMockRecorder) GetValidator

func (mr *MockUserModuleMockRecorder) GetValidator(includePrivKey ...interface{}) *gomock.Call

GetValidator indicates an expected call of GetValidator

func (*MockUserModuleMockRecorder) SendCoin

func (mr *MockUserModuleMockRecorder) SendCoin(params interface{}, options ...interface{}) *gomock.Call

SendCoin indicates an expected call of SendCoin

func (*MockUserModuleMockRecorder) SetCommission

func (mr *MockUserModuleMockRecorder) SetCommission(params interface{}, options ...interface{}) *gomock.Call

SetCommission indicates an expected call of SetCommission

type MockValidatorKeeper

type MockValidatorKeeper struct {
	// contains filtered or unexported fields
}

MockValidatorKeeper is a mock of ValidatorKeeper interface

func NewMockValidatorKeeper

func NewMockValidatorKeeper(ctrl *gomock.Controller) *MockValidatorKeeper

NewMockValidatorKeeper creates a new mock instance

func (*MockValidatorKeeper) EXPECT

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

func (*MockValidatorKeeper) Get

Get mocks base method

func (*MockValidatorKeeper) Index

func (m *MockValidatorKeeper) Index(height int64, validators []*core.Validator) error

Index mocks base method

type MockValidatorKeeperMockRecorder

type MockValidatorKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockValidatorKeeperMockRecorder is the mock recorder for MockValidatorKeeper

func (*MockValidatorKeeperMockRecorder) Get

func (mr *MockValidatorKeeperMockRecorder) Get(height interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockValidatorKeeperMockRecorder) Index

func (mr *MockValidatorKeeperMockRecorder) Index(height, validators interface{}) *gomock.Call

Index indicates an expected call of Index

type MockValidatorLogic

type MockValidatorLogic struct {
	// contains filtered or unexported fields
}

MockValidatorLogic is a mock of ValidatorLogic interface

func NewMockValidatorLogic

func NewMockValidatorLogic(ctrl *gomock.Controller) *MockValidatorLogic

NewMockValidatorLogic creates a new mock instance

func (*MockValidatorLogic) EXPECT

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

func (*MockValidatorLogic) Index

func (m *MockValidatorLogic) Index(height int64, valUpdates []types2.ValidatorUpdate) error

Index mocks base method

type MockValidatorLogicMockRecorder

type MockValidatorLogicMockRecorder struct {
	// contains filtered or unexported fields
}

MockValidatorLogicMockRecorder is the mock recorder for MockValidatorLogic

func (*MockValidatorLogicMockRecorder) Index

func (mr *MockValidatorLogicMockRecorder) Index(height, valUpdates interface{}) *gomock.Call

Index indicates an expected call of Index

type MockWatcher

type MockWatcher struct {
	// contains filtered or unexported fields
}

MockWatcher is a mock of Watcher interface

func NewMockWatcher

func NewMockWatcher(ctrl *gomock.Controller) *MockWatcher

NewMockWatcher creates a new mock instance

func (*MockWatcher) Do

func (m *MockWatcher) Do(task *types.WatcherTask) error

Do mocks base method

func (*MockWatcher) EXPECT

func (m *MockWatcher) EXPECT() *MockWatcherMockRecorder

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

func (*MockWatcher) HasTask

func (m *MockWatcher) HasTask() bool

HasTask mocks base method

func (*MockWatcher) IsRunning

func (m *MockWatcher) IsRunning() bool

IsRunning mocks base method

func (*MockWatcher) QueueSize

func (m *MockWatcher) QueueSize() int

QueueSize mocks base method

func (*MockWatcher) Start

func (m *MockWatcher) Start()

Start mocks base method

func (*MockWatcher) Stop

func (m *MockWatcher) Stop()

Stop mocks base method

func (*MockWatcher) Watch

func (m *MockWatcher) Watch(repo, reference string, startHeight, endHeight uint64) error

Watch mocks base method

type MockWatcherMockRecorder

type MockWatcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockWatcherMockRecorder is the mock recorder for MockWatcher

func (*MockWatcherMockRecorder) Do

func (mr *MockWatcherMockRecorder) Do(task interface{}) *gomock.Call

Do indicates an expected call of Do

func (*MockWatcherMockRecorder) HasTask

func (mr *MockWatcherMockRecorder) HasTask() *gomock.Call

HasTask indicates an expected call of HasTask

func (*MockWatcherMockRecorder) IsRunning

func (mr *MockWatcherMockRecorder) IsRunning() *gomock.Call

IsRunning indicates an expected call of IsRunning

func (*MockWatcherMockRecorder) QueueSize

func (mr *MockWatcherMockRecorder) QueueSize() *gomock.Call

QueueSize indicates an expected call of QueueSize

func (*MockWatcherMockRecorder) Start

func (mr *MockWatcherMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start

func (*MockWatcherMockRecorder) Stop

func (mr *MockWatcherMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop

func (*MockWatcherMockRecorder) Watch

func (mr *MockWatcherMockRecorder) Watch(repo, reference, startHeight, endHeight interface{}) *gomock.Call

Watch indicates an expected call of Watch

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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