mock

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_client is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockABCIClient

type MockABCIClient struct {
	// contains filtered or unexported fields
}

MockABCIClient is a mock of ABCIClient interface

func NewMockABCIClient

func NewMockABCIClient(ctrl *gomock.Controller) *MockABCIClient

NewMockABCIClient creates a new mock instance

func (*MockABCIClient) ABCIInfo

func (m *MockABCIClient) ABCIInfo() (*types.ResultABCIInfo, error)

ABCIInfo mocks base method

func (*MockABCIClient) ABCIQuery

func (m *MockABCIClient) ABCIQuery(path string, data bytes.HexBytes) (*types.ResultABCIQuery, error)

ABCIQuery mocks base method

func (*MockABCIClient) ABCIQueryWithOptions

func (m *MockABCIClient) ABCIQueryWithOptions(path string, data bytes.HexBytes, opts client.ABCIQueryOptions) (*types.ResultABCIQuery, error)

ABCIQueryWithOptions mocks base method

func (*MockABCIClient) BroadcastTxAsync

func (m *MockABCIClient) BroadcastTxAsync(tx types0.Tx) (*types.ResultBroadcastTx, error)

BroadcastTxAsync mocks base method

func (*MockABCIClient) BroadcastTxCommit

func (m *MockABCIClient) BroadcastTxCommit(tx types0.Tx) (*types.ResultBroadcastTxCommit, error)

BroadcastTxCommit mocks base method

func (*MockABCIClient) BroadcastTxSync

func (m *MockABCIClient) BroadcastTxSync(tx types0.Tx) (*types.ResultBroadcastTx, error)

BroadcastTxSync mocks base method

func (*MockABCIClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockABCIClientMockRecorder

type MockABCIClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockABCIClientMockRecorder is the mock recorder for MockABCIClient

func (*MockABCIClientMockRecorder) ABCIInfo

func (mr *MockABCIClientMockRecorder) ABCIInfo() *gomock.Call

ABCIInfo indicates an expected call of ABCIInfo

func (*MockABCIClientMockRecorder) ABCIQuery

func (mr *MockABCIClientMockRecorder) ABCIQuery(path, data interface{}) *gomock.Call

ABCIQuery indicates an expected call of ABCIQuery

func (*MockABCIClientMockRecorder) ABCIQueryWithOptions

func (mr *MockABCIClientMockRecorder) ABCIQueryWithOptions(path, data, opts interface{}) *gomock.Call

ABCIQueryWithOptions indicates an expected call of ABCIQueryWithOptions

func (*MockABCIClientMockRecorder) BroadcastTxAsync

func (mr *MockABCIClientMockRecorder) BroadcastTxAsync(tx interface{}) *gomock.Call

BroadcastTxAsync indicates an expected call of BroadcastTxAsync

func (*MockABCIClientMockRecorder) BroadcastTxCommit

func (mr *MockABCIClientMockRecorder) BroadcastTxCommit(tx interface{}) *gomock.Call

BroadcastTxCommit indicates an expected call of BroadcastTxCommit

func (*MockABCIClientMockRecorder) BroadcastTxSync

func (mr *MockABCIClientMockRecorder) BroadcastTxSync(tx interface{}) *gomock.Call

BroadcastTxSync indicates an expected call of BroadcastTxSync

type MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) ABCIInfo

func (m *MockClient) ABCIInfo() (*types.ResultABCIInfo, error)

ABCIInfo mocks base method

func (*MockClient) ABCIQuery

func (m *MockClient) ABCIQuery(path string, data bytes.HexBytes) (*types.ResultABCIQuery, error)

ABCIQuery mocks base method

func (*MockClient) ABCIQueryWithOptions

func (m *MockClient) ABCIQueryWithOptions(path string, data bytes.HexBytes, opts client.ABCIQueryOptions) (*types.ResultABCIQuery, error)

ABCIQueryWithOptions mocks base method

func (*MockClient) Block

func (m *MockClient) Block(height *int64) (*types.ResultBlock, error)

Block mocks base method

func (*MockClient) BlockResults

func (m *MockClient) BlockResults(height *int64) (*types.ResultBlockResults, error)

BlockResults mocks base method

func (*MockClient) BlockchainInfo

func (m *MockClient) BlockchainInfo(minHeight, maxHeight int64) (*types.ResultBlockchainInfo, error)

BlockchainInfo mocks base method

