otelcore

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSettingsSource

type MockSettingsSource struct {
	mock.Mock
}

MockSettingsSource is an autogenerated mock type for the SettingsSource type

func NewMockSettingsSource

func NewMockSettingsSource(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSettingsSource

NewMockSettingsSource creates a new instance of MockSettingsSource. 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 (*MockSettingsSource) Current

func (_mock *MockSettingsSource) Current() *otelcore.Settings

Current provides a mock function for the type MockSettingsSource

func (*MockSettingsSource) EXPECT

func (*MockSettingsSource) Version

func (_mock *MockSettingsSource) Version() uint64

Version provides a mock function for the type MockSettingsSource

type MockSettingsSource_Current_Call

type MockSettingsSource_Current_Call struct {
	*mock.Call
}

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

func (*MockSettingsSource_Current_Call) Return

func (*MockSettingsSource_Current_Call) Run

func (*MockSettingsSource_Current_Call) RunAndReturn

type MockSettingsSource_Expecter

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

func (*MockSettingsSource_Expecter) Current

Current is a helper method to define mock.On call

func (*MockSettingsSource_Expecter) Version

Version is a helper method to define mock.On call

type MockSettingsSource_Version_Call

type MockSettingsSource_Version_Call struct {
	*mock.Call
}

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

func (*MockSettingsSource_Version_Call) Return

func (*MockSettingsSource_Version_Call) Run

func (*MockSettingsSource_Version_Call) RunAndReturn

Jump to

Keyboard shortcuts

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