Documentation ¶
Index ¶
- type Application
- func (_m *Application) ApplySnapshotChunk(ctx context.Context, req *types.ApplySnapshotChunkRequest) (*types.ApplySnapshotChunkResponse, error)
- func (_m *Application) CheckTx(ctx context.Context, req *types.CheckTxRequest) (*types.CheckTxResponse, error)
- func (_m *Application) Commit(ctx context.Context, req *types.CommitRequest) (*types.CommitResponse, error)
- func (_m *Application) ExtendVote(ctx context.Context, req *types.ExtendVoteRequest) (*types.ExtendVoteResponse, error)
- func (_m *Application) FinalizeBlock(ctx context.Context, req *types.FinalizeBlockRequest) (*types.FinalizeBlockResponse, error)
- func (_m *Application) Info(ctx context.Context, req *types.InfoRequest) (*types.InfoResponse, error)
- func (_m *Application) InitChain(ctx context.Context, req *types.InitChainRequest) (*types.InitChainResponse, error)
- func (_m *Application) ListSnapshots(ctx context.Context, req *types.ListSnapshotsRequest) (*types.ListSnapshotsResponse, error)
- func (_m *Application) LoadSnapshotChunk(ctx context.Context, req *types.LoadSnapshotChunkRequest) (*types.LoadSnapshotChunkResponse, error)
- func (_m *Application) OfferSnapshot(ctx context.Context, req *types.OfferSnapshotRequest) (*types.OfferSnapshotResponse, error)
- func (_m *Application) PrepareProposal(ctx context.Context, req *types.PrepareProposalRequest) (*types.PrepareProposalResponse, error)
- func (_m *Application) ProcessProposal(ctx context.Context, req *types.ProcessProposalRequest) (*types.ProcessProposalResponse, error)
- func (_m *Application) Query(ctx context.Context, req *types.QueryRequest) (*types.QueryResponse, error)
- func (_m *Application) VerifyVoteExtension(ctx context.Context, req *types.VerifyVoteExtensionRequest) (*types.VerifyVoteExtensionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
Application is an autogenerated mock type for the Application type
func NewApplication ¶
func NewApplication(t interface { mock.TestingT Cleanup(func()) }) *Application
NewApplication creates a new instance of Application. 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 (*Application) ApplySnapshotChunk ¶
func (_m *Application) ApplySnapshotChunk(ctx context.Context, req *types.ApplySnapshotChunkRequest) (*types.ApplySnapshotChunkResponse, error)
ApplySnapshotChunk provides a mock function with given fields: ctx, req
func (*Application) CheckTx ¶
func (_m *Application) CheckTx(ctx context.Context, req *types.CheckTxRequest) (*types.CheckTxResponse, error)
CheckTx provides a mock function with given fields: ctx, req
func (*Application) Commit ¶
func (_m *Application) Commit(ctx context.Context, req *types.CommitRequest) (*types.CommitResponse, error)
Commit provides a mock function with given fields: ctx, req
func (*Application) ExtendVote ¶ added in v0.38.0
func (_m *Application) ExtendVote(ctx context.Context, req *types.ExtendVoteRequest) (*types.ExtendVoteResponse, error)
ExtendVote provides a mock function with given fields: ctx, req
func (*Application) FinalizeBlock ¶ added in v0.38.0
func (_m *Application) FinalizeBlock(ctx context.Context, req *types.FinalizeBlockRequest) (*types.FinalizeBlockResponse, error)
FinalizeBlock provides a mock function with given fields: ctx, req
func (*Application) Info ¶
func (_m *Application) Info(ctx context.Context, req *types.InfoRequest) (*types.InfoResponse, error)
Info provides a mock function with given fields: ctx, req
func (*Application) InitChain ¶
func (_m *Application) InitChain(ctx context.Context, req *types.InitChainRequest) (*types.InitChainResponse, error)
InitChain provides a mock function with given fields: ctx, req
func (*Application) ListSnapshots ¶
func (_m *Application) ListSnapshots(ctx context.Context, req *types.ListSnapshotsRequest) (*types.ListSnapshotsResponse, error)
ListSnapshots provides a mock function with given fields: ctx, req
func (*Application) LoadSnapshotChunk ¶
func (_m *Application) LoadSnapshotChunk(ctx context.Context, req *types.LoadSnapshotChunkRequest) (*types.LoadSnapshotChunkResponse, error)
LoadSnapshotChunk provides a mock function with given fields: ctx, req
func (*Application) OfferSnapshot ¶
func (_m *Application) OfferSnapshot(ctx context.Context, req *types.OfferSnapshotRequest) (*types.OfferSnapshotResponse, error)
OfferSnapshot provides a mock function with given fields: ctx, req
func (*Application) PrepareProposal ¶
func (_m *Application) PrepareProposal(ctx context.Context, req *types.PrepareProposalRequest) (*types.PrepareProposalResponse, error)
PrepareProposal provides a mock function with given fields: ctx, req
func (*Application) ProcessProposal ¶
func (_m *Application) ProcessProposal(ctx context.Context, req *types.ProcessProposalRequest) (*types.ProcessProposalResponse, error)
ProcessProposal provides a mock function with given fields: ctx, req
func (*Application) Query ¶
func (_m *Application) Query(ctx context.Context, req *types.QueryRequest) (*types.QueryResponse, error)
Query provides a mock function with given fields: ctx, req
func (*Application) VerifyVoteExtension ¶ added in v0.38.0
func (_m *Application) VerifyVoteExtension(ctx context.Context, req *types.VerifyVoteExtensionRequest) (*types.VerifyVoteExtensionResponse, error)
VerifyVoteExtension provides a mock function with given fields: ctx, req