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 ¶
AsyncDeleter is an autogenerated mock type for the asyncDeleter type
func NewAsyncDeleter ¶
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 ¶
func (_m *AsyncDeleter) AsyncDelete(req *pb.TransmitRequest)
AsyncDelete provides a mock function with given fields: req
type MockRunner ¶
type MockRunner struct { Trrs pipeline.TaskRunResults Err error }
type MockTask ¶
type MockTask struct {
// contains filtered or unexported fields
}
func (*MockTask) Inputs ¶
func (m *MockTask) Inputs() []pipeline.TaskDependency
func (*MockTask) OutputIndex ¶
func (*MockTask) TaskMaxBackoff ¶
func (*MockTask) TaskMinBackoff ¶
func (*MockTask) TaskRetries ¶
Click to show internal directories.
Click to hide internal directories.