mocks

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 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 EmbeddingServiceLocator

type EmbeddingServiceLocator struct {
	mock.Mock
}

EmbeddingServiceLocator is an autogenerated mock type for the EmbeddingServiceLocator type

func NewEmbeddingServiceLocator

func NewEmbeddingServiceLocator(t interface {
	mock.TestingT
	Cleanup(func())
}) *EmbeddingServiceLocator

NewEmbeddingServiceLocator creates a new instance of EmbeddingServiceLocator. 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 (*EmbeddingServiceLocator) EXPECT

func (*EmbeddingServiceLocator) GetService

func (_m *EmbeddingServiceLocator) GetService(provider string) (embedding.Creator, error)

GetService provides a mock function with given fields: provider

type EmbeddingServiceLocator_Expecter

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

func (*EmbeddingServiceLocator_Expecter) GetService

func (_e *EmbeddingServiceLocator_Expecter) GetService(provider interface{}) *EmbeddingServiceLocator_GetService_Call

GetService is a helper method to define mock.On call

  • provider string

type EmbeddingServiceLocator_GetService_Call

type EmbeddingServiceLocator_GetService_Call struct {
	*mock.Call
}

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

func (*EmbeddingServiceLocator_GetService_Call) Return

func (*EmbeddingServiceLocator_GetService_Call) Run

func (*EmbeddingServiceLocator_GetService_Call) RunAndReturn

Jump to

Keyboard shortcuts

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