Documentation ¶
Index ¶
- type AsyncDeleter
- type AsyncDeleter_AsyncDelete_Call
- func (_c *AsyncDeleter_AsyncDelete_Call) Return() *AsyncDeleter_AsyncDelete_Call
- func (_c *AsyncDeleter_AsyncDelete_Call) Run(run func(req *pb.TransmitRequest)) *AsyncDeleter_AsyncDelete_Call
- func (_c *AsyncDeleter_AsyncDelete_Call) RunAndReturn(run func(*pb.TransmitRequest)) *AsyncDeleter_AsyncDelete_Call
- type AsyncDeleter_Expecter
- 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
func (*AsyncDeleter) EXPECT ¶ added in v2.15.0
func (_m *AsyncDeleter) EXPECT() *AsyncDeleter_Expecter
type AsyncDeleter_AsyncDelete_Call ¶ added in v2.15.0
AsyncDeleter_AsyncDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsyncDelete'
func (*AsyncDeleter_AsyncDelete_Call) Return ¶ added in v2.15.0
func (_c *AsyncDeleter_AsyncDelete_Call) Return() *AsyncDeleter_AsyncDelete_Call
func (*AsyncDeleter_AsyncDelete_Call) Run ¶ added in v2.15.0
func (_c *AsyncDeleter_AsyncDelete_Call) Run(run func(req *pb.TransmitRequest)) *AsyncDeleter_AsyncDelete_Call
func (*AsyncDeleter_AsyncDelete_Call) RunAndReturn ¶ added in v2.15.0
func (_c *AsyncDeleter_AsyncDelete_Call) RunAndReturn(run func(*pb.TransmitRequest)) *AsyncDeleter_AsyncDelete_Call
type AsyncDeleter_Expecter ¶ added in v2.15.0
type AsyncDeleter_Expecter struct {
// contains filtered or unexported fields
}
func (*AsyncDeleter_Expecter) AsyncDelete ¶ added in v2.15.0
func (_e *AsyncDeleter_Expecter) AsyncDelete(req interface{}) *AsyncDeleter_AsyncDelete_Call
AsyncDelete is a helper method to define mock.On call
- req *pb.TransmitRequest
type MockRunner ¶ added in v2.5.0
type MockRunner struct { Trrs pipeline.TaskRunResults Err error }
func (*MockRunner) ExecuteRun ¶ added in v2.5.0
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.