Documentation ¶
Index ¶
- type AsyncDeleter
- type ChainHeadTracker
- type MockRunner
- type MockTask
- func (m *MockTask) Base() *pipeline.BaseTask
- func (m *MockTask) DotID() string
- func (m *MockTask) ID() int
- func (m *MockTask) Inputs() []pipeline.TaskDependency
- func (m *MockTask) OutputIndex() int32
- func (m *MockTask) Outputs() []pipeline.Task
- func (m *MockTask) Run(ctx context.Context, lggr logger.Logger, vars pipeline.Vars, ...) (pipeline.Result, pipeline.RunInfo)
- func (m *MockTask) TaskMaxBackoff() time.Duration
- func (m *MockTask) TaskMinBackoff() time.Duration
- func (m *MockTask) TaskRetries() uint32
- func (m *MockTask) TaskTimeout() (time.Duration, bool)
- func (m *MockTask) Type() pipeline.TaskType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncDeleter ¶ added in v2.4.0
AsyncDeleter is an autogenerated mock type for the asyncDeleter type
func NewAsyncDeleter ¶ added in v2.4.0
func NewAsyncDeleter(t mockConstructorTestingTNewAsyncDeleter) *AsyncDeleter
NewAsyncDeleter creates a new instance of AsyncDeleter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AsyncDeleter) AsyncDelete ¶ added in v2.4.0
func (_m *AsyncDeleter) AsyncDelete(req *pb.TransmitRequest)
AsyncDelete provides a mock function with given fields: req
type ChainHeadTracker ¶
ChainHeadTracker is an autogenerated mock type for the ChainHeadTracker type
func NewChainHeadTracker ¶
func NewChainHeadTracker(t mockConstructorTestingTNewChainHeadTracker) *ChainHeadTracker
NewChainHeadTracker creates a new instance of ChainHeadTracker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ChainHeadTracker) Client ¶
func (_m *ChainHeadTracker) Client() client.Client
Client provides a mock function with given fields:
func (*ChainHeadTracker) HeadTracker ¶
func (_m *ChainHeadTracker) HeadTracker() commontypes.HeadTracker[*evmtypes.Head, common.Hash]
HeadTracker provides a mock function with given fields:
type MockRunner ¶ added in v2.5.0
type MockRunner struct { Trrs pipeline.TaskRunResults Err error }
type MockTask ¶ added in v2.5.0
type MockTask struct {
// contains filtered or unexported fields
}
func (*MockTask) Inputs ¶ added in v2.5.0
func (m *MockTask) Inputs() []pipeline.TaskDependency