mocks

package
v0.66.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 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 MockChainStore

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

MockChainStore is a mock of ChainStore interface.

func NewMockChainStore

func NewMockChainStore(ctrl *gomock.Controller) *MockChainStore

NewMockChainStore creates a new mock instance.

func (*MockChainStore) EXPECT

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

func (*MockChainStore) Get

Get mocks base method.

func (*MockChainStore) Set

func (m *MockChainStore) Set(arg0 context.Context, arg1 entities.Chain) error

Set mocks base method.

type MockChainStoreMockRecorder

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

MockChainStoreMockRecorder is the mock recorder for MockChainStore.

func (*MockChainStoreMockRecorder) Get

func (mr *MockChainStoreMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockChainStoreMockRecorder) Set

func (mr *MockChainStoreMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call

Set indicates an expected call of Set.

type MockMarketDataStore

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

MockMarketDataStore is a mock of MarketDataStore interface.

func NewMockMarketDataStore

func NewMockMarketDataStore(ctrl *gomock.Controller) *MockMarketDataStore

NewMockMarketDataStore creates a new mock instance.

func (*MockMarketDataStore) Add

Add mocks base method.

func (*MockMarketDataStore) EXPECT

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

func (*MockMarketDataStore) Flush

Flush mocks base method.

func (*MockMarketDataStore) GetBetweenDatesByID

func (m *MockMarketDataStore) GetBetweenDatesByID(arg0 context.Context, arg1 string, arg2, arg3 time.Time, arg4 entities.Pagination) ([]entities.MarketData, entities.PageInfo, error)

GetBetweenDatesByID mocks base method.

func (*MockMarketDataStore) GetFromDateByID

func (m *MockMarketDataStore) GetFromDateByID(arg0 context.Context, arg1 string, arg2 time.Time, arg3 entities.Pagination) ([]entities.MarketData, entities.PageInfo, error)

GetFromDateByID mocks base method.

func (*MockMarketDataStore) GetMarketDataByID

func (m *MockMarketDataStore) GetMarketDataByID(arg0 context.Context, arg1 string) (entities.MarketData, error)

GetMarketDataByID mocks base method.

func (*MockMarketDataStore) GetMarketsData

func (m *MockMarketDataStore) GetMarketsData(arg0 context.Context) ([]entities.MarketData, error)

GetMarketsData mocks base method.

func (*MockMarketDataStore) GetToDateByID

GetToDateByID mocks base method.

type MockMarketDataStoreMockRecorder

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

MockMarketDataStoreMockRecorder is the mock recorder for MockMarketDataStore.

func (*MockMarketDataStoreMockRecorder) Add

func (mr *MockMarketDataStoreMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockMarketDataStoreMockRecorder) Flush

func (mr *MockMarketDataStoreMockRecorder) Flush(arg0 interface{}) *gomock.Call

Flush indicates an expected call of Flush.

func (*MockMarketDataStoreMockRecorder) GetBetweenDatesByID

func (mr *MockMarketDataStoreMockRecorder) GetBetweenDatesByID(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

GetBetweenDatesByID indicates an expected call of GetBetweenDatesByID.

func (*MockMarketDataStoreMockRecorder) GetFromDateByID

func (mr *MockMarketDataStoreMockRecorder) GetFromDateByID(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetFromDateByID indicates an expected call of GetFromDateByID.

func (*MockMarketDataStoreMockRecorder) GetMarketDataByID

func (mr *MockMarketDataStoreMockRecorder) GetMarketDataByID(arg0, arg1 interface{}) *gomock.Call

GetMarketDataByID indicates an expected call of GetMarketDataByID.

func (*MockMarketDataStoreMockRecorder) GetMarketsData

func (mr *MockMarketDataStoreMockRecorder) GetMarketsData(arg0 interface{}) *gomock.Call

GetMarketsData indicates an expected call of GetMarketsData.

func (*MockMarketDataStoreMockRecorder) GetToDateByID

func (mr *MockMarketDataStoreMockRecorder) GetToDateByID(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetToDateByID indicates an expected call of GetToDateByID.

type MockMarketStore

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

MockMarketStore is a mock of MarketStore interface.

func NewMockMarketStore

func NewMockMarketStore(ctrl *gomock.Controller) *MockMarketStore

NewMockMarketStore creates a new mock instance.

func (*MockMarketStore) EXPECT

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

func (*MockMarketStore) GetAll

GetAll mocks base method.

func (*MockMarketStore) GetAllPaged

GetAllPaged mocks base method.

func (*MockMarketStore) GetByID

func (m *MockMarketStore) GetByID(arg0 context.Context, arg1 string) (entities.Market, error)

GetByID mocks base method.

func (*MockMarketStore) Upsert

func (m *MockMarketStore) Upsert(arg0 context.Context, arg1 *entities.Market) error

Upsert mocks base method.

type MockMarketStoreMockRecorder

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

MockMarketStoreMockRecorder is the mock recorder for MockMarketStore.

func (*MockMarketStoreMockRecorder) GetAll

func (mr *MockMarketStoreMockRecorder) GetAll(arg0, arg1 interface{}) *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockMarketStoreMockRecorder) GetAllPaged

func (mr *MockMarketStoreMockRecorder) GetAllPaged(arg0, arg1, arg2 interface{}) *gomock.Call

GetAllPaged indicates an expected call of GetAllPaged.

func (*MockMarketStoreMockRecorder) GetByID

func (mr *MockMarketStoreMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockMarketStoreMockRecorder) Upsert

func (mr *MockMarketStoreMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

type MockOrderStore

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

MockOrderStore is a mock of OrderStore interface.

func NewMockOrderStore

func NewMockOrderStore(ctrl *gomock.Controller) *MockOrderStore

NewMockOrderStore creates a new mock instance.

func (*MockOrderStore) EXPECT

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

func (*MockOrderStore) GetLiveOrders

func (m *MockOrderStore) GetLiveOrders(arg0 context.Context) ([]entities.Order, error)

GetLiveOrders mocks base method.

type MockOrderStoreMockRecorder

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

MockOrderStoreMockRecorder is the mock recorder for MockOrderStore.

func (*MockOrderStoreMockRecorder) GetLiveOrders

func (mr *MockOrderStoreMockRecorder) GetLiveOrders(arg0 interface{}) *gomock.Call

GetLiveOrders indicates an expected call of GetLiveOrders.

type MockPositionStore

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

MockPositionStore is a mock of PositionStore interface.

func NewMockPositionStore

func NewMockPositionStore(ctrl *gomock.Controller) *MockPositionStore

NewMockPositionStore creates a new mock instance.

func (*MockPositionStore) Add

Add mocks base method.

func (*MockPositionStore) EXPECT

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

func (*MockPositionStore) Flush

Flush mocks base method.

func (*MockPositionStore) GetAll

func (m *MockPositionStore) GetAll(arg0 context.Context) ([]entities.Position, error)

GetAll mocks base method.

func (*MockPositionStore) GetByMarket

func (m *MockPositionStore) GetByMarket(arg0 context.Context, arg1 string) ([]entities.Position, error)

GetByMarket mocks base method.

func (*MockPositionStore) GetByMarketAndParty

func (m *MockPositionStore) GetByMarketAndParty(arg0 context.Context, arg1, arg2 string) (entities.Position, error)

GetByMarketAndParty mocks base method.

func (*MockPositionStore) GetByParty

func (m *MockPositionStore) GetByParty(arg0 context.Context, arg1 string) ([]entities.Position, error)

GetByParty mocks base method.

func (*MockPositionStore) GetByPartyConnection

func (m *MockPositionStore) GetByPartyConnection(arg0 context.Context, arg1, arg2 string, arg3 entities.CursorPagination) ([]entities.Position, entities.PageInfo, error)

GetByPartyConnection mocks base method.

type MockPositionStoreMockRecorder

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

MockPositionStoreMockRecorder is the mock recorder for MockPositionStore.

func (*MockPositionStoreMockRecorder) Add

func (mr *MockPositionStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockPositionStoreMockRecorder) Flush

func (mr *MockPositionStoreMockRecorder) Flush(arg0 interface{}) *gomock.Call

Flush indicates an expected call of Flush.

func (*MockPositionStoreMockRecorder) GetAll

func (mr *MockPositionStoreMockRecorder) GetAll(arg0 interface{}) *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockPositionStoreMockRecorder) GetByMarket

func (mr *MockPositionStoreMockRecorder) GetByMarket(arg0, arg1 interface{}) *gomock.Call

GetByMarket indicates an expected call of GetByMarket.

func (*MockPositionStoreMockRecorder) GetByMarketAndParty

func (mr *MockPositionStoreMockRecorder) GetByMarketAndParty(arg0, arg1, arg2 interface{}) *gomock.Call

GetByMarketAndParty indicates an expected call of GetByMarketAndParty.

func (*MockPositionStoreMockRecorder) GetByParty

func (mr *MockPositionStoreMockRecorder) GetByParty(arg0, arg1 interface{}) *gomock.Call

GetByParty indicates an expected call of GetByParty.

func (*MockPositionStoreMockRecorder) GetByPartyConnection

func (mr *MockPositionStoreMockRecorder) GetByPartyConnection(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetByPartyConnection indicates an expected call of GetByPartyConnection.

Jump to

Keyboard shortcuts

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