pipeline

package
v4.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLogger

type MockLogger struct {
	mock.Mock
}

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

type MockLogger_Execute_Call struct {
	*mock.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 (*MockLogger_Execute_Call) Run

func (*MockLogger_Execute_Call) RunAndReturn

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

type MockOption struct {
	mock.Mock
}

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

type MockOption_Execute_Call struct {
	*mock.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 (*MockOption_Execute_Call) Run

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

type MockTraceFunc struct {
	mock.Mock
}

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

func (*MockTraceFunc) Execute

func (_m *MockTraceFunc) Execute(_a0 *pipeline.State) error

Execute provides a mock function with given fields: _a0

type MockTraceFunc_Execute_Call

type MockTraceFunc_Execute_Call struct {
	*mock.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 (*MockTraceFunc_Execute_Call) Run

func (*MockTraceFunc_Execute_Call) RunAndReturn

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

type MockTracer struct {
	mock.Mock
}

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

func (*MockTracer) Trace

func (_mock *MockTracer) Trace(state *pipeline.State) error

Trace provides a mock function for the type MockTracer

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

type MockTracer_Trace_Call struct {
	*mock.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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL