Documentation ¶
Index ¶
- type AsyncDeleter
- 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 interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
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 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
func (*MockTask) OutputIndex ¶ added in v2.5.0
func (*MockTask) TaskMaxBackoff ¶ added in v2.5.0
func (*MockTask) TaskMinBackoff ¶ added in v2.5.0
func (*MockTask) TaskRetries ¶ added in v2.5.0
func (*MockTask) TaskTimeout ¶ added in v2.5.0
Click to show internal directories.
Click to hide internal directories.