Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockEngine
- func (m *MockEngine) AddPrice(arg0 config.PriceConfig) error
- func (m *MockEngine) AddSource(arg0 config.SourceConfig) error
- func (m *MockEngine) EXPECT() *MockEngineMockRecorder
- func (m *MockEngine) GetPrice(arg0 config.PriceConfig) (pricing.PriceInfo, error)
- func (m *MockEngine) GetPrices() map[config.PriceConfig]pricing.PriceInfo
- func (m *MockEngine) GetSource(arg0 string) (config.SourceConfig, error)
- func (m *MockEngine) GetSources() ([]config.SourceConfig, error)
- func (m *MockEngine) UpdatePrice(arg0 config.PriceConfig, arg1 pricing.PriceInfo)
- func (m *MockEngine) WaitForPrice(arg0 config.PriceConfig) pricing.PriceInfo
- type MockEngineMockRecorder
- func (mr *MockEngineMockRecorder) AddPrice(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) AddSource(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetPrice(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetPrices() *gomock.Call
- func (mr *MockEngineMockRecorder) GetSource(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetSources() *gomock.Call
- func (mr *MockEngineMockRecorder) UpdatePrice(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) WaitForPrice(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEngine ¶
type MockEngine struct {
// contains filtered or unexported fields
}
MockEngine is a mock of Engine interface
func NewMockEngine ¶
func NewMockEngine(ctrl *gomock.Controller) *MockEngine
NewMockEngine creates a new mock instance
func (*MockEngine) AddPrice ¶
func (m *MockEngine) AddPrice(arg0 config.PriceConfig) error
AddPrice mocks base method
func (*MockEngine) AddSource ¶
func (m *MockEngine) AddSource(arg0 config.SourceConfig) error
AddSource mocks base method
func (*MockEngine) EXPECT ¶
func (m *MockEngine) EXPECT() *MockEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEngine) GetPrice ¶
func (m *MockEngine) GetPrice(arg0 config.PriceConfig) (pricing.PriceInfo, error)
GetPrice mocks base method
func (*MockEngine) GetPrices ¶
func (m *MockEngine) GetPrices() map[config.PriceConfig]pricing.PriceInfo
GetPrices mocks base method
func (*MockEngine) GetSource ¶
func (m *MockEngine) GetSource(arg0 string) (config.SourceConfig, error)
GetSource mocks base method
func (*MockEngine) GetSources ¶
func (m *MockEngine) GetSources() ([]config.SourceConfig, error)
GetSources mocks base method
func (*MockEngine) UpdatePrice ¶
func (m *MockEngine) UpdatePrice(arg0 config.PriceConfig, arg1 pricing.PriceInfo)
UpdatePrice mocks base method
func (*MockEngine) WaitForPrice ¶ added in v0.0.3
func (m *MockEngine) WaitForPrice(arg0 config.PriceConfig) pricing.PriceInfo
WaitForPrice mocks base method
type MockEngineMockRecorder ¶
type MockEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockEngineMockRecorder is the mock recorder for MockEngine
func (*MockEngineMockRecorder) AddPrice ¶
func (mr *MockEngineMockRecorder) AddPrice(arg0 interface{}) *gomock.Call
AddPrice indicates an expected call of AddPrice
func (*MockEngineMockRecorder) AddSource ¶
func (mr *MockEngineMockRecorder) AddSource(arg0 interface{}) *gomock.Call
AddSource indicates an expected call of AddSource
func (*MockEngineMockRecorder) GetPrice ¶
func (mr *MockEngineMockRecorder) GetPrice(arg0 interface{}) *gomock.Call
GetPrice indicates an expected call of GetPrice
func (*MockEngineMockRecorder) GetPrices ¶
func (mr *MockEngineMockRecorder) GetPrices() *gomock.Call
GetPrices indicates an expected call of GetPrices
func (*MockEngineMockRecorder) GetSource ¶
func (mr *MockEngineMockRecorder) GetSource(arg0 interface{}) *gomock.Call
GetSource indicates an expected call of GetSource
func (*MockEngineMockRecorder) GetSources ¶
func (mr *MockEngineMockRecorder) GetSources() *gomock.Call
GetSources indicates an expected call of GetSources
func (*MockEngineMockRecorder) UpdatePrice ¶
func (mr *MockEngineMockRecorder) UpdatePrice(arg0, arg1 interface{}) *gomock.Call
UpdatePrice indicates an expected call of UpdatePrice
func (*MockEngineMockRecorder) WaitForPrice ¶ added in v0.0.3
func (mr *MockEngineMockRecorder) WaitForPrice(arg0 interface{}) *gomock.Call
WaitForPrice indicates an expected call of WaitForPrice