mocks

package
v0.38.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

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

func NewClient(t mockConstructorTestingTNewClient) *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 added in v0.38.0

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

func (*Client) CheckTx added in v0.38.0

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) CheckTxAsync

func (_m *Client) CheckTxAsync(_a0 context.Context, _a1 *types.RequestCheckTx) (*abcicli.ReqRes, error)

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

func (*Client) Commit added in v0.38.0

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

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

func (*Client) Echo added in v0.38.0

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 added in v0.38.0

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

func (*Client) FinalizeBlock added in v0.38.0

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

func (*Client) Flush added in v0.38.0

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

Flush provides a mock function with given fields: _a0

func (*Client) Info added in v0.38.0

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 added in v0.38.0

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 added in v0.38.0

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

func (*Client) LoadSnapshotChunk added in v0.38.0

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

func (*Client) OfferSnapshot added in v0.38.0

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

func (*Client) OnReset

func (_m *Client) OnReset() error

OnReset provides a mock function with given fields:

func (*Client) OnStart

func (_m *Client) OnStart() error

OnStart provides a mock function with given fields:

func (*Client) OnStop

func (_m *Client) OnStop()

OnStop provides a mock function with given fields:

func (*Client) PrepareProposal added in v0.38.0

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

func (*Client) ProcessProposal added in v0.38.0

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

func (*Client) Query added in v0.38.0

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) Quit

func (_m *Client) Quit() <-chan struct{}

Quit provides a mock function with given fields:

func (*Client) Reset

func (_m *Client) Reset() error

Reset provides a mock function with given fields:

func (*Client) SetLogger

func (_m *Client) SetLogger(_a0 log.Logger)

SetLogger provides a mock function with given fields: _a0

func (*Client) SetResponseCallback

func (_m *Client) SetResponseCallback(_a0 abcicli.Callback)

SetResponseCallback provides a mock function with given fields: _a0

func (*Client) Start

func (_m *Client) Start() error

Start provides a mock function with given fields:

func (*Client) Stop

func (_m *Client) Stop() error

Stop provides a mock function with given fields:

func (*Client) String

func (_m *Client) String() string

String provides a mock function with given fields:

func (*Client) VerifyVoteExtension added in v0.38.0

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

Jump to

Keyboard shortcuts

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