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) 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) 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) Start(_a0 context.Context) error
- func (_m *Client) VerifyVoteExtension(_a0 context.Context, _a1 *types.RequestVerifyVoteExtension) (*types.ResponseVerifyVoteExtension, error)
- func (_m *Client) Wait()
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 ¶
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. The first argument is typically a *testing.T value.
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) 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) 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) VerifyVoteExtension ¶
func (_m *Client) VerifyVoteExtension(_a0 context.Context, _a1 *types.RequestVerifyVoteExtension) (*types.ResponseVerifyVoteExtension, error)
VerifyVoteExtension provides a mock function with given fields: _a0, _a1