Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) ApplySnapshotChunk(arg0 context.Context, arg1 *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
- func (m *MockClient) CheckTx(arg0 context.Context, arg1 *types.RequestCheckTx) (*types.ResponseCheckTx, error)
- func (m *MockClient) CheckTxAsync(arg0 context.Context, arg1 *types.RequestCheckTx) (*abcicli.ReqRes, error)
- func (m *MockClient) Commit(arg0 context.Context, arg1 *types.RequestCommit) (*types.ResponseCommit, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Echo(arg0 context.Context, arg1 string) (*types.ResponseEcho, error)
- func (m *MockClient) Error() error
- func (m *MockClient) ExtendVote(arg0 context.Context, arg1 *types.RequestExtendVote) (*types.ResponseExtendVote, error)
- func (m *MockClient) FinalizeBlock(arg0 context.Context, arg1 *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)
- func (m *MockClient) Flush(arg0 context.Context) error
- func (m *MockClient) Info(arg0 context.Context, arg1 *types.RequestInfo) (*types.ResponseInfo, error)
- func (m *MockClient) InitChain(arg0 context.Context, arg1 *types.RequestInitChain) (*types.ResponseInitChain, error)
- func (m *MockClient) IsRunning() bool
- func (m *MockClient) ListSnapshots(arg0 context.Context, arg1 *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
- func (m *MockClient) LoadSnapshotChunk(arg0 context.Context, arg1 *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
- func (m *MockClient) OfferSnapshot(arg0 context.Context, arg1 *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
- func (m *MockClient) OnReset() error
- func (m *MockClient) OnStart() error
- func (m *MockClient) OnStop()
- func (m *MockClient) PrepareProposal(arg0 context.Context, arg1 *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)
- func (m *MockClient) ProcessProposal(arg0 context.Context, arg1 *types.RequestProcessProposal) (*types.ResponseProcessProposal, error)
- func (m *MockClient) Query(arg0 context.Context, arg1 *types.RequestQuery) (*types.ResponseQuery, error)
- func (m *MockClient) Quit() <-chan struct{}
- func (m *MockClient) Reset() error
- func (m *MockClient) SetLogger(arg0 log.Logger)
- func (m *MockClient) SetResponseCallback(arg0 abcicli.Callback)
- func (m *MockClient) Start() error
- func (m *MockClient) Stop() error
- func (m *MockClient) String() string
- func (m *MockClient) VerifyVoteExtension(arg0 context.Context, arg1 *types.RequestVerifyVoteExtension) (*types.ResponseVerifyVoteExtension, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) ApplySnapshotChunk(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CheckTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CheckTxAsync(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Commit(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Echo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Error() *gomock.Call
- func (mr *MockClientMockRecorder) ExtendVote(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) FinalizeBlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Flush(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Info(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InitChain(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IsRunning() *gomock.Call
- func (mr *MockClientMockRecorder) ListSnapshots(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) LoadSnapshotChunk(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) OfferSnapshot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) OnReset() *gomock.Call
- func (mr *MockClientMockRecorder) OnStart() *gomock.Call
- func (mr *MockClientMockRecorder) OnStop() *gomock.Call
- func (mr *MockClientMockRecorder) PrepareProposal(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ProcessProposal(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Quit() *gomock.Call
- func (mr *MockClientMockRecorder) Reset() *gomock.Call
- func (mr *MockClientMockRecorder) SetLogger(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SetResponseCallback(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Start() *gomock.Call
- func (mr *MockClientMockRecorder) Stop() *gomock.Call
- func (mr *MockClientMockRecorder) String() *gomock.Call
- func (mr *MockClientMockRecorder) VerifyVoteExtension(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) ApplySnapshotChunk ¶
func (m *MockClient) ApplySnapshotChunk(arg0 context.Context, arg1 *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
ApplySnapshotChunk mocks base method.
func (*MockClient) CheckTx ¶
func (m *MockClient) CheckTx(arg0 context.Context, arg1 *types.RequestCheckTx) (*types.ResponseCheckTx, error)
CheckTx mocks base method.
func (*MockClient) CheckTxAsync ¶
func (m *MockClient) CheckTxAsync(arg0 context.Context, arg1 *types.RequestCheckTx) (*abcicli.ReqRes, error)
CheckTxAsync mocks base method.
func (*MockClient) Commit ¶
func (m *MockClient) Commit(arg0 context.Context, arg1 *types.RequestCommit) (*types.ResponseCommit, error)
Commit mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) Echo ¶
func (m *MockClient) Echo(arg0 context.Context, arg1 string) (*types.ResponseEcho, error)
Echo mocks base method.
func (*MockClient) ExtendVote ¶
func (m *MockClient) ExtendVote(arg0 context.Context, arg1 *types.RequestExtendVote) (*types.ResponseExtendVote, error)
ExtendVote mocks base method.
func (*MockClient) FinalizeBlock ¶
func (m *MockClient) FinalizeBlock(arg0 context.Context, arg1 *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)
FinalizeBlock mocks base method.
func (*MockClient) Flush ¶
func (m *MockClient) Flush(arg0 context.Context) error
Flush mocks base method.
func (*MockClient) Info ¶
func (m *MockClient) Info(arg0 context.Context, arg1 *types.RequestInfo) (*types.ResponseInfo, error)
Info mocks base method.
func (*MockClient) InitChain ¶
func (m *MockClient) InitChain(arg0 context.Context, arg1 *types.RequestInitChain) (*types.ResponseInitChain, error)
InitChain mocks base method.
func (*MockClient) ListSnapshots ¶
func (m *MockClient) ListSnapshots(arg0 context.Context, arg1 *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
ListSnapshots mocks base method.
func (*MockClient) LoadSnapshotChunk ¶
func (m *MockClient) LoadSnapshotChunk(arg0 context.Context, arg1 *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
LoadSnapshotChunk mocks base method.
func (*MockClient) OfferSnapshot ¶
func (m *MockClient) OfferSnapshot(arg0 context.Context, arg1 *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
OfferSnapshot mocks base method.
func (*MockClient) PrepareProposal ¶
func (m *MockClient) PrepareProposal(arg0 context.Context, arg1 *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)
PrepareProposal mocks base method.
func (*MockClient) ProcessProposal ¶
func (m *MockClient) ProcessProposal(arg0 context.Context, arg1 *types.RequestProcessProposal) (*types.ResponseProcessProposal, error)
ProcessProposal mocks base method.
func (*MockClient) Query ¶
func (m *MockClient) Query(arg0 context.Context, arg1 *types.RequestQuery) (*types.ResponseQuery, error)
Query mocks base method.
func (*MockClient) SetLogger ¶
func (m *MockClient) SetLogger(arg0 log.Logger)
SetLogger mocks base method.
func (*MockClient) SetResponseCallback ¶
func (m *MockClient) SetResponseCallback(arg0 abcicli.Callback)
SetResponseCallback mocks base method.
func (*MockClient) VerifyVoteExtension ¶
func (m *MockClient) VerifyVoteExtension(arg0 context.Context, arg1 *types.RequestVerifyVoteExtension) (*types.ResponseVerifyVoteExtension, error)
VerifyVoteExtension mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) ApplySnapshotChunk ¶
func (mr *MockClientMockRecorder) ApplySnapshotChunk(arg0, arg1 interface{}) *gomock.Call
ApplySnapshotChunk indicates an expected call of ApplySnapshotChunk.
func (*MockClientMockRecorder) CheckTx ¶
func (mr *MockClientMockRecorder) CheckTx(arg0, arg1 interface{}) *gomock.Call
CheckTx indicates an expected call of CheckTx.
func (*MockClientMockRecorder) CheckTxAsync ¶
func (mr *MockClientMockRecorder) CheckTxAsync(arg0, arg1 interface{}) *gomock.Call
CheckTxAsync indicates an expected call of CheckTxAsync.
func (*MockClientMockRecorder) Commit ¶
func (mr *MockClientMockRecorder) Commit(arg0, arg1 interface{}) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockClientMockRecorder) Echo ¶
func (mr *MockClientMockRecorder) Echo(arg0, arg1 interface{}) *gomock.Call
Echo indicates an expected call of Echo.
func (*MockClientMockRecorder) Error ¶
func (mr *MockClientMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
func (*MockClientMockRecorder) ExtendVote ¶
func (mr *MockClientMockRecorder) ExtendVote(arg0, arg1 interface{}) *gomock.Call
ExtendVote indicates an expected call of ExtendVote.
func (*MockClientMockRecorder) FinalizeBlock ¶
func (mr *MockClientMockRecorder) FinalizeBlock(arg0, arg1 interface{}) *gomock.Call
FinalizeBlock indicates an expected call of FinalizeBlock.
func (*MockClientMockRecorder) Flush ¶
func (mr *MockClientMockRecorder) Flush(arg0 interface{}) *gomock.Call
Flush indicates an expected call of Flush.
func (*MockClientMockRecorder) Info ¶
func (mr *MockClientMockRecorder) Info(arg0, arg1 interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockClientMockRecorder) InitChain ¶
func (mr *MockClientMockRecorder) InitChain(arg0, arg1 interface{}) *gomock.Call
InitChain indicates an expected call of InitChain.
func (*MockClientMockRecorder) IsRunning ¶
func (mr *MockClientMockRecorder) IsRunning() *gomock.Call
IsRunning indicates an expected call of IsRunning.
func (*MockClientMockRecorder) ListSnapshots ¶
func (mr *MockClientMockRecorder) ListSnapshots(arg0, arg1 interface{}) *gomock.Call
ListSnapshots indicates an expected call of ListSnapshots.
func (*MockClientMockRecorder) LoadSnapshotChunk ¶
func (mr *MockClientMockRecorder) LoadSnapshotChunk(arg0, arg1 interface{}) *gomock.Call
LoadSnapshotChunk indicates an expected call of LoadSnapshotChunk.
func (*MockClientMockRecorder) OfferSnapshot ¶
func (mr *MockClientMockRecorder) OfferSnapshot(arg0, arg1 interface{}) *gomock.Call
OfferSnapshot indicates an expected call of OfferSnapshot.
func (*MockClientMockRecorder) OnReset ¶
func (mr *MockClientMockRecorder) OnReset() *gomock.Call
OnReset indicates an expected call of OnReset.
func (*MockClientMockRecorder) OnStart ¶
func (mr *MockClientMockRecorder) OnStart() *gomock.Call
OnStart indicates an expected call of OnStart.
func (*MockClientMockRecorder) OnStop ¶
func (mr *MockClientMockRecorder) OnStop() *gomock.Call
OnStop indicates an expected call of OnStop.
func (*MockClientMockRecorder) PrepareProposal ¶
func (mr *MockClientMockRecorder) PrepareProposal(arg0, arg1 interface{}) *gomock.Call
PrepareProposal indicates an expected call of PrepareProposal.
func (*MockClientMockRecorder) ProcessProposal ¶
func (mr *MockClientMockRecorder) ProcessProposal(arg0, arg1 interface{}) *gomock.Call
ProcessProposal indicates an expected call of ProcessProposal.
func (*MockClientMockRecorder) Query ¶
func (mr *MockClientMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call
Query indicates an expected call of Query.
func (*MockClientMockRecorder) Quit ¶
func (mr *MockClientMockRecorder) Quit() *gomock.Call
Quit indicates an expected call of Quit.
func (*MockClientMockRecorder) Reset ¶
func (mr *MockClientMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset.
func (*MockClientMockRecorder) SetLogger ¶
func (mr *MockClientMockRecorder) SetLogger(arg0 interface{}) *gomock.Call
SetLogger indicates an expected call of SetLogger.
func (*MockClientMockRecorder) SetResponseCallback ¶
func (mr *MockClientMockRecorder) SetResponseCallback(arg0 interface{}) *gomock.Call
SetResponseCallback indicates an expected call of SetResponseCallback.
func (*MockClientMockRecorder) Start ¶
func (mr *MockClientMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockClientMockRecorder) Stop ¶
func (mr *MockClientMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockClientMockRecorder) String ¶
func (mr *MockClientMockRecorder) String() *gomock.Call
String indicates an expected call of String.
func (*MockClientMockRecorder) VerifyVoteExtension ¶
func (mr *MockClientMockRecorder) VerifyVoteExtension(arg0, arg1 interface{}) *gomock.Call
VerifyVoteExtension indicates an expected call of VerifyVoteExtension.