mocks

package
v0.78.5 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGRPCAdapter added in v0.62.0

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

MockGRPCAdapter is a mock of GRPCAdapter interface.

func NewMockGRPCAdapter added in v0.62.0

func NewMockGRPCAdapter(ctrl *gomock.Controller) *MockGRPCAdapter

NewMockGRPCAdapter creates a new mock instance.

func (*MockGRPCAdapter) CheckTransaction added in v0.69.0

CheckTransaction mocks base method.

func (*MockGRPCAdapter) EXPECT added in v0.62.0

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

func (*MockGRPCAdapter) Host added in v0.62.0

func (m *MockGRPCAdapter) Host() string

Host mocks base method.

func (*MockGRPCAdapter) LastBlock added in v0.62.0

func (m *MockGRPCAdapter) LastBlock(arg0 context.Context) (types.LastBlock, error)

LastBlock mocks base method.

func (*MockGRPCAdapter) SpamStatistics added in v0.68.0

func (m *MockGRPCAdapter) SpamStatistics(arg0 context.Context, arg1 string) (types.SpamStatistics, error)

SpamStatistics mocks base method.

func (*MockGRPCAdapter) Statistics added in v0.62.0

func (m *MockGRPCAdapter) Statistics(arg0 context.Context) (types.Statistics, error)

Statistics mocks base method.

func (*MockGRPCAdapter) Stop added in v0.62.0

func (m *MockGRPCAdapter) Stop() error

Stop mocks base method.

func (*MockGRPCAdapter) SubmitTransaction added in v0.62.0

SubmitTransaction mocks base method.

type MockGRPCAdapterMockRecorder added in v0.62.0

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

MockGRPCAdapterMockRecorder is the mock recorder for MockGRPCAdapter.

func (*MockGRPCAdapterMockRecorder) CheckTransaction added in v0.69.0

func (mr *MockGRPCAdapterMockRecorder) CheckTransaction(arg0, arg1 interface{}) *gomock.Call

CheckTransaction indicates an expected call of CheckTransaction.

func (*MockGRPCAdapterMockRecorder) Host added in v0.62.0

Host indicates an expected call of Host.

func (*MockGRPCAdapterMockRecorder) LastBlock added in v0.62.0

func (mr *MockGRPCAdapterMockRecorder) LastBlock(arg0 interface{}) *gomock.Call

LastBlock indicates an expected call of LastBlock.

func (*MockGRPCAdapterMockRecorder) SpamStatistics added in v0.68.0

func (mr *MockGRPCAdapterMockRecorder) SpamStatistics(arg0, arg1 interface{}) *gomock.Call

SpamStatistics indicates an expected call of SpamStatistics.

func (*MockGRPCAdapterMockRecorder) Statistics added in v0.62.0

func (mr *MockGRPCAdapterMockRecorder) Statistics(arg0 interface{}) *gomock.Call

Statistics indicates an expected call of Statistics.

func (*MockGRPCAdapterMockRecorder) Stop added in v0.62.0

Stop indicates an expected call of Stop.

func (*MockGRPCAdapterMockRecorder) SubmitTransaction added in v0.62.0

func (mr *MockGRPCAdapterMockRecorder) SubmitTransaction(arg0, arg1 interface{}) *gomock.Call

SubmitTransaction indicates an expected call of SubmitTransaction.

type MockNode added in v0.56.0

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

MockNode is a mock of Node interface.

func NewMockNode added in v0.56.0

func NewMockNode(ctrl *gomock.Controller) *MockNode

NewMockNode creates a new mock instance.

func (*MockNode) CheckTransaction added in v0.56.0

func (m *MockNode) CheckTransaction(arg0 context.Context, arg1 *v10.Transaction) error

CheckTransaction mocks base method.

func (*MockNode) EXPECT added in v0.56.0

func (m *MockNode) EXPECT() *MockNodeMockRecorder

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

func (*MockNode) Host added in v0.56.0

func (m *MockNode) Host() string

Host mocks base method.

func (*MockNode) LastBlock added in v0.56.0

func (m *MockNode) LastBlock(arg0 context.Context) (types.LastBlock, error)

LastBlock mocks base method.

func (*MockNode) SendTransaction added in v0.56.0

func (m *MockNode) SendTransaction(arg0 context.Context, arg1 *v10.Transaction, arg2 v1.SubmitTransactionRequest_Type) (string, error)

SendTransaction mocks base method.

func (*MockNode) SpamStatistics added in v0.68.0

func (m *MockNode) SpamStatistics(arg0 context.Context, arg1 string) (types.SpamStatistics, error)

SpamStatistics mocks base method.

func (*MockNode) Statistics added in v0.62.0

func (m *MockNode) Statistics(arg0 context.Context) (types.Statistics, error)

Statistics mocks base method.

func (*MockNode) Stop added in v0.56.0

func (m *MockNode) Stop() error

Stop mocks base method.

type MockNodeMockRecorder added in v0.56.0

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

MockNodeMockRecorder is the mock recorder for MockNode.

func (*MockNodeMockRecorder) CheckTransaction added in v0.56.0

func (mr *MockNodeMockRecorder) CheckTransaction(arg0, arg1 interface{}) *gomock.Call

CheckTransaction indicates an expected call of CheckTransaction.

func (*MockNodeMockRecorder) Host added in v0.56.0

func (mr *MockNodeMockRecorder) Host() *gomock.Call

Host indicates an expected call of Host.

func (*MockNodeMockRecorder) LastBlock added in v0.56.0

func (mr *MockNodeMockRecorder) LastBlock(arg0 interface{}) *gomock.Call

LastBlock indicates an expected call of LastBlock.

func (*MockNodeMockRecorder) SendTransaction added in v0.56.0

func (mr *MockNodeMockRecorder) SendTransaction(arg0, arg1, arg2 interface{}) *gomock.Call

SendTransaction indicates an expected call of SendTransaction.

func (*MockNodeMockRecorder) SpamStatistics added in v0.68.0

func (mr *MockNodeMockRecorder) SpamStatistics(arg0, arg1 interface{}) *gomock.Call

SpamStatistics indicates an expected call of SpamStatistics.

func (*MockNodeMockRecorder) Statistics added in v0.62.0

func (mr *MockNodeMockRecorder) Statistics(arg0 interface{}) *gomock.Call

Statistics indicates an expected call of Statistics.

func (*MockNodeMockRecorder) Stop added in v0.56.0

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

Stop indicates an expected call of Stop.

type MockSelector added in v0.56.0

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

MockSelector is a mock of Selector interface.

func NewMockSelector added in v0.56.0

func NewMockSelector(ctrl *gomock.Controller) *MockSelector

NewMockSelector creates a new mock instance.

func (*MockSelector) EXPECT added in v0.56.0

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

func (*MockSelector) Node added in v0.56.0

Node mocks base method.

func (*MockSelector) Stop added in v0.56.0

func (m *MockSelector) Stop()

Stop mocks base method.

type MockSelectorMockRecorder added in v0.56.0

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

MockSelectorMockRecorder is the mock recorder for MockSelector.

func (*MockSelectorMockRecorder) Node added in v0.56.0

func (mr *MockSelectorMockRecorder) Node(arg0, arg1 interface{}) *gomock.Call

Node indicates an expected call of Node.

func (*MockSelectorMockRecorder) Stop added in v0.56.0

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

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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