Documentation ¶
Index ¶
- type AppConnConsensus
- func (_m *AppConnConsensus) Commit(ctx context.Context) (*v1.CommitResponse, error)
- func (_m *AppConnConsensus) Error() error
- func (_m *AppConnConsensus) ExtendVote(ctx context.Context, req *v1.ExtendVoteRequest) (*v1.ExtendVoteResponse, error)
- func (_m *AppConnConsensus) FinalizeBlock(ctx context.Context, req *v1.FinalizeBlockRequest) (*v1.FinalizeBlockResponse, error)
- func (_m *AppConnConsensus) InitChain(ctx context.Context, req *v1.InitChainRequest) (*v1.InitChainResponse, error)
- func (_m *AppConnConsensus) PrepareProposal(ctx context.Context, req *v1.PrepareProposalRequest) (*v1.PrepareProposalResponse, error)
- func (_m *AppConnConsensus) ProcessProposal(ctx context.Context, req *v1.ProcessProposalRequest) (*v1.ProcessProposalResponse, error)
- func (_m *AppConnConsensus) VerifyVoteExtension(ctx context.Context, req *v1.VerifyVoteExtensionRequest) (*v1.VerifyVoteExtensionResponse, error)
- type AppConnMempool
- func (_m *AppConnMempool) CheckTx(ctx context.Context, req *v1.CheckTxRequest) (*v1.CheckTxResponse, error)
- func (_m *AppConnMempool) CheckTxAsync(ctx context.Context, req *v1.CheckTxRequest) (*abcicli.ReqRes, error)
- func (_m *AppConnMempool) Error() error
- func (_m *AppConnMempool) Flush(ctx context.Context) error
- func (_m *AppConnMempool) SetResponseCallback(cb abcicli.Callback)
- type AppConnQuery
- func (_m *AppConnQuery) Echo(ctx context.Context, echo string) (*v1.EchoResponse, error)
- func (_m *AppConnQuery) Error() error
- func (_m *AppConnQuery) Info(ctx context.Context, req *v1.InfoRequest) (*v1.InfoResponse, error)
- func (_m *AppConnQuery) Query(ctx context.Context, req *v1.QueryRequest) (*v1.QueryResponse, error)
- type AppConnSnapshot
- func (_m *AppConnSnapshot) ApplySnapshotChunk(ctx context.Context, req *v1.ApplySnapshotChunkRequest) (*v1.ApplySnapshotChunkResponse, error)
- func (_m *AppConnSnapshot) Error() error
- func (_m *AppConnSnapshot) ListSnapshots(ctx context.Context, req *v1.ListSnapshotsRequest) (*v1.ListSnapshotsResponse, error)
- func (_m *AppConnSnapshot) LoadSnapshotChunk(ctx context.Context, req *v1.LoadSnapshotChunkRequest) (*v1.LoadSnapshotChunkResponse, error)
- func (_m *AppConnSnapshot) OfferSnapshot(ctx context.Context, req *v1.OfferSnapshotRequest) (*v1.OfferSnapshotResponse, 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 interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
func (*AppConnConsensus) Commit ¶ added in v0.38.0
func (_m *AppConnConsensus) Commit(ctx context.Context) (*v1.CommitResponse, error)
Commit provides a mock function with given fields: ctx
func (*AppConnConsensus) Error ¶
func (_m *AppConnConsensus) Error() error
Error provides a mock function with no fields
func (*AppConnConsensus) ExtendVote ¶ added in v0.38.0
func (_m *AppConnConsensus) ExtendVote(ctx context.Context, req *v1.ExtendVoteRequest) (*v1.ExtendVoteResponse, error)
ExtendVote provides a mock function with given fields: ctx, req
func (*AppConnConsensus) FinalizeBlock ¶ added in v0.38.0
func (_m *AppConnConsensus) FinalizeBlock(ctx context.Context, req *v1.FinalizeBlockRequest) (*v1.FinalizeBlockResponse, error)
FinalizeBlock provides a mock function with given fields: ctx, req
func (*AppConnConsensus) InitChain ¶ added in v0.38.0
func (_m *AppConnConsensus) InitChain(ctx context.Context, req *v1.InitChainRequest) (*v1.InitChainResponse, error)
InitChain provides a mock function with given fields: ctx, req
func (*AppConnConsensus) PrepareProposal ¶ added in v0.38.0
func (_m *AppConnConsensus) PrepareProposal(ctx context.Context, req *v1.PrepareProposalRequest) (*v1.PrepareProposalResponse, error)
PrepareProposal provides a mock function with given fields: ctx, req
func (*AppConnConsensus) ProcessProposal ¶ added in v0.38.0
func (_m *AppConnConsensus) ProcessProposal(ctx context.Context, req *v1.ProcessProposalRequest) (*v1.ProcessProposalResponse, error)
ProcessProposal provides a mock function with given fields: ctx, req
func (*AppConnConsensus) VerifyVoteExtension ¶ added in v0.38.0
func (_m *AppConnConsensus) VerifyVoteExtension(ctx context.Context, req *v1.VerifyVoteExtensionRequest) (*v1.VerifyVoteExtensionResponse, error)
VerifyVoteExtension provides a mock function with given fields: ctx, req
type AppConnMempool ¶
AppConnMempool is an autogenerated mock type for the AppConnMempool type
func NewAppConnMempool ¶
func NewAppConnMempool(t interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
func (*AppConnMempool) CheckTx ¶ added in v0.38.0
func (_m *AppConnMempool) CheckTx(ctx context.Context, req *v1.CheckTxRequest) (*v1.CheckTxResponse, error)
CheckTx provides a mock function with given fields: ctx, req
func (*AppConnMempool) CheckTxAsync ¶
func (_m *AppConnMempool) CheckTxAsync(ctx context.Context, req *v1.CheckTxRequest) (*abcicli.ReqRes, error)
CheckTxAsync provides a mock function with given fields: ctx, req
func (*AppConnMempool) Error ¶
func (_m *AppConnMempool) Error() error
Error provides a mock function with no fields
func (*AppConnMempool) Flush ¶ added in v0.38.0
func (_m *AppConnMempool) Flush(ctx context.Context) error
Flush provides a mock function with given fields: ctx
func (*AppConnMempool) SetResponseCallback ¶
func (_m *AppConnMempool) SetResponseCallback(cb abcicli.Callback)
SetResponseCallback provides a mock function with given fields: cb
type AppConnQuery ¶
AppConnQuery is an autogenerated mock type for the AppConnQuery type
func NewAppConnQuery ¶
func NewAppConnQuery(t interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
func (*AppConnQuery) Echo ¶ added in v0.38.0
func (_m *AppConnQuery) Echo(ctx context.Context, echo string) (*v1.EchoResponse, error)
Echo provides a mock function with given fields: ctx, echo
func (*AppConnQuery) Error ¶
func (_m *AppConnQuery) Error() error
Error provides a mock function with no fields
func (*AppConnQuery) Info ¶ added in v0.38.0
func (_m *AppConnQuery) Info(ctx context.Context, req *v1.InfoRequest) (*v1.InfoResponse, error)
Info provides a mock function with given fields: ctx, req
func (*AppConnQuery) Query ¶ added in v0.38.0
func (_m *AppConnQuery) Query(ctx context.Context, req *v1.QueryRequest) (*v1.QueryResponse, error)
Query provides a mock function with given fields: ctx, req
type AppConnSnapshot ¶
AppConnSnapshot is an autogenerated mock type for the AppConnSnapshot type
func NewAppConnSnapshot ¶
func NewAppConnSnapshot(t interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
func (*AppConnSnapshot) ApplySnapshotChunk ¶ added in v0.38.0
func (_m *AppConnSnapshot) ApplySnapshotChunk(ctx context.Context, req *v1.ApplySnapshotChunkRequest) (*v1.ApplySnapshotChunkResponse, error)
ApplySnapshotChunk provides a mock function with given fields: ctx, req
func (*AppConnSnapshot) Error ¶
func (_m *AppConnSnapshot) Error() error
Error provides a mock function with no fields
func (*AppConnSnapshot) ListSnapshots ¶ added in v0.38.0
func (_m *AppConnSnapshot) ListSnapshots(ctx context.Context, req *v1.ListSnapshotsRequest) (*v1.ListSnapshotsResponse, error)
ListSnapshots provides a mock function with given fields: ctx, req
func (*AppConnSnapshot) LoadSnapshotChunk ¶ added in v0.38.0
func (_m *AppConnSnapshot) LoadSnapshotChunk(ctx context.Context, req *v1.LoadSnapshotChunkRequest) (*v1.LoadSnapshotChunkResponse, error)
LoadSnapshotChunk provides a mock function with given fields: ctx, req
func (*AppConnSnapshot) OfferSnapshot ¶ added in v0.38.0
func (_m *AppConnSnapshot) OfferSnapshot(ctx context.Context, req *v1.OfferSnapshotRequest) (*v1.OfferSnapshotResponse, error)
OfferSnapshot provides a mock function with given fields: ctx, req
type ClientCreator ¶
ClientCreator is an autogenerated mock type for the ClientCreator type
func NewClientCreator ¶
func NewClientCreator(t interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
func (*ClientCreator) NewABCIConsensusClient ¶ added in v1.0.0
func (_m *ClientCreator) NewABCIConsensusClient() (abcicli.Client, error)
NewABCIConsensusClient provides a mock function with no fields
func (*ClientCreator) NewABCIMempoolClient ¶ added in v1.0.0
func (_m *ClientCreator) NewABCIMempoolClient() (abcicli.Client, error)
NewABCIMempoolClient provides a mock function with no fields
func (*ClientCreator) NewABCIQueryClient ¶ added in v1.0.0
func (_m *ClientCreator) NewABCIQueryClient() (abcicli.Client, error)
NewABCIQueryClient provides a mock function with no fields
func (*ClientCreator) NewABCISnapshotClient ¶ added in v1.0.0
func (_m *ClientCreator) NewABCISnapshotClient() (abcicli.Client, error)
NewABCISnapshotClient provides a mock function with no fields