Documentation ¶
Index ¶
- type Client
- func (_m *Client) ApplySnapshotChunk(ctx context.Context, req *v1.ApplySnapshotChunkRequest) (*v1.ApplySnapshotChunkResponse, error)
- func (_m *Client) CheckTx(ctx context.Context, req *v1.CheckTxRequest) (*v1.CheckTxResponse, error)
- func (_m *Client) CheckTxAsync(ctx context.Context, req *v1.CheckTxRequest) (*abcicli.ReqRes, error)
- func (_m *Client) Commit(ctx context.Context, req *v1.CommitRequest) (*v1.CommitResponse, error)
- func (_m *Client) Echo(ctx context.Context, echo string) (*v1.EchoResponse, error)
- func (_m *Client) Error() error
- func (_m *Client) ExtendVote(ctx context.Context, req *v1.ExtendVoteRequest) (*v1.ExtendVoteResponse, error)
- func (_m *Client) FinalizeBlock(ctx context.Context, req *v1.FinalizeBlockRequest) (*v1.FinalizeBlockResponse, error)
- func (_m *Client) Flush(ctx context.Context) error
- func (_m *Client) Info(ctx context.Context, req *v1.InfoRequest) (*v1.InfoResponse, error)
- func (_m *Client) InitChain(ctx context.Context, req *v1.InitChainRequest) (*v1.InitChainResponse, error)
- func (_m *Client) IsRunning() bool
- func (_m *Client) ListSnapshots(ctx context.Context, req *v1.ListSnapshotsRequest) (*v1.ListSnapshotsResponse, error)
- func (_m *Client) LoadSnapshotChunk(ctx context.Context, req *v1.LoadSnapshotChunkRequest) (*v1.LoadSnapshotChunkResponse, error)
- func (_m *Client) OfferSnapshot(ctx context.Context, req *v1.OfferSnapshotRequest) (*v1.OfferSnapshotResponse, error)
- func (_m *Client) OnReset() error
- func (_m *Client) OnStart() error
- func (_m *Client) OnStop()
- func (_m *Client) PrepareProposal(ctx context.Context, req *v1.PrepareProposalRequest) (*v1.PrepareProposalResponse, error)
- func (_m *Client) ProcessProposal(ctx context.Context, req *v1.ProcessProposalRequest) (*v1.ProcessProposalResponse, error)
- func (_m *Client) Query(ctx context.Context, req *v1.QueryRequest) (*v1.QueryResponse, error)
- func (_m *Client) Quit() <-chan struct{}
- func (_m *Client) Reset() error
- func (_m *Client) SetLogger(l log.Logger)
- func (_m *Client) SetResponseCallback(cb abcicli.Callback)
- func (_m *Client) Start() error
- func (_m *Client) Stop() error
- func (_m *Client) String() string
- func (_m *Client) 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 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 ¶ added in v0.38.0
func (_m *Client) ApplySnapshotChunk(ctx context.Context, req *v1.ApplySnapshotChunkRequest) (*v1.ApplySnapshotChunkResponse, error)
ApplySnapshotChunk provides a mock function with given fields: ctx, req
func (*Client) CheckTx ¶ added in v0.38.0
func (_m *Client) CheckTx(ctx context.Context, req *v1.CheckTxRequest) (*v1.CheckTxResponse, error)
CheckTx provides a mock function with given fields: ctx, req
func (*Client) CheckTxAsync ¶
func (_m *Client) CheckTxAsync(ctx context.Context, req *v1.CheckTxRequest) (*abcicli.ReqRes, error)
CheckTxAsync provides a mock function with given fields: ctx, req
func (*Client) Commit ¶ added in v0.38.0
func (_m *Client) Commit(ctx context.Context, req *v1.CommitRequest) (*v1.CommitResponse, error)
Commit provides a mock function with given fields: ctx, req
func (*Client) ExtendVote ¶ added in v0.38.0
func (_m *Client) ExtendVote(ctx context.Context, req *v1.ExtendVoteRequest) (*v1.ExtendVoteResponse, error)
ExtendVote provides a mock function with given fields: ctx, req
func (*Client) FinalizeBlock ¶ added in v0.38.0
func (_m *Client) FinalizeBlock(ctx context.Context, req *v1.FinalizeBlockRequest) (*v1.FinalizeBlockResponse, error)
FinalizeBlock provides a mock function with given fields: ctx, req
func (*Client) Info ¶ added in v0.38.0
func (_m *Client) Info(ctx context.Context, req *v1.InfoRequest) (*v1.InfoResponse, error)
Info provides a mock function with given fields: ctx, req
func (*Client) InitChain ¶ added in v0.38.0
func (_m *Client) InitChain(ctx context.Context, req *v1.InitChainRequest) (*v1.InitChainResponse, error)
InitChain provides a mock function with given fields: ctx, req
func (*Client) ListSnapshots ¶ added in v0.38.0
func (_m *Client) ListSnapshots(ctx context.Context, req *v1.ListSnapshotsRequest) (*v1.ListSnapshotsResponse, error)
ListSnapshots provides a mock function with given fields: ctx, req
func (*Client) LoadSnapshotChunk ¶ added in v0.38.0
func (_m *Client) LoadSnapshotChunk(ctx context.Context, req *v1.LoadSnapshotChunkRequest) (*v1.LoadSnapshotChunkResponse, error)
LoadSnapshotChunk provides a mock function with given fields: ctx, req
func (*Client) OfferSnapshot ¶ added in v0.38.0
func (_m *Client) OfferSnapshot(ctx context.Context, req *v1.OfferSnapshotRequest) (*v1.OfferSnapshotResponse, error)
OfferSnapshot provides a mock function with given fields: ctx, req
func (*Client) OnStop ¶
func (_m *Client) OnStop()
OnStop provides a mock function with given fields:
func (*Client) PrepareProposal ¶ added in v0.38.0
func (_m *Client) PrepareProposal(ctx context.Context, req *v1.PrepareProposalRequest) (*v1.PrepareProposalResponse, error)
PrepareProposal provides a mock function with given fields: ctx, req
func (*Client) ProcessProposal ¶ added in v0.38.0
func (_m *Client) ProcessProposal(ctx context.Context, req *v1.ProcessProposalRequest) (*v1.ProcessProposalResponse, error)
ProcessProposal provides a mock function with given fields: ctx, req
func (*Client) Query ¶ added in v0.38.0
func (_m *Client) Query(ctx context.Context, req *v1.QueryRequest) (*v1.QueryResponse, error)
Query provides a mock function with given fields: ctx, req
func (*Client) Quit ¶
func (_m *Client) Quit() <-chan struct{}
Quit provides a mock function with given fields:
func (*Client) SetResponseCallback ¶
SetResponseCallback provides a mock function with given fields: cb
func (*Client) VerifyVoteExtension ¶ added in v0.38.0
func (_m *Client) VerifyVoteExtension(ctx context.Context, req *v1.VerifyVoteExtensionRequest) (*v1.VerifyVoteExtensionResponse, error)
VerifyVoteExtension provides a mock function with given fields: ctx, req