mocks

package
v0.37.0-dev Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient added in v0.35.8

func NewClient(t NewClientT) *Client

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.

func (*Client) ApplySnapshotChunk

ApplySnapshotChunk provides a mock function with given fields: _a0, _a1

func (*Client) CheckTx

func (_m *Client) CheckTx(_a0 context.Context, _a1 *types.RequestCheckTx) (*types.ResponseCheckTx, error)

CheckTx provides a mock function with given fields: _a0, _a1

func (*Client) Commit

func (_m *Client) Commit(_a0 context.Context) (*types.ResponseCommit, error)

Commit provides a mock function with given fields: _a0

func (*Client) Echo

func (_m *Client) Echo(_a0 context.Context, _a1 string) (*types.ResponseEcho, error)

Echo provides a mock function with given fields: _a0, _a1

func (*Client) Error

func (_m *Client) Error() error

Error provides a mock function with given fields:

func (*Client) ExtendVote

ExtendVote provides a mock function with given fields: _a0, _a1

func (*Client) FinalizeBlock

FinalizeBlock provides a mock function with given fields: _a0, _a1

func (*Client) Flush

func (_m *Client) Flush(_a0 context.Context) error

Flush provides a mock function with given fields: _a0

func (*Client) Info

func (_m *Client) Info(_a0 context.Context, _a1 *types.RequestInfo) (*types.ResponseInfo, error)

Info provides a mock function with given fields: _a0, _a1

func (*Client) InitChain

InitChain provides a mock function with given fields: _a0, _a1

func (*Client) IsRunning

func (_m *Client) IsRunning() bool

IsRunning provides a mock function with given fields:

func (*Client) ListSnapshots

ListSnapshots provides a mock function with given fields: _a0, _a1

func (*Client) LoadSnapshotChunk

LoadSnapshotChunk provides a mock function with given fields: _a0, _a1

func (*Client) OfferSnapshot

OfferSnapshot provides a mock function with given fields: _a0, _a1

func (*Client) PrepareProposal

PrepareProposal provides a mock function with given fields: _a0, _a1

func (*Client) ProcessProposal

ProcessProposal provides a mock function with given fields: _a0, _a1

func (*Client) Query

func (_m *Client) Query(_a0 context.Context, _a1 *types.RequestQuery) (*types.ResponseQuery, error)

Query provides a mock function with given fields: _a0, _a1

func (*Client) Start

func (_m *Client) Start(_a0 context.Context) error

Start provides a mock function with given fields: _a0

func (*Client) VerifyVoteExtension

VerifyVoteExtension provides a mock function with given fields: _a0, _a1

func (*Client) Wait added in v0.35.0

func (_m *Client) Wait()

Wait provides a mock function with given fields:

type NewClientT

type NewClientT interface {
	mock.TestingT
	Cleanup(func())
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL