Documentation ¶
Index ¶
- type Client
- func (_m *Client) ApplySnapshotChunk(_a0 context.Context, _a1 *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
- func (_m *Client) CheckTx(_a0 context.Context, _a1 *types.RequestCheckTx) (*types.ResponseCheckTx, error)
- func (_m *Client) CheckTxAsync(_a0 context.Context, _a1 *types.RequestCheckTx) (*abcicli.ReqRes, error)
- func (_m *Client) Commit(_a0 context.Context, _a1 *types.RequestCommit) (*types.ResponseCommit, error)
- func (_m *Client) Echo(_a0 context.Context, _a1 string) (*types.ResponseEcho, error)
- func (_m *Client) Error() error
- func (_m *Client) ExtendVote(_a0 context.Context, _a1 *types.RequestExtendVote) (*types.ResponseExtendVote, error)
- func (_m *Client) FinalizeBlock(_a0 context.Context, _a1 *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)
- func (_m *Client) Flush(_a0 context.Context) error
- func (_m *Client) Info(_a0 context.Context, _a1 *types.RequestInfo) (*types.ResponseInfo, error)
- func (_m *Client) InitChain(_a0 context.Context, _a1 *types.RequestInitChain) (*types.ResponseInitChain, error)
- func (_m *Client) IsRunning() bool
- func (_m *Client) ListSnapshots(_a0 context.Context, _a1 *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
- func (_m *Client) LoadSnapshotChunk(_a0 context.Context, _a1 *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
- func (_m *Client) OfferSnapshot(_a0 context.Context, _a1 *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
- func (_m *Client) OnReset() error
- func (_m *Client) OnStart() error
- func (_m *Client) OnStop()
- func (_m *Client) PrepareProposal(_a0 context.Context, _a1 *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)
- func (_m *Client) ProcessProposal(_a0 context.Context, _a1 *types.RequestProcessProposal) (*types.ResponseProcessProposal, error)
- func (_m *Client) Query(_a0 context.Context, _a1 *types.RequestQuery) (*types.ResponseQuery, error)
- func (_m *Client) Quit() <-chan struct{}
- func (_m *Client) Reset() error
- func (_m *Client) SetLogger(_a0 log.Logger)
- func (_m *Client) SetResponseCallback(_a0 abcicli.Callback)
- func (_m *Client) Start() error
- func (_m *Client) Stop() error
- func (_m *Client) String() string
- func (_m *Client) VerifyVoteExtension(_a0 context.Context, _a1 *types.RequestVerifyVoteExtension) (*types.ResponseVerifyVoteExtension, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
func NewClient(t mockConstructorTestingTNewClient) *Client
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Client) ApplySnapshotChunk ¶
func (_m *Client) ApplySnapshotChunk(_a0 context.Context, _a1 *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
ApplySnapshotChunk provides a mock function with given fields: _a0, _a1
func (*Client) CheckTx ¶
func (_m *Client) CheckTx(_a0 context.Context, _a1 *types.RequestCheckTx) (*types.ResponseCheckTx, error)
CheckTx provides a mock function with given fields: _a0, _a1
func (*Client) CheckTxAsync ¶
func (_m *Client) CheckTxAsync(_a0 context.Context, _a1 *types.RequestCheckTx) (*abcicli.ReqRes, error)
CheckTxAsync provides a mock function with given fields: _a0, _a1
func (*Client) Commit ¶
func (_m *Client) Commit(_a0 context.Context, _a1 *types.RequestCommit) (*types.ResponseCommit, error)
Commit provides a mock function with given fields: _a0, _a1
func (*Client) ExtendVote ¶
func (_m *Client) ExtendVote(_a0 context.Context, _a1 *types.RequestExtendVote) (*types.ResponseExtendVote, error)
ExtendVote provides a mock function with given fields: _a0, _a1
func (*Client) FinalizeBlock ¶
func (_m *Client) FinalizeBlock(_a0 context.Context, _a1 *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)
FinalizeBlock provides a mock function with given fields: _a0, _a1
func (*Client) Info ¶
func (_m *Client) Info(_a0 context.Context, _a1 *types.RequestInfo) (*types.ResponseInfo, error)
Info provides a mock function with given fields: _a0, _a1
func (*Client) InitChain ¶
func (_m *Client) InitChain(_a0 context.Context, _a1 *types.RequestInitChain) (*types.ResponseInitChain, error)
InitChain provides a mock function with given fields: _a0, _a1
func (*Client) ListSnapshots ¶
func (_m *Client) ListSnapshots(_a0 context.Context, _a1 *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
ListSnapshots provides a mock function with given fields: _a0, _a1
func (*Client) LoadSnapshotChunk ¶
func (_m *Client) LoadSnapshotChunk(_a0 context.Context, _a1 *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
LoadSnapshotChunk provides a mock function with given fields: _a0, _a1
func (*Client) OfferSnapshot ¶
func (_m *Client) OfferSnapshot(_a0 context.Context, _a1 *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
OfferSnapshot provides a mock function with given fields: _a0, _a1
func (*Client) OnStop ¶
func (_m *Client) OnStop()
OnStop provides a mock function with given fields:
func (*Client) PrepareProposal ¶
func (_m *Client) PrepareProposal(_a0 context.Context, _a1 *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)
PrepareProposal provides a mock function with given fields: _a0, _a1
func (*Client) ProcessProposal ¶
func (_m *Client) ProcessProposal(_a0 context.Context, _a1 *types.RequestProcessProposal) (*types.ResponseProcessProposal, error)
ProcessProposal provides a mock function with given fields: _a0, _a1
func (*Client) Query ¶
func (_m *Client) Query(_a0 context.Context, _a1 *types.RequestQuery) (*types.ResponseQuery, error)
Query provides a mock function with given fields: _a0, _a1
func (*Client) Quit ¶
func (_m *Client) Quit() <-chan struct{}
Quit provides a mock function with given fields:
func (*Client) SetResponseCallback ¶
SetResponseCallback provides a mock function with given fields: _a0
func (*Client) VerifyVoteExtension ¶
func (_m *Client) VerifyVoteExtension(_a0 context.Context, _a1 *types.RequestVerifyVoteExtension) (*types.ResponseVerifyVoteExtension, error)
VerifyVoteExtension provides a mock function with given fields: _a0, _a1