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) EXPECT() *Client_Expecter
- 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()
- type Client_ApplySnapshotChunk_Call
- func (_c *Client_ApplySnapshotChunk_Call) Return(_a0 *types.ResponseApplySnapshotChunk, _a1 error) *Client_ApplySnapshotChunk_Call
- func (_c *Client_ApplySnapshotChunk_Call) Run(run func(_a0 context.Context, _a1 *types.RequestApplySnapshotChunk)) *Client_ApplySnapshotChunk_Call
- func (_c *Client_ApplySnapshotChunk_Call) RunAndReturn(...) *Client_ApplySnapshotChunk_Call
- type Client_CheckTx_Call
- type Client_Echo_Call
- func (_c *Client_Echo_Call) Return(_a0 *types.ResponseEcho, _a1 error) *Client_Echo_Call
- func (_c *Client_Echo_Call) Run(run func(_a0 context.Context, _a1 string)) *Client_Echo_Call
- func (_c *Client_Echo_Call) RunAndReturn(run func(context.Context, string) (*types.ResponseEcho, error)) *Client_Echo_Call
- type Client_Error_Call
- type Client_Expecter
- func (_e *Client_Expecter) ApplySnapshotChunk(_a0 interface{}, _a1 interface{}) *Client_ApplySnapshotChunk_Call
- func (_e *Client_Expecter) CheckTx(_a0 interface{}, _a1 interface{}) *Client_CheckTx_Call
- func (_e *Client_Expecter) Echo(_a0 interface{}, _a1 interface{}) *Client_Echo_Call
- func (_e *Client_Expecter) Error() *Client_Error_Call
- func (_e *Client_Expecter) ExtendVote(_a0 interface{}, _a1 interface{}) *Client_ExtendVote_Call
- func (_e *Client_Expecter) FinalizeBlock(_a0 interface{}, _a1 interface{}) *Client_FinalizeBlock_Call
- func (_e *Client_Expecter) Flush(_a0 interface{}) *Client_Flush_Call
- func (_e *Client_Expecter) Info(_a0 interface{}, _a1 interface{}) *Client_Info_Call
- func (_e *Client_Expecter) InitChain(_a0 interface{}, _a1 interface{}) *Client_InitChain_Call
- func (_e *Client_Expecter) IsRunning() *Client_IsRunning_Call
- func (_e *Client_Expecter) ListSnapshots(_a0 interface{}, _a1 interface{}) *Client_ListSnapshots_Call
- func (_e *Client_Expecter) LoadSnapshotChunk(_a0 interface{}, _a1 interface{}) *Client_LoadSnapshotChunk_Call
- func (_e *Client_Expecter) OfferSnapshot(_a0 interface{}, _a1 interface{}) *Client_OfferSnapshot_Call
- func (_e *Client_Expecter) PrepareProposal(_a0 interface{}, _a1 interface{}) *Client_PrepareProposal_Call
- func (_e *Client_Expecter) ProcessProposal(_a0 interface{}, _a1 interface{}) *Client_ProcessProposal_Call
- func (_e *Client_Expecter) Query(_a0 interface{}, _a1 interface{}) *Client_Query_Call
- func (_e *Client_Expecter) Start(_a0 interface{}) *Client_Start_Call
- func (_e *Client_Expecter) VerifyVoteExtension(_a0 interface{}, _a1 interface{}) *Client_VerifyVoteExtension_Call
- func (_e *Client_Expecter) Wait() *Client_Wait_Call
- type Client_ExtendVote_Call
- func (_c *Client_ExtendVote_Call) Return(_a0 *types.ResponseExtendVote, _a1 error) *Client_ExtendVote_Call
- func (_c *Client_ExtendVote_Call) Run(run func(_a0 context.Context, _a1 *types.RequestExtendVote)) *Client_ExtendVote_Call
- func (_c *Client_ExtendVote_Call) RunAndReturn(...) *Client_ExtendVote_Call
- type Client_FinalizeBlock_Call
- func (_c *Client_FinalizeBlock_Call) Return(_a0 *types.ResponseFinalizeBlock, _a1 error) *Client_FinalizeBlock_Call
- func (_c *Client_FinalizeBlock_Call) Run(run func(_a0 context.Context, _a1 *types.RequestFinalizeBlock)) *Client_FinalizeBlock_Call
- func (_c *Client_FinalizeBlock_Call) RunAndReturn(...) *Client_FinalizeBlock_Call
- type Client_Flush_Call
- type Client_Info_Call
- func (_c *Client_Info_Call) Return(_a0 *types.ResponseInfo, _a1 error) *Client_Info_Call
- func (_c *Client_Info_Call) Run(run func(_a0 context.Context, _a1 *types.RequestInfo)) *Client_Info_Call
- func (_c *Client_Info_Call) RunAndReturn(run func(context.Context, *types.RequestInfo) (*types.ResponseInfo, error)) *Client_Info_Call
- type Client_InitChain_Call
- type Client_IsRunning_Call
- type Client_ListSnapshots_Call
- func (_c *Client_ListSnapshots_Call) Return(_a0 *types.ResponseListSnapshots, _a1 error) *Client_ListSnapshots_Call
- func (_c *Client_ListSnapshots_Call) Run(run func(_a0 context.Context, _a1 *types.RequestListSnapshots)) *Client_ListSnapshots_Call
- func (_c *Client_ListSnapshots_Call) RunAndReturn(...) *Client_ListSnapshots_Call
- type Client_LoadSnapshotChunk_Call
- func (_c *Client_LoadSnapshotChunk_Call) Return(_a0 *types.ResponseLoadSnapshotChunk, _a1 error) *Client_LoadSnapshotChunk_Call
- func (_c *Client_LoadSnapshotChunk_Call) Run(run func(_a0 context.Context, _a1 *types.RequestLoadSnapshotChunk)) *Client_LoadSnapshotChunk_Call
- func (_c *Client_LoadSnapshotChunk_Call) RunAndReturn(...) *Client_LoadSnapshotChunk_Call
- type Client_OfferSnapshot_Call
- func (_c *Client_OfferSnapshot_Call) Return(_a0 *types.ResponseOfferSnapshot, _a1 error) *Client_OfferSnapshot_Call
- func (_c *Client_OfferSnapshot_Call) Run(run func(_a0 context.Context, _a1 *types.RequestOfferSnapshot)) *Client_OfferSnapshot_Call
- func (_c *Client_OfferSnapshot_Call) RunAndReturn(...) *Client_OfferSnapshot_Call
- type Client_PrepareProposal_Call
- func (_c *Client_PrepareProposal_Call) Return(_a0 *types.ResponsePrepareProposal, _a1 error) *Client_PrepareProposal_Call
- func (_c *Client_PrepareProposal_Call) Run(run func(_a0 context.Context, _a1 *types.RequestPrepareProposal)) *Client_PrepareProposal_Call
- func (_c *Client_PrepareProposal_Call) RunAndReturn(...) *Client_PrepareProposal_Call
- type Client_ProcessProposal_Call
- func (_c *Client_ProcessProposal_Call) Return(_a0 *types.ResponseProcessProposal, _a1 error) *Client_ProcessProposal_Call
- func (_c *Client_ProcessProposal_Call) Run(run func(_a0 context.Context, _a1 *types.RequestProcessProposal)) *Client_ProcessProposal_Call
- func (_c *Client_ProcessProposal_Call) RunAndReturn(...) *Client_ProcessProposal_Call
- type Client_Query_Call
- func (_c *Client_Query_Call) Return(_a0 *types.ResponseQuery, _a1 error) *Client_Query_Call
- func (_c *Client_Query_Call) Run(run func(_a0 context.Context, _a1 *types.RequestQuery)) *Client_Query_Call
- func (_c *Client_Query_Call) RunAndReturn(run func(context.Context, *types.RequestQuery) (*types.ResponseQuery, error)) *Client_Query_Call
- type Client_Start_Call
- type Client_VerifyVoteExtension_Call
- func (_c *Client_VerifyVoteExtension_Call) Return(_a0 *types.ResponseVerifyVoteExtension, _a1 error) *Client_VerifyVoteExtension_Call
- func (_c *Client_VerifyVoteExtension_Call) Run(run func(_a0 context.Context, _a1 *types.RequestVerifyVoteExtension)) *Client_VerifyVoteExtension_Call
- func (_c *Client_VerifyVoteExtension_Call) RunAndReturn(...) *Client_VerifyVoteExtension_Call
- type Client_Wait_Call
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) EXPECT ¶ added in v1.4.0
func (_m *Client) EXPECT() *Client_Expecter
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
type Client_ApplySnapshotChunk_Call ¶ added in v1.4.0
Client_ApplySnapshotChunk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplySnapshotChunk'
func (*Client_ApplySnapshotChunk_Call) Return ¶ added in v1.4.0
func (_c *Client_ApplySnapshotChunk_Call) Return(_a0 *types.ResponseApplySnapshotChunk, _a1 error) *Client_ApplySnapshotChunk_Call
func (*Client_ApplySnapshotChunk_Call) Run ¶ added in v1.4.0
func (_c *Client_ApplySnapshotChunk_Call) Run(run func(_a0 context.Context, _a1 *types.RequestApplySnapshotChunk)) *Client_ApplySnapshotChunk_Call
func (*Client_ApplySnapshotChunk_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_ApplySnapshotChunk_Call) RunAndReturn(run func(context.Context, *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)) *Client_ApplySnapshotChunk_Call
type Client_CheckTx_Call ¶ added in v1.4.0
Client_CheckTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckTx'
func (*Client_CheckTx_Call) Return ¶ added in v1.4.0
func (_c *Client_CheckTx_Call) Return(_a0 *types.ResponseCheckTx, _a1 error) *Client_CheckTx_Call
func (*Client_CheckTx_Call) Run ¶ added in v1.4.0
func (_c *Client_CheckTx_Call) Run(run func(_a0 context.Context, _a1 *types.RequestCheckTx)) *Client_CheckTx_Call
func (*Client_CheckTx_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_CheckTx_Call) RunAndReturn(run func(context.Context, *types.RequestCheckTx) (*types.ResponseCheckTx, error)) *Client_CheckTx_Call
type Client_Echo_Call ¶ added in v1.4.0
Client_Echo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Echo'
func (*Client_Echo_Call) Return ¶ added in v1.4.0
func (_c *Client_Echo_Call) Return(_a0 *types.ResponseEcho, _a1 error) *Client_Echo_Call
func (*Client_Echo_Call) Run ¶ added in v1.4.0
func (_c *Client_Echo_Call) Run(run func(_a0 context.Context, _a1 string)) *Client_Echo_Call
func (*Client_Echo_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Echo_Call) RunAndReturn(run func(context.Context, string) (*types.ResponseEcho, error)) *Client_Echo_Call
type Client_Error_Call ¶ added in v1.4.0
Client_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'
func (*Client_Error_Call) Return ¶ added in v1.4.0
func (_c *Client_Error_Call) Return(_a0 error) *Client_Error_Call
func (*Client_Error_Call) Run ¶ added in v1.4.0
func (_c *Client_Error_Call) Run(run func()) *Client_Error_Call
func (*Client_Error_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Error_Call) RunAndReturn(run func() error) *Client_Error_Call
type Client_Expecter ¶ added in v1.4.0
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) ApplySnapshotChunk ¶ added in v1.4.0
func (_e *Client_Expecter) ApplySnapshotChunk(_a0 interface{}, _a1 interface{}) *Client_ApplySnapshotChunk_Call
ApplySnapshotChunk is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestApplySnapshotChunk
func (*Client_Expecter) CheckTx ¶ added in v1.4.0
func (_e *Client_Expecter) CheckTx(_a0 interface{}, _a1 interface{}) *Client_CheckTx_Call
CheckTx is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestCheckTx
func (*Client_Expecter) Echo ¶ added in v1.4.0
func (_e *Client_Expecter) Echo(_a0 interface{}, _a1 interface{}) *Client_Echo_Call
Echo is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
func (*Client_Expecter) Error ¶ added in v1.4.0
func (_e *Client_Expecter) Error() *Client_Error_Call
Error is a helper method to define mock.On call
func (*Client_Expecter) ExtendVote ¶ added in v1.4.0
func (_e *Client_Expecter) ExtendVote(_a0 interface{}, _a1 interface{}) *Client_ExtendVote_Call
ExtendVote is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestExtendVote
func (*Client_Expecter) FinalizeBlock ¶ added in v1.4.0
func (_e *Client_Expecter) FinalizeBlock(_a0 interface{}, _a1 interface{}) *Client_FinalizeBlock_Call
FinalizeBlock is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestFinalizeBlock
func (*Client_Expecter) Flush ¶ added in v1.4.0
func (_e *Client_Expecter) Flush(_a0 interface{}) *Client_Flush_Call
Flush is a helper method to define mock.On call
- _a0 context.Context
func (*Client_Expecter) Info ¶ added in v1.4.0
func (_e *Client_Expecter) Info(_a0 interface{}, _a1 interface{}) *Client_Info_Call
Info is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestInfo
func (*Client_Expecter) InitChain ¶ added in v1.4.0
func (_e *Client_Expecter) InitChain(_a0 interface{}, _a1 interface{}) *Client_InitChain_Call
InitChain is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestInitChain
func (*Client_Expecter) IsRunning ¶ added in v1.4.0
func (_e *Client_Expecter) IsRunning() *Client_IsRunning_Call
IsRunning is a helper method to define mock.On call
func (*Client_Expecter) ListSnapshots ¶ added in v1.4.0
func (_e *Client_Expecter) ListSnapshots(_a0 interface{}, _a1 interface{}) *Client_ListSnapshots_Call
ListSnapshots is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestListSnapshots
func (*Client_Expecter) LoadSnapshotChunk ¶ added in v1.4.0
func (_e *Client_Expecter) LoadSnapshotChunk(_a0 interface{}, _a1 interface{}) *Client_LoadSnapshotChunk_Call
LoadSnapshotChunk is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestLoadSnapshotChunk
func (*Client_Expecter) OfferSnapshot ¶ added in v1.4.0
func (_e *Client_Expecter) OfferSnapshot(_a0 interface{}, _a1 interface{}) *Client_OfferSnapshot_Call
OfferSnapshot is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestOfferSnapshot
func (*Client_Expecter) PrepareProposal ¶ added in v1.4.0
func (_e *Client_Expecter) PrepareProposal(_a0 interface{}, _a1 interface{}) *Client_PrepareProposal_Call
PrepareProposal is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestPrepareProposal
func (*Client_Expecter) ProcessProposal ¶ added in v1.4.0
func (_e *Client_Expecter) ProcessProposal(_a0 interface{}, _a1 interface{}) *Client_ProcessProposal_Call
ProcessProposal is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestProcessProposal
func (*Client_Expecter) Query ¶ added in v1.4.0
func (_e *Client_Expecter) Query(_a0 interface{}, _a1 interface{}) *Client_Query_Call
Query is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestQuery
func (*Client_Expecter) Start ¶ added in v1.4.0
func (_e *Client_Expecter) Start(_a0 interface{}) *Client_Start_Call
Start is a helper method to define mock.On call
- _a0 context.Context
func (*Client_Expecter) VerifyVoteExtension ¶ added in v1.4.0
func (_e *Client_Expecter) VerifyVoteExtension(_a0 interface{}, _a1 interface{}) *Client_VerifyVoteExtension_Call
VerifyVoteExtension is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestVerifyVoteExtension
func (*Client_Expecter) Wait ¶ added in v1.4.0
func (_e *Client_Expecter) Wait() *Client_Wait_Call
Wait is a helper method to define mock.On call
type Client_ExtendVote_Call ¶ added in v1.4.0
Client_ExtendVote_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExtendVote'
func (*Client_ExtendVote_Call) Return ¶ added in v1.4.0
func (_c *Client_ExtendVote_Call) Return(_a0 *types.ResponseExtendVote, _a1 error) *Client_ExtendVote_Call
func (*Client_ExtendVote_Call) Run ¶ added in v1.4.0
func (_c *Client_ExtendVote_Call) Run(run func(_a0 context.Context, _a1 *types.RequestExtendVote)) *Client_ExtendVote_Call
func (*Client_ExtendVote_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_ExtendVote_Call) RunAndReturn(run func(context.Context, *types.RequestExtendVote) (*types.ResponseExtendVote, error)) *Client_ExtendVote_Call
type Client_FinalizeBlock_Call ¶ added in v1.4.0
Client_FinalizeBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinalizeBlock'
func (*Client_FinalizeBlock_Call) Return ¶ added in v1.4.0
func (_c *Client_FinalizeBlock_Call) Return(_a0 *types.ResponseFinalizeBlock, _a1 error) *Client_FinalizeBlock_Call
func (*Client_FinalizeBlock_Call) Run ¶ added in v1.4.0
func (_c *Client_FinalizeBlock_Call) Run(run func(_a0 context.Context, _a1 *types.RequestFinalizeBlock)) *Client_FinalizeBlock_Call
func (*Client_FinalizeBlock_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_FinalizeBlock_Call) RunAndReturn(run func(context.Context, *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)) *Client_FinalizeBlock_Call
type Client_Flush_Call ¶ added in v1.4.0
Client_Flush_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Flush'
func (*Client_Flush_Call) Return ¶ added in v1.4.0
func (_c *Client_Flush_Call) Return(_a0 error) *Client_Flush_Call
func (*Client_Flush_Call) Run ¶ added in v1.4.0
func (_c *Client_Flush_Call) Run(run func(_a0 context.Context)) *Client_Flush_Call
func (*Client_Flush_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Flush_Call) RunAndReturn(run func(context.Context) error) *Client_Flush_Call
type Client_Info_Call ¶ added in v1.4.0
Client_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'
func (*Client_Info_Call) Return ¶ added in v1.4.0
func (_c *Client_Info_Call) Return(_a0 *types.ResponseInfo, _a1 error) *Client_Info_Call
func (*Client_Info_Call) Run ¶ added in v1.4.0
func (_c *Client_Info_Call) Run(run func(_a0 context.Context, _a1 *types.RequestInfo)) *Client_Info_Call
func (*Client_Info_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Info_Call) RunAndReturn(run func(context.Context, *types.RequestInfo) (*types.ResponseInfo, error)) *Client_Info_Call
type Client_InitChain_Call ¶ added in v1.4.0
Client_InitChain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitChain'
func (*Client_InitChain_Call) Return ¶ added in v1.4.0
func (_c *Client_InitChain_Call) Return(_a0 *types.ResponseInitChain, _a1 error) *Client_InitChain_Call
func (*Client_InitChain_Call) Run ¶ added in v1.4.0
func (_c *Client_InitChain_Call) Run(run func(_a0 context.Context, _a1 *types.RequestInitChain)) *Client_InitChain_Call
func (*Client_InitChain_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_InitChain_Call) RunAndReturn(run func(context.Context, *types.RequestInitChain) (*types.ResponseInitChain, error)) *Client_InitChain_Call
type Client_IsRunning_Call ¶ added in v1.4.0
Client_IsRunning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsRunning'
func (*Client_IsRunning_Call) Return ¶ added in v1.4.0
func (_c *Client_IsRunning_Call) Return(_a0 bool) *Client_IsRunning_Call
func (*Client_IsRunning_Call) Run ¶ added in v1.4.0
func (_c *Client_IsRunning_Call) Run(run func()) *Client_IsRunning_Call
func (*Client_IsRunning_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_IsRunning_Call) RunAndReturn(run func() bool) *Client_IsRunning_Call
type Client_ListSnapshots_Call ¶ added in v1.4.0
Client_ListSnapshots_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSnapshots'
func (*Client_ListSnapshots_Call) Return ¶ added in v1.4.0
func (_c *Client_ListSnapshots_Call) Return(_a0 *types.ResponseListSnapshots, _a1 error) *Client_ListSnapshots_Call
func (*Client_ListSnapshots_Call) Run ¶ added in v1.4.0
func (_c *Client_ListSnapshots_Call) Run(run func(_a0 context.Context, _a1 *types.RequestListSnapshots)) *Client_ListSnapshots_Call
func (*Client_ListSnapshots_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_ListSnapshots_Call) RunAndReturn(run func(context.Context, *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)) *Client_ListSnapshots_Call
type Client_LoadSnapshotChunk_Call ¶ added in v1.4.0
Client_LoadSnapshotChunk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadSnapshotChunk'
func (*Client_LoadSnapshotChunk_Call) Return ¶ added in v1.4.0
func (_c *Client_LoadSnapshotChunk_Call) Return(_a0 *types.ResponseLoadSnapshotChunk, _a1 error) *Client_LoadSnapshotChunk_Call
func (*Client_LoadSnapshotChunk_Call) Run ¶ added in v1.4.0
func (_c *Client_LoadSnapshotChunk_Call) Run(run func(_a0 context.Context, _a1 *types.RequestLoadSnapshotChunk)) *Client_LoadSnapshotChunk_Call
func (*Client_LoadSnapshotChunk_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_LoadSnapshotChunk_Call) RunAndReturn(run func(context.Context, *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)) *Client_LoadSnapshotChunk_Call
type Client_OfferSnapshot_Call ¶ added in v1.4.0
Client_OfferSnapshot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OfferSnapshot'
func (*Client_OfferSnapshot_Call) Return ¶ added in v1.4.0
func (_c *Client_OfferSnapshot_Call) Return(_a0 *types.ResponseOfferSnapshot, _a1 error) *Client_OfferSnapshot_Call
func (*Client_OfferSnapshot_Call) Run ¶ added in v1.4.0
func (_c *Client_OfferSnapshot_Call) Run(run func(_a0 context.Context, _a1 *types.RequestOfferSnapshot)) *Client_OfferSnapshot_Call
func (*Client_OfferSnapshot_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_OfferSnapshot_Call) RunAndReturn(run func(context.Context, *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)) *Client_OfferSnapshot_Call
type Client_PrepareProposal_Call ¶ added in v1.4.0
Client_PrepareProposal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrepareProposal'
func (*Client_PrepareProposal_Call) Return ¶ added in v1.4.0
func (_c *Client_PrepareProposal_Call) Return(_a0 *types.ResponsePrepareProposal, _a1 error) *Client_PrepareProposal_Call
func (*Client_PrepareProposal_Call) Run ¶ added in v1.4.0
func (_c *Client_PrepareProposal_Call) Run(run func(_a0 context.Context, _a1 *types.RequestPrepareProposal)) *Client_PrepareProposal_Call
func (*Client_PrepareProposal_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_PrepareProposal_Call) RunAndReturn(run func(context.Context, *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)) *Client_PrepareProposal_Call
type Client_ProcessProposal_Call ¶ added in v1.4.0
Client_ProcessProposal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessProposal'
func (*Client_ProcessProposal_Call) Return ¶ added in v1.4.0
func (_c *Client_ProcessProposal_Call) Return(_a0 *types.ResponseProcessProposal, _a1 error) *Client_ProcessProposal_Call
func (*Client_ProcessProposal_Call) Run ¶ added in v1.4.0
func (_c *Client_ProcessProposal_Call) Run(run func(_a0 context.Context, _a1 *types.RequestProcessProposal)) *Client_ProcessProposal_Call
func (*Client_ProcessProposal_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_ProcessProposal_Call) RunAndReturn(run func(context.Context, *types.RequestProcessProposal) (*types.ResponseProcessProposal, error)) *Client_ProcessProposal_Call
type Client_Query_Call ¶ added in v1.4.0
Client_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'
func (*Client_Query_Call) Return ¶ added in v1.4.0
func (_c *Client_Query_Call) Return(_a0 *types.ResponseQuery, _a1 error) *Client_Query_Call
func (*Client_Query_Call) Run ¶ added in v1.4.0
func (_c *Client_Query_Call) Run(run func(_a0 context.Context, _a1 *types.RequestQuery)) *Client_Query_Call
func (*Client_Query_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Query_Call) RunAndReturn(run func(context.Context, *types.RequestQuery) (*types.ResponseQuery, error)) *Client_Query_Call
type Client_Start_Call ¶ added in v1.4.0
Client_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*Client_Start_Call) Return ¶ added in v1.4.0
func (_c *Client_Start_Call) Return(_a0 error) *Client_Start_Call
func (*Client_Start_Call) Run ¶ added in v1.4.0
func (_c *Client_Start_Call) Run(run func(_a0 context.Context)) *Client_Start_Call
func (*Client_Start_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Start_Call) RunAndReturn(run func(context.Context) error) *Client_Start_Call
type Client_VerifyVoteExtension_Call ¶ added in v1.4.0
Client_VerifyVoteExtension_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyVoteExtension'
func (*Client_VerifyVoteExtension_Call) Return ¶ added in v1.4.0
func (_c *Client_VerifyVoteExtension_Call) Return(_a0 *types.ResponseVerifyVoteExtension, _a1 error) *Client_VerifyVoteExtension_Call
func (*Client_VerifyVoteExtension_Call) Run ¶ added in v1.4.0
func (_c *Client_VerifyVoteExtension_Call) Run(run func(_a0 context.Context, _a1 *types.RequestVerifyVoteExtension)) *Client_VerifyVoteExtension_Call
func (*Client_VerifyVoteExtension_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_VerifyVoteExtension_Call) RunAndReturn(run func(context.Context, *types.RequestVerifyVoteExtension) (*types.ResponseVerifyVoteExtension, error)) *Client_VerifyVoteExtension_Call
type Client_Wait_Call ¶ added in v1.4.0
Client_Wait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Wait'
func (*Client_Wait_Call) Return ¶ added in v1.4.0
func (_c *Client_Wait_Call) Return() *Client_Wait_Call
func (*Client_Wait_Call) Run ¶ added in v1.4.0
func (_c *Client_Wait_Call) Run(run func()) *Client_Wait_Call
func (*Client_Wait_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Wait_Call) RunAndReturn(run func()) *Client_Wait_Call