mocks

package
v0.54.1-nocontractcheck Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

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.

Jump to

Keyboard shortcuts

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