Documentation ¶
Index ¶
- type OCRContractTrackerDB
- func (_m *OCRContractTrackerDB) LoadLatestRoundRequested(ctx context.Context) (offchainaggregator.OffchainAggregatorRoundRequested, error)
- func (_m *OCRContractTrackerDB) SaveLatestRoundRequested(ctx context.Context, rr offchainaggregator.OffchainAggregatorRoundRequested) error
- func (_m *OCRContractTrackerDB) WithDataSource(_a0 sqlutil.DataSource) ocr.OCRContractTrackerDB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OCRContractTrackerDB ¶
OCRContractTrackerDB is an autogenerated mock type for the OCRContractTrackerDB type
func NewOCRContractTrackerDB ¶
func NewOCRContractTrackerDB(t interface { mock.TestingT Cleanup(func()) }) *OCRContractTrackerDB
NewOCRContractTrackerDB creates a new instance of OCRContractTrackerDB. 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 (*OCRContractTrackerDB) LoadLatestRoundRequested ¶
func (_m *OCRContractTrackerDB) LoadLatestRoundRequested(ctx context.Context) (offchainaggregator.OffchainAggregatorRoundRequested, error)
LoadLatestRoundRequested provides a mock function with given fields: ctx
func (*OCRContractTrackerDB) SaveLatestRoundRequested ¶
func (_m *OCRContractTrackerDB) SaveLatestRoundRequested(ctx context.Context, rr offchainaggregator.OffchainAggregatorRoundRequested) error
SaveLatestRoundRequested provides a mock function with given fields: ctx, rr
func (*OCRContractTrackerDB) WithDataSource ¶ added in v2.12.0
func (_m *OCRContractTrackerDB) WithDataSource(_a0 sqlutil.DataSource) ocr.OCRContractTrackerDB
WithDataSource provides a mock function with given fields: _a0
Click to show internal directories.
Click to hide internal directories.