func (*MockClient) BroadcastEvidence

func (m *MockClient) BroadcastEvidence(ev types0.Evidence) (*types.ResultBroadcastEvidence, error)

BroadcastEvidence mocks base method

func (*MockClient) BroadcastTxAsync

func (m *MockClient) BroadcastTxAsync(tx types0.Tx) (*types.ResultBroadcastTx, error)

BroadcastTxAsync mocks base method

func (*MockClient) BroadcastTxCommit

func (m *MockClient) BroadcastTxCommit(tx types0.Tx) (*types.ResultBroadcastTxCommit, error)

BroadcastTxCommit mocks base method

func (*MockClient) BroadcastTxSync

func (m *MockClient) BroadcastTxSync(tx types0.Tx) (*types.ResultBroadcastTx, error)

BroadcastTxSync mocks base method

func (*MockClient) Commit

func (m *MockClient) Commit(height *int64) (*types.ResultCommit, error)

Commit mocks base method

func (*MockClient) ConsensusParams

func (m *MockClient) ConsensusParams(height *int64) (*types.ResultConsensusParams, error)

ConsensusParams mocks base method

func (*MockClient) ConsensusState

func (m *MockClient) ConsensusState() (*types.ResultConsensusState, error)

ConsensusState mocks base method

func (*MockClient) DumpConsensusState

func (m *MockClient) DumpConsensusState() (*types.ResultDumpConsensusState, error)

DumpConsensusState mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClient) Genesis

func (m *MockClient) Genesis() (*types.ResultGenesis, error)

Genesis mocks base method

func (*MockClient) Health

func (m *MockClient) Health() (*types.ResultHealth, error)

Health mocks base method

func (*MockClient) IsRunning

func (m *MockClient) IsRunning() bool

IsRunning mocks base method

func (*MockClient) NetInfo

func (m *MockClient) NetInfo() (*types.ResultNetInfo, error)

NetInfo mocks base method

func (*MockClient) NumUnconfirmedTxs

func (m *MockClient) NumUnconfirmedTxs() (*types.ResultUnconfirmedTxs, error)

NumUnconfirmedTxs mocks base method

func (*MockClient) OnReset

func (m *MockClient) OnReset() error

OnReset mocks base method

func (*MockClient) OnStart

func (m *MockClient) OnStart() error

OnStart mocks base method

func (*MockClient) OnStop

func (m *MockClient) OnStop()

OnStop mocks base method

func (*MockClient) Quit

func (m *MockClient) Quit() <-chan struct{}

Quit mocks base method

func (*MockClient) Reset

func (m *MockClient) Reset() error

Reset mocks base method

func (*MockClient) SetLogger

func (m *MockClient) SetLogger(arg0 log.Logger)

SetLogger mocks base method

func (*MockClient) Start

func (m *MockClient) Start() error

Start mocks base method

func (*MockClient) Status

func (m *MockClient) Status() (*types.ResultStatus, error)

Status mocks base method

func (*MockClient) Stop

func (m *MockClient) Stop() error

Stop mocks base method

func (*MockClient) String

func (m *MockClient) String() string

String mocks base method

func (*MockClient) Subscribe

func (m *MockClient) Subscribe(ctx context.Context, subscriber, query string, outCapacity ...int) (<-chan types.ResultEvent, error)

Subscribe mocks base method

func (*MockClient) Tx

func (m *MockClient) Tx(hash []byte, prove bool) (*types.ResultTx, error)

Tx mocks base method

func (*MockClient) TxSearch

func (m *MockClient) TxSearch(query string, prove bool, page, perPage int, orderBy string) (*types.ResultTxSearch, error)

TxSearch mocks base method

func (*MockClient) UnconfirmedTxs

func (m *MockClient) UnconfirmedTxs(limit int) (*types.ResultUnconfirmedTxs, error)

UnconfirmedTxs mocks base method

func (*MockClient) Unsubscribe

func (m *MockClient) Unsubscribe(ctx context.Context, subscriber, query string) error

Unsubscribe mocks base method

func (*MockClient) UnsubscribeAll

func (m *MockClient) UnsubscribeAll(ctx context.Context, subscriber string) error

UnsubscribeAll mocks base method

func (*MockClient) Validators

func (m *MockClient) Validators(height *int64, page, perPage int) (*types.ResultValidators, error)

Validators mocks base method

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) ABCIInfo

