mocks

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 4 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 (*Client) ApplySnapshotChunkAsync

func (_m *Client) ApplySnapshotChunkAsync(_a0 types.RequestApplySnapshotChunk) *abcicli.ReqRes

ApplySnapshotChunkAsync provides a mock function with given fields: _a0

func (*Client) ApplySnapshotChunkSync

func (_m *Client) ApplySnapshotChunkSync(_a0 types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)

ApplySnapshotChunkSync provides a mock function with given fields: _a0

func (*Client) BeginBlockAsync

func (_m *Client) BeginBlockAsync(_a0 types.RequestBeginBlock) *abcicli.ReqRes

BeginBlockAsync provides a mock function with given fields: _a0

func (*Client) BeginBlockSync

func (_m *Client) BeginBlockSync(_a0 types.RequestBeginBlock) (*types.ResponseBeginBlock, error)

BeginBlockSync provides a mock function with given fields: _a0

func (*Client) CheckTxAsync

func (_m *Client) CheckTxAsync(_a0 types.RequestCheckTx) *abcicli.ReqRes

CheckTxAsync provides a mock function with given fields: _a0

func (*Client) CheckTxSync

func (_m *Client) CheckTxSync(_a0 types.RequestCheckTx) (*types.ResponseCheckTx, error)

CheckTxSync provides a mock function with given fields: _a0

func (*Client) CommitAsync

func (_m *Client) CommitAsync() *abcicli.ReqRes

CommitAsync provides a mock function with given fields:

func (*Client) CommitSync

func (_m *Client) CommitSync() (*types.ResponseCommit, error)

CommitSync provides a mock function with given fields:

func (*Client) DeliverTxAsync

func (_m *Client) DeliverTxAsync(_a0 types.RequestDeliverTx) *abcicli.ReqRes

DeliverTxAsync provides a mock function with given fields: _a0

func (*Client) DeliverTxSync

func (_m *Client) DeliverTxSync(_a0 types.RequestDeliverTx) (*types.ResponseDeliverTx, error)

DeliverTxSync provides a mock function with given fields: _a0

func (*Client) EchoAsync

func (_m *Client) EchoAsync(msg string) *abcicli.ReqRes

EchoAsync provides a mock function with given fields: msg

func (*Client) EchoSync

func (_m *Client) EchoSync(msg string) (*types.ResponseEcho, error)

EchoSync provides a mock function with given fields: msg

func (*Client) EndBlockAsync

func (_m *Client) EndBlockAsync(_a0 types.RequestEndBlock) *abcicli.ReqRes

EndBlockAsync provides a mock function with given fields: _a0

func (*Client) EndBlockSync

func (_m *Client) EndBlockSync(_a0 types.RequestEndBlock) (*types.ResponseEndBlock, error)

EndBlockSync provides a mock function with given fields: _a0

func (*Client) Error

func (_m *Client) Error() error

Error provides a mock function with given fields:

func (*Client) FlushAsync

func (_m *Client) FlushAsync() *abcicli.ReqRes

FlushAsync provides a mock function with given fields:

func (*Client) FlushSync

func (_m *Client) FlushSync() error

FlushSync provides a mock function with given fields:

func (*Client) InfoAsync

func (_m *Client) InfoAsync(_a0 types.RequestInfo) *abcicli.ReqRes

InfoAsync provides a mock function with given fields: _a0

func (*Client) InfoSync

func (_m *Client) InfoSync(_a0 types.RequestInfo) (*types.ResponseInfo, error)

InfoSync provides a mock function with given fields: _a0

func (*Client) InitChainAsync

func (_m *Client) InitChainAsync(_a0 types.RequestInitChain) *abcicli.ReqRes

InitChainAsync provides a mock function with given fields: _a0

func (*Client) InitChainSync

func (_m *Client) InitChainSync(_a0 types.RequestInitChain) (*types.ResponseInitChain, error)

InitChainSync provides a mock function with given fields: _a0

func (*Client) IsRunning

func (_m *Client) IsRunning() bool

IsRunning provides a mock function with given fields:

func (*Client) ListSnapshotsAsync

func (_m *Client) ListSnapshotsAsync(_a0 types.RequestListSnapshots) *abcicli.ReqRes

ListSnapshotsAsync provides a mock function with given fields: _a0

func (*Client) ListSnapshotsSync

func (_m *Client) ListSnapshotsSync(_a0 types.RequestListSnapshots) (*types.ResponseListSnapshots, error)

ListSnapshotsSync provides a mock function with given fields: _a0

func (*Client) LoadSnapshotChunkAsync

func (_m *Client) LoadSnapshotChunkAsync(_a0 types.RequestLoadSnapshotChunk) *abcicli.ReqRes

LoadSnapshotChunkAsync provides a mock function with given fields: _a0

func (*Client) LoadSnapshotChunkSync

func (_m *Client) LoadSnapshotChunkSync(_a0 types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)

LoadSnapshotChunkSync provides a mock function with given fields: _a0

func (*Client) OfferSnapshotAsync

func (_m *Client) OfferSnapshotAsync(_a0 types.RequestOfferSnapshot) *abcicli.ReqRes

OfferSnapshotAsync provides a mock function with given fields: _a0

func (*Client) OfferSnapshotSync

func (_m *Client) OfferSnapshotSync(_a0 types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)

OfferSnapshotSync provides a mock function with given fields: _a0

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

func (_m *Client) QueryAsync(_a0 types.RequestQuery) *abcicli.ReqRes

QueryAsync provides a mock function with given fields: _a0

func (*Client) QuerySync

func (_m *Client) QuerySync(_a0 types.RequestQuery) (*types.ResponseQuery, error)

QuerySync provides a mock function with given fields: _a0

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

func (_m *Client) SetOptionAsync(_a0 types.RequestSetOption) *abcicli.ReqRes

SetOptionAsync provides a mock function with given fields: _a0

func (*Client) SetOptionSync

func (_m *Client) SetOptionSync(_a0 types.RequestSetOption) (*types.ResponseSetOption, error)

SetOptionSync 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:

Jump to

Keyboard shortcuts

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