Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAuctionState
- func (m *MockAuctionState) AuctionStart() bool
- func (m *MockAuctionState) CanLeave() bool
- func (m *MockAuctionState) Duration() types.AuctionDuration
- func (m *MockAuctionState) EXPECT() *MockAuctionStateMockRecorder
- func (m *MockAuctionState) ExpiresAt() *time.Time
- func (m *MockAuctionState) ExtendAuctionPrice(arg0 types.AuctionDuration)
- func (m *MockAuctionState) InAuction() bool
- func (m *MockAuctionState) IsFBA() bool
- func (m *MockAuctionState) IsOpeningAuction() bool
- func (m *MockAuctionState) IsPriceAuction() bool
- func (m *MockAuctionState) IsPriceExtension() bool
- func (m *MockAuctionState) Mode() vega.Market_TradingMode
- func (m *MockAuctionState) SetReadyToLeave()
- func (m *MockAuctionState) Start() time.Time
- func (m *MockAuctionState) StartPriceAuction(arg0 time.Time, arg1 *types.AuctionDuration)
- type MockAuctionStateMockRecorder
- func (mr *MockAuctionStateMockRecorder) AuctionStart() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) CanLeave() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) Duration() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) ExpiresAt() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) ExtendAuctionPrice(arg0 interface{}) *gomock.Call
- func (mr *MockAuctionStateMockRecorder) InAuction() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) IsFBA() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) IsOpeningAuction() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) IsPriceAuction() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) IsPriceExtension() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) Mode() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) SetReadyToLeave() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) Start() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) StartPriceAuction(arg0, arg1 interface{}) *gomock.Call
- type MockRangeProvider
- type MockRangeProviderMockRecorder
- type MockStateVarEngine
- type MockStateVarEngineMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuctionState ¶
type MockAuctionState struct {
// contains filtered or unexported fields
}
MockAuctionState is a mock of AuctionState interface.
func NewMockAuctionState ¶
func NewMockAuctionState(ctrl *gomock.Controller) *MockAuctionState
NewMockAuctionState creates a new mock instance.
func (*MockAuctionState) AuctionStart ¶
func (m *MockAuctionState) AuctionStart() bool
AuctionStart mocks base method.
func (*MockAuctionState) CanLeave ¶
func (m *MockAuctionState) CanLeave() bool
CanLeave mocks base method.
func (*MockAuctionState) Duration ¶
func (m *MockAuctionState) Duration() types.AuctionDuration
Duration mocks base method.
func (*MockAuctionState) EXPECT ¶
func (m *MockAuctionState) EXPECT() *MockAuctionStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuctionState) ExpiresAt ¶
func (m *MockAuctionState) ExpiresAt() *time.Time
ExpiresAt mocks base method.
func (*MockAuctionState) ExtendAuctionPrice ¶
func (m *MockAuctionState) ExtendAuctionPrice(arg0 types.AuctionDuration)
ExtendAuctionPrice mocks base method.
func (*MockAuctionState) InAuction ¶
func (m *MockAuctionState) InAuction() bool
InAuction mocks base method.
func (*MockAuctionState) IsOpeningAuction ¶
func (m *MockAuctionState) IsOpeningAuction() bool
IsOpeningAuction mocks base method.
func (*MockAuctionState) IsPriceAuction ¶
func (m *MockAuctionState) IsPriceAuction() bool
IsPriceAuction mocks base method.
func (*MockAuctionState) IsPriceExtension ¶
func (m *MockAuctionState) IsPriceExtension() bool
IsPriceExtension mocks base method.
func (*MockAuctionState) Mode ¶
func (m *MockAuctionState) Mode() vega.Market_TradingMode
Mode mocks base method.
func (*MockAuctionState) SetReadyToLeave ¶
func (m *MockAuctionState) SetReadyToLeave()
SetReadyToLeave mocks base method.
func (*MockAuctionState) Start ¶
func (m *MockAuctionState) Start() time.Time
Start mocks base method.
func (*MockAuctionState) StartPriceAuction ¶
func (m *MockAuctionState) StartPriceAuction(arg0 time.Time, arg1 *types.AuctionDuration)
StartPriceAuction mocks base method.
type MockAuctionStateMockRecorder ¶
type MockAuctionStateMockRecorder struct {
// contains filtered or unexported fields
}
MockAuctionStateMockRecorder is the mock recorder for MockAuctionState.
func (*MockAuctionStateMockRecorder) AuctionStart ¶
func (mr *MockAuctionStateMockRecorder) AuctionStart() *gomock.Call
AuctionStart indicates an expected call of AuctionStart.
func (*MockAuctionStateMockRecorder) CanLeave ¶
func (mr *MockAuctionStateMockRecorder) CanLeave() *gomock.Call
CanLeave indicates an expected call of CanLeave.
func (*MockAuctionStateMockRecorder) Duration ¶
func (mr *MockAuctionStateMockRecorder) Duration() *gomock.Call
Duration indicates an expected call of Duration.
func (*MockAuctionStateMockRecorder) ExpiresAt ¶
func (mr *MockAuctionStateMockRecorder) ExpiresAt() *gomock.Call
ExpiresAt indicates an expected call of ExpiresAt.
func (*MockAuctionStateMockRecorder) ExtendAuctionPrice ¶
func (mr *MockAuctionStateMockRecorder) ExtendAuctionPrice(arg0 interface{}) *gomock.Call
ExtendAuctionPrice indicates an expected call of ExtendAuctionPrice.
func (*MockAuctionStateMockRecorder) InAuction ¶
func (mr *MockAuctionStateMockRecorder) InAuction() *gomock.Call
InAuction indicates an expected call of InAuction.
func (*MockAuctionStateMockRecorder) IsFBA ¶
func (mr *MockAuctionStateMockRecorder) IsFBA() *gomock.Call
IsFBA indicates an expected call of IsFBA.
func (*MockAuctionStateMockRecorder) IsOpeningAuction ¶
func (mr *MockAuctionStateMockRecorder) IsOpeningAuction() *gomock.Call
IsOpeningAuction indicates an expected call of IsOpeningAuction.
func (*MockAuctionStateMockRecorder) IsPriceAuction ¶
func (mr *MockAuctionStateMockRecorder) IsPriceAuction() *gomock.Call
IsPriceAuction indicates an expected call of IsPriceAuction.
func (*MockAuctionStateMockRecorder) IsPriceExtension ¶
func (mr *MockAuctionStateMockRecorder) IsPriceExtension() *gomock.Call
IsPriceExtension indicates an expected call of IsPriceExtension.
func (*MockAuctionStateMockRecorder) Mode ¶
func (mr *MockAuctionStateMockRecorder) Mode() *gomock.Call
Mode indicates an expected call of Mode.
func (*MockAuctionStateMockRecorder) SetReadyToLeave ¶
func (mr *MockAuctionStateMockRecorder) SetReadyToLeave() *gomock.Call
SetReadyToLeave indicates an expected call of SetReadyToLeave.
func (*MockAuctionStateMockRecorder) Start ¶
func (mr *MockAuctionStateMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockAuctionStateMockRecorder) StartPriceAuction ¶
func (mr *MockAuctionStateMockRecorder) StartPriceAuction(arg0, arg1 interface{}) *gomock.Call
StartPriceAuction indicates an expected call of StartPriceAuction.
type MockRangeProvider ¶
type MockRangeProvider struct {
// contains filtered or unexported fields
}
MockRangeProvider is a mock of RangeProvider interface.
func NewMockRangeProvider ¶
func NewMockRangeProvider(ctrl *gomock.Controller) *MockRangeProvider
NewMockRangeProvider creates a new mock instance.
func (*MockRangeProvider) EXPECT ¶
func (m *MockRangeProvider) EXPECT() *MockRangeProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRangeProvider) PriceRange ¶
func (m *MockRangeProvider) PriceRange(arg0, arg1, arg2 decimal.Decimal) (decimal.Decimal, decimal.Decimal)
PriceRange mocks base method.
type MockRangeProviderMockRecorder ¶
type MockRangeProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockRangeProviderMockRecorder is the mock recorder for MockRangeProvider.
func (*MockRangeProviderMockRecorder) PriceRange ¶
func (mr *MockRangeProviderMockRecorder) PriceRange(arg0, arg1, arg2 interface{}) *gomock.Call
PriceRange indicates an expected call of PriceRange.
type MockStateVarEngine ¶
type MockStateVarEngine struct {
// contains filtered or unexported fields
}
MockStateVarEngine is a mock of StateVarEngine interface.
func NewMockStateVarEngine ¶
func NewMockStateVarEngine(ctrl *gomock.Controller) *MockStateVarEngine
NewMockStateVarEngine creates a new mock instance.
func (*MockStateVarEngine) EXPECT ¶
func (m *MockStateVarEngine) EXPECT() *MockStateVarEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStateVarEngine) RegisterStateVariable ¶
func (m *MockStateVarEngine) RegisterStateVariable(arg0, arg1, arg2 string, arg3 statevar.Converter, arg4 func(string, statevar.FinaliseCalculation), arg5 []statevar.EventType, arg6 func(context.Context, statevar.StateVariableResult) error) error
RegisterStateVariable mocks base method.
type MockStateVarEngineMockRecorder ¶
type MockStateVarEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockStateVarEngineMockRecorder is the mock recorder for MockStateVarEngine.
func (*MockStateVarEngineMockRecorder) RegisterStateVariable ¶
func (mr *MockStateVarEngineMockRecorder) RegisterStateVariable(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
RegisterStateVariable indicates an expected call of RegisterStateVariable.