func (mr *MockClientMockRecorder) ABCIInfo() *gomock.Call

ABCIInfo indicates an expected call of ABCIInfo

func (*MockClientMockRecorder) ABCIQuery

func (mr *MockClientMockRecorder) ABCIQuery(path, data interface{}) *gomock.Call

ABCIQuery indicates an expected call of ABCIQuery

func (*MockClientMockRecorder) ABCIQueryWithOptions

func (mr *MockClientMockRecorder) ABCIQueryWithOptions(path, data, opts interface{}) *gomock.Call

ABCIQueryWithOptions indicates an expected call of ABCIQueryWithOptions

func (*MockClientMockRecorder) Block

func (mr *MockClientMockRecorder) Block(height interface{}) *gomock.Call

Block indicates an expected call of Block

func (*MockClientMockRecorder) BlockResults

func (mr *MockClientMockRecorder) BlockResults(height interface{}) *gomock.Call

BlockResults indicates an expected call of BlockResults

func (*MockClientMockRecorder) BlockchainInfo

func (mr *MockClientMockRecorder) BlockchainInfo(minHeight, maxHeight interface{}) *gomock.Call

BlockchainInfo indicates an expected call of BlockchainInfo

func (*MockClientMockRecorder) BroadcastEvidence

func (mr *MockClientMockRecorder) BroadcastEvidence(ev interface{}) *gomock.Call

BroadcastEvidence indicates an expected call of BroadcastEvidence

func (*MockClientMockRecorder) BroadcastTxAsync

func (mr *MockClientMockRecorder) BroadcastTxAsync(tx interface{}) *gomock.Call

BroadcastTxAsync indicates an expected call of BroadcastTxAsync

func (*MockClientMockRecorder) BroadcastTxCommit

func (mr *MockClientMockRecorder) BroadcastTxCommit(tx interface{}) *gomock.Call

BroadcastTxCommit indicates an expected call of BroadcastTxCommit

func (*MockClientMockRecorder) BroadcastTxSync

func (mr *MockClientMockRecorder) BroadcastTxSync(tx interface{}) *gomock.Call

BroadcastTxSync indicates an expected call of BroadcastTxSync

func (*MockClientMockRecorder) Commit

func (mr *MockClientMockRecorder) Commit(height interface{}) *gomock.Call

Commit indicates an expected call of Commit

func (*MockClientMockRecorder) ConsensusParams

func (mr *MockClientMockRecorder) ConsensusParams(height interface{}) *gomock.Call

ConsensusParams indicates an expected call of ConsensusParams

func (*MockClientMockRecorder) ConsensusState

func (mr *MockClientMockRecorder) ConsensusState() *gomock.Call

ConsensusState indicates an expected call of ConsensusState

func (*MockClientMockRecorder) DumpConsensusState

func (mr *MockClientMockRecorder) DumpConsensusState() *gomock.Call

DumpConsensusState indicates an expected call of DumpConsensusState

func (*MockClientMockRecorder) Genesis

func (mr *MockClientMockRecorder) Genesis() *gomock.Call

Genesis indicates an expected call of Genesis

func (*MockClientMockRecorder) Health

func (mr *MockClientMockRecorder) Health() *gomock.Call

Health indicates an expected call of Health

func (*MockClientMockRecorder) IsRunning

func (mr *MockClientMockRecorder) IsRunning() *gomock.Call

IsRunning indicates an expected call of IsRunning

func (*MockClientMockRecorder) NetInfo

func (mr *MockClientMockRecorder) NetInfo() *gomock.Call

NetInfo indicates an expected call of NetInfo

func (*MockClientMockRecorder) NumUnconfirmedTxs

func (mr *MockClientMockRecorder) NumUnconfirmedTxs() *gomock.Call

NumUnconfirmedTxs indicates an expected call of NumUnconfirmedTxs

func (*MockClientMockRecorder) OnReset

func (mr *MockClientMockRecorder) OnReset() *gomock.Call

OnReset indicates an expected call of OnReset

func (*MockClientMockRecorder) OnStart

func (mr *MockClientMockRecorder) OnStart() *gomock.Call

OnStart indicates an expected call of OnStart

func (*MockClientMockRecorder) OnStop

func (mr *MockClientMockRecorder) OnStop() *gomock.Call

OnStop indicates an expected call of OnStop

func (*MockClientMockRecorder) Quit

