mocks

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: MIT 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 MockCoreClient

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

MockCoreClient is a mock of CoreClient interface.

func NewMockCoreClient

func NewMockCoreClient(ctrl *gomock.Controller) *MockCoreClient

NewMockCoreClient creates a new mock instance.

func (*MockCoreClient) CheckTransaction

CheckTransaction mocks base method.

func (*MockCoreClient) EXPECT

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

func (*MockCoreClient) GetVegaTime

func (m *MockCoreClient) GetVegaTime(arg0 context.Context, arg1 *v1.GetVegaTimeRequest, arg2 ...grpc.CallOption) (*v1.GetVegaTimeResponse, error)

GetVegaTime mocks base method.

func (*MockCoreClient) Host

func (m *MockCoreClient) Host() string

Host mocks base method.

func (*MockCoreClient) LastBlockHeight

LastBlockHeight mocks base method.

func (*MockCoreClient) Stop

func (m *MockCoreClient) Stop() error

Stop mocks base method.

func (*MockCoreClient) SubmitTransaction

SubmitTransaction mocks base method.

type MockCoreClientMockRecorder

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

MockCoreClientMockRecorder is the mock recorder for MockCoreClient.

func (*MockCoreClientMockRecorder) CheckTransaction

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

CheckTransaction indicates an expected call of CheckTransaction.

func (*MockCoreClientMockRecorder) GetVegaTime

func (mr *MockCoreClientMockRecorder) GetVegaTime(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetVegaTime indicates an expected call of GetVegaTime.

func (*MockCoreClientMockRecorder) Host

Host indicates an expected call of Host.

func (*MockCoreClientMockRecorder) LastBlockHeight

func (mr *MockCoreClientMockRecorder) LastBlockHeight(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

LastBlockHeight indicates an expected call of LastBlockHeight.

func (*MockCoreClientMockRecorder) Stop

Stop indicates an expected call of Stop.

func (*MockCoreClientMockRecorder) SubmitTransaction

func (mr *MockCoreClientMockRecorder) SubmitTransaction(arg0, arg1 interface{}, arg2 ...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) (*v1.CheckTransactionResponse, 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) HealthCheck added in v0.56.0

func (m *MockNode) HealthCheck(arg0 context.Context) error

HealthCheck mocks base method.

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) (*v1.LastBlockHeightResponse, 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) 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) HealthCheck added in v0.56.0

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

HealthCheck indicates an expected call of HealthCheck.

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