Documentation
¶
Index ¶
- type MockLogger
- type MockLogger_Execute_Call
- func (_c *MockLogger_Execute_Call) Return(_a0 error) *MockLogger_Execute_Call
- func (_c *MockLogger_Execute_Call) Run(run func(_a0 *types.Step, _a1 io.ReadCloser)) *MockLogger_Execute_Call
- func (_c *MockLogger_Execute_Call) RunAndReturn(run func(*types.Step, io.ReadCloser) error) *MockLogger_Execute_Call
- type MockLogger_Expecter
- type MockOption
- type MockOption_Execute_Call
- type MockOption_Expecter
- type MockTraceFunc
- type MockTraceFunc_Execute_Call
- type MockTraceFunc_Expecter
- type MockTracer
- type MockTracer_Expecter
- type MockTracer_Trace_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLogger ¶
MockLogger is an autogenerated mock type for the Logger type
func NewMockLogger ¶
func NewMockLogger(t interface {
mock.TestingT
Cleanup(func())
}) *MockLogger
NewMockLogger creates a new instance of MockLogger. 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 (*MockLogger) EXPECT ¶
func (_m *MockLogger) EXPECT() *MockLogger_Expecter
func (*MockLogger) Execute ¶
func (_m *MockLogger) Execute(_a0 *types.Step, _a1 io.ReadCloser) error
Execute provides a mock function with given fields: _a0, _a1
type MockLogger_Execute_Call ¶
MockLogger_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockLogger_Execute_Call) Return ¶
func (_c *MockLogger_Execute_Call) Return(_a0 error) *MockLogger_Execute_Call
func (*MockLogger_Execute_Call) Run ¶
func (_c *MockLogger_Execute_Call) Run(run func(_a0 *types.Step, _a1 io.ReadCloser)) *MockLogger_Execute_Call
func (*MockLogger_Execute_Call) RunAndReturn ¶
func (_c *MockLogger_Execute_Call) RunAndReturn(run func(*types.Step, io.ReadCloser) error) *MockLogger_Execute_Call
type MockLogger_Expecter ¶
type MockLogger_Expecter struct {
// contains filtered or unexported fields
}
func (*MockLogger_Expecter) Execute ¶
func (_e *MockLogger_Expecter) Execute(_a0 interface{}, _a1 interface{}) *MockLogger_Execute_Call
Execute is a helper method to define mock.On call
- _a0 *types.Step
- _a1 io.ReadCloser
type MockOption ¶
MockOption is an autogenerated mock type for the Option type
func NewMockOption ¶
func NewMockOption(t interface {
mock.TestingT
Cleanup(func())
}) *MockOption
NewMockOption creates a new instance of MockOption. 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 (*MockOption) EXPECT ¶
func (_m *MockOption) EXPECT() *MockOption_Expecter
func (*MockOption) Execute ¶
func (_m *MockOption) Execute(_a0 *pipeline.Runtime)
Execute provides a mock function with given fields: _a0
type MockOption_Execute_Call ¶
MockOption_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockOption_Execute_Call) Return ¶
func (_c *MockOption_Execute_Call) Return() *MockOption_Execute_Call
func (*MockOption_Execute_Call) Run ¶
func (_c *MockOption_Execute_Call) Run(run func(_a0 *pipeline.Runtime)) *MockOption_Execute_Call
func (*MockOption_Execute_Call) RunAndReturn ¶
func (_c *MockOption_Execute_Call) RunAndReturn(run func(*pipeline.Runtime)) *MockOption_Execute_Call
type MockOption_Expecter ¶
type MockOption_Expecter struct {
// contains filtered or unexported fields
}
func (*MockOption_Expecter) Execute ¶
func (_e *MockOption_Expecter) Execute(_a0 interface{}) *MockOption_Execute_Call
Execute is a helper method to define mock.On call
- _a0 *pipeline.Runtime
type MockTraceFunc ¶
MockTraceFunc is an autogenerated mock type for the TraceFunc type
func NewMockTraceFunc ¶
func NewMockTraceFunc(t interface {
mock.TestingT
Cleanup(func())
}) *MockTraceFunc
NewMockTraceFunc creates a new instance of MockTraceFunc. 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 (*MockTraceFunc) EXPECT ¶
func (_m *MockTraceFunc) EXPECT() *MockTraceFunc_Expecter
type MockTraceFunc_Execute_Call ¶
MockTraceFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockTraceFunc_Execute_Call) Return ¶
func (_c *MockTraceFunc_Execute_Call) Return(_a0 error) *MockTraceFunc_Execute_Call
func (*MockTraceFunc_Execute_Call) Run ¶
func (_c *MockTraceFunc_Execute_Call) Run(run func(_a0 *pipeline.State)) *MockTraceFunc_Execute_Call
func (*MockTraceFunc_Execute_Call) RunAndReturn ¶
func (_c *MockTraceFunc_Execute_Call) RunAndReturn(run func(*pipeline.State) error) *MockTraceFunc_Execute_Call
type MockTraceFunc_Expecter ¶
type MockTraceFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTraceFunc_Expecter) Execute ¶
func (_e *MockTraceFunc_Expecter) Execute(_a0 interface{}) *MockTraceFunc_Execute_Call
Execute is a helper method to define mock.On call
- _a0 *pipeline.State
type MockTracer ¶
MockTracer is an autogenerated mock type for the Tracer type
func NewMockTracer ¶
func NewMockTracer(t interface {
mock.TestingT
Cleanup(func())
}) *MockTracer
NewMockTracer creates a new instance of MockTracer. 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 (*MockTracer) EXPECT ¶
func (_m *MockTracer) EXPECT() *MockTracer_Expecter
type MockTracer_Expecter ¶
type MockTracer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTracer_Expecter) Trace ¶
func (_e *MockTracer_Expecter) Trace(state interface{}) *MockTracer_Trace_Call
Trace is a helper method to define mock.On call
- state *pipeline.State
type MockTracer_Trace_Call ¶
MockTracer_Trace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Trace'
func (*MockTracer_Trace_Call) Return ¶
func (_c *MockTracer_Trace_Call) Return(err error) *MockTracer_Trace_Call
func (*MockTracer_Trace_Call) Run ¶
func (_c *MockTracer_Trace_Call) Run(run func(state *pipeline.State)) *MockTracer_Trace_Call
func (*MockTracer_Trace_Call) RunAndReturn ¶
func (_c *MockTracer_Trace_Call) RunAndReturn(run func(state *pipeline.State) error) *MockTracer_Trace_Call