mocks

package
v0.0.0-...-e883f13 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

ApplySnapshotChunk mocks base method.

func (*MockClient) CheckTx

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

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

func (m *MockClient) Error() error

Error mocks base method.

func (*MockClient) ExtendVote

ExtendVote mocks base method.

func (*MockClient) FinalizeBlock

FinalizeBlock mocks base method.

func (*MockClient) Flush

func (m *MockClient) Flush(arg0 context.Context) error

Flush mocks base method.

func (*MockClient) Info

Info mocks base method.

func (*MockClient) InitChain

InitChain mocks base method.

func (*MockClient) IsRunning

func (m *MockClient) IsRunning() bool

IsRunning mocks base method.

func (*MockClient) ListSnapshots

ListSnapshots mocks base method.

func (*MockClient) LoadSnapshotChunk

LoadSnapshotChunk mocks base method.

func (*MockClient) OfferSnapshot

OfferSnapshot mocks base method.

func (*MockClient) OnReset

func (m *MockClient) OnReset() error

OnReset mocks base method.

func (*MockClient) OnStart

func (m *MockClient) OnStart() error

OnStart mocks base method.

func (*MockClient) OnStop

func (m *MockClient) OnStop()

OnStop mocks base method.

func (*MockClient) PrepareProposal

PrepareProposal mocks base method.

func (*MockClient) ProcessProposal

ProcessProposal mocks base method.

func (*MockClient) Query

Query mocks base method.

func (*MockClient) Quit

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

Quit mocks base method.

func (*MockClient) Reset

func (m *MockClient) Reset() error

Reset 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) Start

func (m *MockClient) Start() error

Start mocks base method.

func (*MockClient) Stop

func (m *MockClient) Stop() error

Stop mocks base method.

func (*MockClient) String

func (m *MockClient) String() string

String mocks base method.

func (*MockClient) VerifyVoteExtension

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.

Jump to

Keyboard shortcuts

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