mocks

package
v1.76.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpanProcessor

type SpanProcessor struct {
	mock.Mock
}

SpanProcessor is an autogenerated mock type for the SpanProcessor type

func NewSpanProcessor added in v1.59.0

func NewSpanProcessor(t interface {
	mock.TestingT
	Cleanup(func())
}) *SpanProcessor

NewSpanProcessor creates a new instance of SpanProcessor. 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 (*SpanProcessor) Close

func (_mock *SpanProcessor) Close() error

Close provides a mock function for the type SpanProcessor

func (*SpanProcessor) EXPECT added in v1.69.0

func (_m *SpanProcessor) EXPECT() *SpanProcessor_Expecter

func (*SpanProcessor) Process

func (_mock *SpanProcessor) Process(input processor.Message) error

Process provides a mock function for the type SpanProcessor

type SpanProcessor_Close_Call added in v1.69.0

type SpanProcessor_Close_Call struct {
	*mock.Call
}

SpanProcessor_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*SpanProcessor_Close_Call) Return added in v1.69.0

func (*SpanProcessor_Close_Call) Run added in v1.69.0

func (*SpanProcessor_Close_Call) RunAndReturn added in v1.69.0

func (_c *SpanProcessor_Close_Call) RunAndReturn(run func() error) *SpanProcessor_Close_Call

type SpanProcessor_Expecter added in v1.69.0

type SpanProcessor_Expecter struct {
	// contains filtered or unexported fields
}

func (*SpanProcessor_Expecter) Close added in v1.69.0

Close is a helper method to define mock.On call

func (*SpanProcessor_Expecter) Process added in v1.69.0

func (_e *SpanProcessor_Expecter) Process(input interface{}) *SpanProcessor_Process_Call

Process is a helper method to define mock.On call

  • input processor.Message

type SpanProcessor_Process_Call added in v1.69.0

type SpanProcessor_Process_Call struct {
	*mock.Call
}

SpanProcessor_Process_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Process'

func (*SpanProcessor_Process_Call) Return added in v1.69.0

func (*SpanProcessor_Process_Call) Run added in v1.69.0

func (*SpanProcessor_Process_Call) RunAndReturn added in v1.69.0

Jump to

Keyboard shortcuts

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