func (mr *MockClientMockRecorder) Quit() *gomock.Call

Quit indicates an expected call of Quit

func (*MockClientMockRecorder) Reset

func (mr *MockClientMockRecorder) Reset() *gomock.Call

Reset indicates an expected call of Reset

func (*MockClientMockRecorder) SetLogger

func (mr *MockClientMockRecorder) SetLogger(arg0 interface{}) *gomock.Call

SetLogger indicates an expected call of SetLogger

func (*MockClientMockRecorder) Start

func (mr *MockClientMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start

func (*MockClientMockRecorder) Status

func (mr *MockClientMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status

func (*MockClientMockRecorder) Stop

func (mr *MockClientMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop

func (*MockClientMockRecorder) String

func (mr *MockClientMockRecorder) String() *gomock.Call

String indicates an expected call of String

func (*MockClientMockRecorder) Subscribe

func (mr *MockClientMockRecorder) Subscribe(ctx, subscriber, query interface{}, outCapacity ...interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe

func (*MockClientMockRecorder) Tx

func (mr *MockClientMockRecorder) Tx(hash, prove interface{}) *gomock.Call

Tx indicates an expected call of Tx

func (*MockClientMockRecorder) TxSearch

func (mr *MockClientMockRecorder) TxSearch(query, prove, page, perPage, orderBy interface{}) *gomock.Call

TxSearch indicates an expected call of TxSearch

func (*MockClientMockRecorder) UnconfirmedTxs

func (mr *MockClientMockRecorder) UnconfirmedTxs(limit interface{}) *gomock.Call

UnconfirmedTxs indicates an expected call of UnconfirmedTxs

func (*MockClientMockRecorder) Unsubscribe

func (mr *MockClientMockRecorder) Unsubscribe(ctx, subscriber, query interface{}) *gomock.Call

Unsubscribe indicates an expected call of Unsubscribe

func (*MockClientMockRecorder) UnsubscribeAll

func (mr *MockClientMockRecorder) UnsubscribeAll(ctx, subscriber interface{}) *gomock.Call

UnsubscribeAll indicates an expected call of UnsubscribeAll

func (*MockClientMockRecorder) Validators

func (mr *MockClientMockRecorder) Validators(height, page, perPage interface{}) *gomock.Call

Validators indicates an expected call of Validators

type MockEventsClient

type MockEventsClient struct {
	// contains filtered or unexported fields
}

MockEventsClient is a mock of EventsClient interface

func NewMockEventsClient

func NewMockEventsClient(ctrl *gomock.Controller) *MockEventsClient

NewMockEventsClient creates a new mock instance

func (*MockEventsClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockEventsClient) Subscribe

func (m *MockEventsClient) Subscribe(ctx context.Context, subscriber, query string, outCapacity ...int) (<-chan types.ResultEvent, error)

Subscribe mocks base method

func (*MockEventsClient) Unsubscribe

func (m *MockEventsClient) Unsubscribe(ctx context.Context, subscriber, query string) error

Unsubscribe mocks base method

func (*MockEventsClient) UnsubscribeAll

func (m *MockEventsClient) UnsubscribeAll(ctx context.Context, subscriber string) error

UnsubscribeAll mocks base method

type MockEventsClientMockRecorder

type MockEventsClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockEventsClientMockRecorder is the mock recorder for MockEventsClient

func (*MockEventsClientMockRecorder) Subscribe

func (mr *MockEventsClientMockRecorder) Subscribe(ctx, subscriber, query interface{}, outCapacity ...interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe

func (*MockEventsClientMockRecorder) Unsubscribe

func (mr *MockEventsClientMockRecorder) Unsubscribe(ctx, subscriber, query interface{}) *gomock.Call

Unsubscribe indicates an expected call of Unsubscribe

func (*MockEventsClientMockRecorder) UnsubscribeAll

func (mr *MockEventsClientMockRecorder) UnsubscribeAll(ctx, subscriber interface{}) *gomock.Call

UnsubscribeAll indicates an expected call of UnsubscribeAll

type MockEvidenceClient

type MockEvidenceClient struct {
	// contains filtered or unexported fields
}

MockEvidenceClient is a mock of EvidenceClient interface

func NewMockEvidenceClient

func NewMockEvidenceClient(ctrl *gomock.Controller) *MockEvidenceClient

NewMockEvidenceClient creates a new mock instance

func (*MockEvidenceClient) BroadcastEvidence

BroadcastEvidence mocks base method

func (*MockEvidenceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockEvidenceClientMockRecorder

type MockEvidenceClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockEvidenceClientMockRecorder is the mock recorder for MockEvidenceClient

func (*MockEvidenceClientMockRecorder) BroadcastEvidence

func (mr *MockEvidenceClientMockRecorder) BroadcastEvidence(ev interface{}) *gomock.Call

BroadcastEvidence indicates an expected call of BroadcastEvidence

type MockHistoryClient

type MockHistoryClient struct {
	// contains filtered or unexported fields
}

MockHistoryClient is a mock of HistoryClient interface

func NewMockHistoryClient

func NewMockHistoryClient(ctrl *gomock.Controller) *MockHistoryClient

NewMockHistoryClient creates a new mock instance

func (*MockHistoryClient) BlockchainInfo

func (m *MockHistoryClient) BlockchainInfo(minHeight, maxHeight int64) (*types.ResultBlockchainInfo, error)

BlockchainInfo mocks base method

func (*MockHistoryClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockHistoryClient) Genesis

func (m *MockHistoryClient) Genesis() (*types.ResultGenesis, error)

Genesis mocks base method

type MockHistoryClientMockRecorder

type MockHistoryClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockHistoryClientMockRecorder is the mock recorder for MockHistoryClient

func (*MockHistoryClientMockRecorder) BlockchainInfo

func (mr *MockHistoryClientMockRecorder) BlockchainInfo(minHeight, maxHeight interface{}) *gomock.Call

BlockchainInfo indicates an expected call of BlockchainInfo

func (*MockHistoryClientMockRecorder) Genesis

func (mr *MockHistoryClientMockRecorder) Genesis() *gomock.Call

Genesis indicates an expected call of Genesis

type MockMempoolClient

type MockMempoolClient struct {
	// contains filtered or unexported fields
}

MockMempoolClient is a mock of MempoolClient interface

func NewMockMempoolClient

func NewMockMempoolClient(ctrl *gomock.Controller) *MockMempoolClient

NewMockMempoolClient creates a new mock instance

func (*MockMempoolClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMempoolClient) NumUnconfirmedTxs

func (m *MockMempoolClient) NumUnconfirmedTxs() (*types.ResultUnconfirmedTxs, error)

NumUnconfirmedTxs mocks base method

func (*MockMempoolClient) UnconfirmedTxs

func (m *MockMempoolClient) UnconfirmedTxs(limit int) (*types.ResultUnconfirmedTxs, error)

UnconfirmedTxs mocks base method

type MockMempoolClientMockRecorder

type MockMempoolClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockMempoolClientMockRecorder is the mock recorder for MockMempoolClient

func (*MockMempoolClientMockRecorder) NumUnconfirmedTxs

func (mr *MockMempoolClientMockRecorder) NumUnconfirmedTxs() *gomock.Call

NumUnconfirmedTxs indicates an expected call of NumUnconfirmedTxs

func (*MockMempoolClientMockRecorder) UnconfirmedTxs

func (mr *MockMempoolClientMockRecorder) UnconfirmedTxs(limit interface{}) *gomock.Call

UnconfirmedTxs indicates an expected call of UnconfirmedTxs

type MockNetworkClient

type MockNetworkClient struct {
	// contains filtered or unexported fields
}

MockNetworkClient is a mock of NetworkClient interface

func NewMockNetworkClient

func NewMockNetworkClient(ctrl *gomock.Controller) *MockNetworkClient

NewMockNetworkClient creates a new mock instance

func (*MockNetworkClient) ConsensusParams

func (m *MockNetworkClient) ConsensusParams(height *int64) (*types.ResultConsensusParams, error)

ConsensusParams mocks base method

func (*MockNetworkClient) ConsensusState

func (m *MockNetworkClient) ConsensusState() (*types.ResultConsensusState, error)

ConsensusState mocks base method

func (*MockNetworkClient) DumpConsensusState

func (m *MockNetworkClient) DumpConsensusState() (*types.ResultDumpConsensusState, error)

DumpConsensusState mocks base method

func (*MockNetworkClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockNetworkClient) Health

func (m *MockNetworkClient) Health() (*types.ResultHealth, error)

Health mocks base method

func (*MockNetworkClient) NetInfo

func (m *MockNetworkClient) NetInfo() (*types.ResultNetInfo, error)

NetInfo mocks base method

type MockNetworkClientMockRecorder

type MockNetworkClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockNetworkClientMockRecorder is the mock recorder for MockNetworkClient

func (*MockNetworkClientMockRecorder) ConsensusParams

func (mr *MockNetworkClientMockRecorder) ConsensusParams(height interface{}) *gomock.Call

ConsensusParams indicates an expected call of ConsensusParams

func (*MockNetworkClientMockRecorder) ConsensusState

func (mr *MockNetworkClientMockRecorder) ConsensusState() *gomock.Call

ConsensusState indicates an expected call of ConsensusState

func (*MockNetworkClientMockRecorder) DumpConsensusState

func (mr *MockNetworkClientMockRecorder) DumpConsensusState() *gomock.Call

DumpConsensusState indicates an expected call of DumpConsensusState

func (*MockNetworkClientMockRecorder) Health

Health indicates an expected call of Health

func (*MockNetworkClientMockRecorder) NetInfo

func (mr *MockNetworkClientMockRecorder) NetInfo() *gomock.Call

NetInfo indicates an expected call of NetInfo

type MockSignClient

type MockSignClient struct {
	// contains filtered or unexported fields
}

MockSignClient is a mock of SignClient interface

func NewMockSignClient

func NewMockSignClient(ctrl *gomock.Controller) *MockSignClient

NewMockSignClient creates a new mock instance

func (*MockSignClient) Block

func (m *MockSignClient) Block(height *int64) (*types.ResultBlock, error)

Block mocks base method

func (*MockSignClient) BlockResults

func (m *MockSignClient) BlockResults(height *int64) (*types.ResultBlockResults, error)

BlockResults mocks base method

func (*MockSignClient) Commit

func (m *MockSignClient) Commit(height *int64) (*types.ResultCommit, error)

Commit mocks base method

func (*MockSignClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSignClient) Tx

func (m *MockSignClient) Tx(hash []byte, prove bool) (*types.ResultTx, error)

Tx mocks base method

func (*MockSignClient) TxSearch

func (m *MockSignClient) TxSearch(query string, prove bool, page, perPage int, orderBy string) (*types.ResultTxSearch, error)

TxSearch mocks base method

func (*MockSignClient) Validators

func (m *MockSignClient) Validators(height *int64, page, perPage int) (*types.ResultValidators, error)

Validators mocks base method

type MockSignClientMockRecorder

type MockSignClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockSignClientMockRecorder is the mock recorder for MockSignClient

func (*MockSignClientMockRecorder) Block

func (mr *MockSignClientMockRecorder) Block(height interface{}) *gomock.Call

Block indicates an expected call of Block

func (*MockSignClientMockRecorder) BlockResults

func (mr *MockSignClientMockRecorder) BlockResults(height interface{}) *gomock.Call

BlockResults indicates an expected call of BlockResults

func (*MockSignClientMockRecorder) Commit

func (mr *MockSignClientMockRecorder) Commit(height interface{}) *gomock.Call

Commit indicates an expected call of Commit

func (*MockSignClientMockRecorder) Tx

func (mr *MockSignClientMockRecorder) Tx(hash, prove interface{}) *gomock.Call

Tx indicates an expected call of Tx

func (*MockSignClientMockRecorder) TxSearch

func (mr *MockSignClientMockRecorder) TxSearch(query, prove, page, perPage, orderBy interface{}) *gomock.Call

TxSearch indicates an expected call of TxSearch

func (*MockSignClientMockRecorder) Validators

func (mr *MockSignClientMockRecorder) Validators(height, page, perPage interface{}) *gomock.Call

Validators indicates an expected call of Validators

type MockStatusClient

type MockStatusClient struct {
	// contains filtered or unexported fields
}

MockStatusClient is a mock of StatusClient interface

func NewMockStatusClient

func NewMockStatusClient(ctrl *gomock.Controller) *MockStatusClient

NewMockStatusClient creates a new mock instance

func (*MockStatusClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStatusClient) Status

func (m *MockStatusClient) Status() (*types.ResultStatus, error)

Status mocks base method

type MockStatusClientMockRecorder

type MockStatusClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockStatusClientMockRecorder is the mock recorder for MockStatusClient

func (*MockStatusClientMockRecorder) Status

Status indicates an expected call of Status

Jump to

Keyboard shortcuts

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