Documentation ¶
Index ¶
- type Application
- func (_m *Application) ApplySnapshotChunk(ctx context.Context, req *v1.ApplySnapshotChunkRequest) (*v1.ApplySnapshotChunkResponse, error)
- func (_m *Application) CheckTx(ctx context.Context, req *v1.CheckTxRequest) (*v1.CheckTxResponse, error)
- func (_m *Application) Commit(ctx context.Context, req *v1.CommitRequest) (*v1.CommitResponse, error)
- func (_m *Application) ExtendVote(ctx context.Context, req *v1.ExtendVoteRequest) (*v1.ExtendVoteResponse, error)
- func (_m *Application) FinalizeBlock(ctx context.Context, req *v1.FinalizeBlockRequest) (*v1.FinalizeBlockResponse, error)
- func (_m *Application) Info(ctx context.Context, req *v1.InfoRequest) (*v1.InfoResponse, error)
- func (_m *Application) InitChain(ctx context.Context, req *v1.InitChainRequest) (*v1.InitChainResponse, error)
- func (_m *Application) ListSnapshots(ctx context.Context, req *v1.ListSnapshotsRequest) (*v1.ListSnapshotsResponse, error)
- func (_m *Application) LoadSnapshotChunk(ctx context.Context, req *v1.LoadSnapshotChunkRequest) (*v1.LoadSnapshotChunkResponse, error)
- func (_m *Application) OfferSnapshot(ctx context.Context, req *v1.OfferSnapshotRequest) (*v1.OfferSnapshotResponse, error)
- func (_m *Application) PrepareProposal(ctx context.Context, req *v1.PrepareProposalRequest) (*v1.PrepareProposalResponse, error)
- func (_m *Application) ProcessProposal(ctx context.Context, req *v1.ProcessProposalRequest) (*v1.ProcessProposalResponse, error)
- func (_m *Application) Query(ctx context.Context, req *v1.QueryRequest) (*v1.QueryResponse, error)
- func (_m *Application) VerifyVoteExtension(ctx context.Context, req *v1.VerifyVoteExtensionRequest) (*v1.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 *v1.ApplySnapshotChunkRequest) (*v1.ApplySnapshotChunkResponse, error)
ApplySnapshotChunk provides a mock function with given fields: ctx, req
func (*Application) CheckTx ¶
func (_m *Application) CheckTx(ctx context.Context, req *v1.CheckTxRequest) (*v1.CheckTxResponse, error)
CheckTx provides a mock function with given fields: ctx, req
func (*Application) Commit ¶
func (_m *Application) Commit(ctx context.Context, req *v1.CommitRequest) (*v1.CommitResponse, error)
Commit provides a mock function with given fields: ctx, req
func (*Application) ExtendVote ¶
func (_m *Application) ExtendVote(ctx context.Context, req *v1.ExtendVoteRequest) (*v1.ExtendVoteResponse, error)
ExtendVote provides a mock function with given fields: ctx, req
func (*Application) FinalizeBlock ¶
func (_m *Application) FinalizeBlock(ctx context.Context, req *v1.FinalizeBlockRequest) (*v1.FinalizeBlockResponse, error)
FinalizeBlock provides a mock function with given fields: ctx, req
func (*Application) Info ¶
func (_m *Application) Info(ctx context.Context, req *v1.InfoRequest) (*v1.InfoResponse, error)
Info provides a mock function with given fields: ctx, req
func (*Application) InitChain ¶
func (_m *Application) InitChain(ctx context.Context, req *v1.InitChainRequest) (*v1.InitChainResponse, error)
InitChain provides a mock function with given fields: ctx, req
func (*Application) ListSnapshots ¶
func (_m *Application) ListSnapshots(ctx context.Context, req *v1.ListSnapshotsRequest) (*v1.ListSnapshotsResponse, error)
ListSnapshots provides a mock function with given fields: ctx, req
func (*Application) LoadSnapshotChunk ¶
func (_m *Application) LoadSnapshotChunk(ctx context.Context, req *v1.LoadSnapshotChunkRequest) (*v1.LoadSnapshotChunkResponse, error)
LoadSnapshotChunk provides a mock function with given fields: ctx, req
func (*Application) OfferSnapshot ¶
func (_m *Application) OfferSnapshot(ctx context.Context, req *v1.OfferSnapshotRequest) (*v1.OfferSnapshotResponse, error)
OfferSnapshot provides a mock function with given fields: ctx, req
func (*Application) PrepareProposal ¶
func (_m *Application) PrepareProposal(ctx context.Context, req *v1.PrepareProposalRequest) (*v1.PrepareProposalResponse, error)
PrepareProposal provides a mock function with given fields: ctx, req
func (*Application) ProcessProposal ¶
func (_m *Application) ProcessProposal(ctx context.Context, req *v1.ProcessProposalRequest) (*v1.ProcessProposalResponse, error)
ProcessProposal provides a mock function with given fields: ctx, req
func (*Application) Query ¶
func (_m *Application) Query(ctx context.Context, req *v1.QueryRequest) (*v1.QueryResponse, error)
Query provides a mock function with given fields: ctx, req
func (*Application) VerifyVoteExtension ¶
func (_m *Application) VerifyVoteExtension(ctx context.Context, req *v1.VerifyVoteExtensionRequest) (*v1.VerifyVoteExtensionResponse, error)
VerifyVoteExtension provides a mock function with given fields: ctx, req