Documentation ¶
Index ¶
- type AppConnConsensus
- func (_m *AppConnConsensus) Commit(_a0 context.Context) (*types.ResponseCommit, error)
- func (_m *AppConnConsensus) Error() error
- func (_m *AppConnConsensus) ExtendVote(_a0 context.Context, _a1 *types.RequestExtendVote) (*types.ResponseExtendVote, error)
- func (_m *AppConnConsensus) FinalizeBlock(_a0 context.Context, _a1 *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)
- func (_m *AppConnConsensus) InitChain(_a0 context.Context, _a1 *types.RequestInitChain) (*types.ResponseInitChain, error)
- func (_m *AppConnConsensus) PrepareProposal(_a0 context.Context, _a1 *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)
- func (_m *AppConnConsensus) ProcessProposal(_a0 context.Context, _a1 *types.RequestProcessProposal) (*types.ResponseProcessProposal, error)
- func (_m *AppConnConsensus) VerifyVoteExtension(_a0 context.Context, _a1 *types.RequestVerifyVoteExtension) (*types.ResponseVerifyVoteExtension, error)
- type AppConnMempool
- func (_m *AppConnMempool) CheckTx(_a0 context.Context, _a1 *types.RequestCheckTx) (*types.ResponseCheckTx, error)
- func (_m *AppConnMempool) CheckTxAsync(_a0 context.Context, _a1 *types.RequestCheckTx) (*abcicli.ReqRes, error)
- func (_m *AppConnMempool) Error() error
- func (_m *AppConnMempool) Flush(_a0 context.Context) error
- func (_m *AppConnMempool) SetResponseCallback(_a0 abcicli.Callback)
- type AppConnQuery
- func (_m *AppConnQuery) Echo(_a0 context.Context, _a1 string) (*types.ResponseEcho, error)
- func (_m *AppConnQuery) Error() error
- func (_m *AppConnQuery) Info(_a0 context.Context, _a1 *types.RequestInfo) (*types.ResponseInfo, error)
- func (_m *AppConnQuery) Query(_a0 context.Context, _a1 *types.RequestQuery) (*types.ResponseQuery, error)
- type AppConnSnapshot
- func (_m *AppConnSnapshot) ApplySnapshotChunk(_a0 context.Context, _a1 *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
- func (_m *AppConnSnapshot) Error() error
- func (_m *AppConnSnapshot) ListSnapshots(_a0 context.Context, _a1 *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
- func (_m *AppConnSnapshot) LoadSnapshotChunk(_a0 context.Context, _a1 *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
- func (_m *AppConnSnapshot) OfferSnapshot(_a0 context.Context, _a1 *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
- type ClientCreator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConnConsensus ¶
AppConnConsensus is an autogenerated mock type for the AppConnConsensus type
func NewAppConnConsensus ¶
func NewAppConnConsensus(t mockConstructorTestingTNewAppConnConsensus) *AppConnConsensus
NewAppConnConsensus creates a new instance of AppConnConsensus. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AppConnConsensus) Commit ¶ added in v0.38.0
func (_m *AppConnConsensus) Commit(_a0 context.Context) (*types.ResponseCommit, error)
Commit provides a mock function with given fields: _a0
func (*AppConnConsensus) Error ¶
func (_m *AppConnConsensus) Error() error
Error provides a mock function with given fields:
func (*AppConnConsensus) ExtendVote ¶ added in v0.38.0
func (_m *AppConnConsensus) ExtendVote(_a0 context.Context, _a1 *types.RequestExtendVote) (*types.ResponseExtendVote, error)
ExtendVote provides a mock function with given fields: _a0, _a1
func (*AppConnConsensus) FinalizeBlock ¶ added in v0.38.0
func (_m *AppConnConsensus) FinalizeBlock(_a0 context.Context, _a1 *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)
FinalizeBlock provides a mock function with given fields: _a0, _a1
func (*AppConnConsensus) InitChain ¶ added in v0.38.0
func (_m *AppConnConsensus) InitChain(_a0 context.Context, _a1 *types.RequestInitChain) (*types.ResponseInitChain, error)
InitChain provides a mock function with given fields: _a0, _a1
func (*AppConnConsensus) PrepareProposal ¶ added in v0.38.0
func (_m *AppConnConsensus) PrepareProposal(_a0 context.Context, _a1 *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)
PrepareProposal provides a mock function with given fields: _a0, _a1
func (*AppConnConsensus) ProcessProposal ¶ added in v0.38.0
func (_m *AppConnConsensus) ProcessProposal(_a0 context.Context, _a1 *types.RequestProcessProposal) (*types.ResponseProcessProposal, error)
ProcessProposal provides a mock function with given fields: _a0, _a1
func (*AppConnConsensus) VerifyVoteExtension ¶ added in v0.38.0
func (_m *AppConnConsensus) VerifyVoteExtension(_a0 context.Context, _a1 *types.RequestVerifyVoteExtension) (*types.ResponseVerifyVoteExtension, error)
VerifyVoteExtension provides a mock function with given fields: _a0, _a1
type AppConnMempool ¶
AppConnMempool is an autogenerated mock type for the AppConnMempool type
func NewAppConnMempool ¶
func NewAppConnMempool(t mockConstructorTestingTNewAppConnMempool) *AppConnMempool
NewAppConnMempool creates a new instance of AppConnMempool. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AppConnMempool) CheckTx ¶ added in v0.38.0
func (_m *AppConnMempool) CheckTx(_a0 context.Context, _a1 *types.RequestCheckTx) (*types.ResponseCheckTx, error)
CheckTx provides a mock function with given fields: _a0, _a1
func (*AppConnMempool) CheckTxAsync ¶
func (_m *AppConnMempool) CheckTxAsync(_a0 context.Context, _a1 *types.RequestCheckTx) (*abcicli.ReqRes, error)
CheckTxAsync provides a mock function with given fields: _a0, _a1
func (*AppConnMempool) Error ¶
func (_m *AppConnMempool) Error() error
Error provides a mock function with given fields:
func (*AppConnMempool) Flush ¶ added in v0.38.0
func (_m *AppConnMempool) Flush(_a0 context.Context) error
Flush provides a mock function with given fields: _a0
func (*AppConnMempool) SetResponseCallback ¶
func (_m *AppConnMempool) SetResponseCallback(_a0 abcicli.Callback)
SetResponseCallback provides a mock function with given fields: _a0
type AppConnQuery ¶
AppConnQuery is an autogenerated mock type for the AppConnQuery type
func NewAppConnQuery ¶
func NewAppConnQuery(t mockConstructorTestingTNewAppConnQuery) *AppConnQuery
NewAppConnQuery creates a new instance of AppConnQuery. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AppConnQuery) Echo ¶ added in v0.38.0
func (_m *AppConnQuery) Echo(_a0 context.Context, _a1 string) (*types.ResponseEcho, error)
Echo provides a mock function with given fields: _a0, _a1
func (*AppConnQuery) Error ¶
func (_m *AppConnQuery) Error() error
Error provides a mock function with given fields:
func (*AppConnQuery) Info ¶ added in v0.38.0
func (_m *AppConnQuery) Info(_a0 context.Context, _a1 *types.RequestInfo) (*types.ResponseInfo, error)
Info provides a mock function with given fields: _a0, _a1
func (*AppConnQuery) Query ¶ added in v0.38.0
func (_m *AppConnQuery) Query(_a0 context.Context, _a1 *types.RequestQuery) (*types.ResponseQuery, error)
Query provides a mock function with given fields: _a0, _a1
type AppConnSnapshot ¶
AppConnSnapshot is an autogenerated mock type for the AppConnSnapshot type
func NewAppConnSnapshot ¶
func NewAppConnSnapshot(t mockConstructorTestingTNewAppConnSnapshot) *AppConnSnapshot
NewAppConnSnapshot creates a new instance of AppConnSnapshot. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AppConnSnapshot) ApplySnapshotChunk ¶ added in v0.38.0
func (_m *AppConnSnapshot) ApplySnapshotChunk(_a0 context.Context, _a1 *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
ApplySnapshotChunk provides a mock function with given fields: _a0, _a1
func (*AppConnSnapshot) Error ¶
func (_m *AppConnSnapshot) Error() error
Error provides a mock function with given fields:
func (*AppConnSnapshot) ListSnapshots ¶ added in v0.38.0
func (_m *AppConnSnapshot) ListSnapshots(_a0 context.Context, _a1 *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
ListSnapshots provides a mock function with given fields: _a0, _a1
func (*AppConnSnapshot) LoadSnapshotChunk ¶ added in v0.38.0
func (_m *AppConnSnapshot) LoadSnapshotChunk(_a0 context.Context, _a1 *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
LoadSnapshotChunk provides a mock function with given fields: _a0, _a1
func (*AppConnSnapshot) OfferSnapshot ¶ added in v0.38.0
func (_m *AppConnSnapshot) OfferSnapshot(_a0 context.Context, _a1 *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
OfferSnapshot provides a mock function with given fields: _a0, _a1
type ClientCreator ¶
ClientCreator is an autogenerated mock type for the ClientCreator type
func NewClientCreator ¶
func NewClientCreator(t mockConstructorTestingTNewClientCreator) *ClientCreator
NewClientCreator creates a new instance of ClientCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ClientCreator) NewABCIClient ¶
func (_m *ClientCreator) NewABCIClient() (abcicli.Client, error)
NewABCIClient provides a mock function with given fields: