Documentation
¶
Index ¶
- type Engine
- type EngineSession
- type MockEngine
- func (_m *MockEngine) DownloadIngestion(ctx context.Context, object *storage.Object) error
- func (_m *MockEngine) Ingest(ctx context.Context, ingestion *backtest.Ingestion, object *storage.Object) error
- func (_m *MockEngine) NewSession(ctx context.Context, session *backtest.Session) (EngineSession, error)
- type MockEngineSession
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EngineSession ¶
type MockEngine ¶
MockEngine is an autogenerated mock type for the Engine type
func NewMockEngine ¶
func NewMockEngine(t interface { mock.TestingT Cleanup(func()) }) *MockEngine
NewMockEngine creates a new instance of MockEngine. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockEngine) DownloadIngestion ¶
DownloadIngestion provides a mock function with given fields: ctx, object
func (*MockEngine) Ingest ¶
func (_m *MockEngine) Ingest(ctx context.Context, ingestion *backtest.Ingestion, object *storage.Object) error
Ingest provides a mock function with given fields: ctx, ingestion, object
func (*MockEngine) NewSession ¶
func (_m *MockEngine) NewSession(ctx context.Context, session *backtest.Session) (EngineSession, error)
NewSession provides a mock function with given fields: ctx, session
type MockEngineSession ¶
MockEngineSession is an autogenerated mock type for the EngineSession type
func NewMockEngineSession ¶
func NewMockEngineSession(t interface { mock.TestingT Cleanup(func()) }) *MockEngineSession
NewMockEngineSession creates a new instance of MockEngineSession. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockEngineSession) GetResult ¶
func (_m *MockEngineSession) GetResult(ctx context.Context) (*backtest.GetResultResponse, error)
GetResult provides a mock function with given fields: ctx