vectorfakes

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeIStore

type FakeIStore struct {
	AddStub func(context.Context, ...vector.BatchItem) error

	CloseStub func(context.Context) error

	DeleteStub func(context.Context, ...string) error

	SearchStub func(context.Context, string, int) ([]vector.SearchResult, error)

	SearchWithFilterStub func(context.Context, string, int, map[string]string) ([]vector.SearchResult, error)

	UpsertStub func(context.Context, ...vector.BatchItem) error
	// contains filtered or unexported fields
}

func (*FakeIStore) Add

func (fake *FakeIStore) Add(arg1 context.Context, arg2 ...vector.BatchItem) error

func (*FakeIStore) AddArgsForCall

func (fake *FakeIStore) AddArgsForCall(i int) (context.Context, []vector.BatchItem)

func (*FakeIStore) AddCallCount

func (fake *FakeIStore) AddCallCount() int

func (*FakeIStore) AddCalls

func (fake *FakeIStore) AddCalls(stub func(context.Context, ...vector.BatchItem) error)

func (*FakeIStore) AddReturns

func (fake *FakeIStore) AddReturns(result1 error)

func (*FakeIStore) AddReturnsOnCall

func (fake *FakeIStore) AddReturnsOnCall(i int, result1 error)

func (*FakeIStore) Close

func (fake *FakeIStore) Close(arg1 context.Context) error

func (*FakeIStore) CloseArgsForCall

func (fake *FakeIStore) CloseArgsForCall(i int) context.Context

func (*FakeIStore) CloseCallCount

func (fake *FakeIStore) CloseCallCount() int

func (*FakeIStore) CloseCalls

func (fake *FakeIStore) CloseCalls(stub func(context.Context) error)

func (*FakeIStore) CloseReturns

func (fake *FakeIStore) CloseReturns(result1 error)

func (*FakeIStore) CloseReturnsOnCall

func (fake *FakeIStore) CloseReturnsOnCall(i int, result1 error)

func (*FakeIStore) Delete

func (fake *FakeIStore) Delete(arg1 context.Context, arg2 ...string) error

func (*FakeIStore) DeleteArgsForCall

func (fake *FakeIStore) DeleteArgsForCall(i int) (context.Context, []string)

func (*FakeIStore) DeleteCallCount

func (fake *FakeIStore) DeleteCallCount() int

func (*FakeIStore) DeleteCalls

func (fake *FakeIStore) DeleteCalls(stub func(context.Context, ...string) error)

func (*FakeIStore) DeleteReturns

func (fake *FakeIStore) DeleteReturns(result1 error)

func (*FakeIStore) DeleteReturnsOnCall

func (fake *FakeIStore) DeleteReturnsOnCall(i int, result1 error)

func (*FakeIStore) Invocations

func (fake *FakeIStore) Invocations() map[string][][]interface{}

func (*FakeIStore) Search

func (fake *FakeIStore) Search(arg1 context.Context, arg2 string, arg3 int) ([]vector.SearchResult, error)

func (*FakeIStore) SearchArgsForCall

func (fake *FakeIStore) SearchArgsForCall(i int) (context.Context, string, int)

func (*FakeIStore) SearchCallCount

func (fake *FakeIStore) SearchCallCount() int

func (*FakeIStore) SearchCalls

func (fake *FakeIStore) SearchCalls(stub func(context.Context, string, int) ([]vector.SearchResult, error))

func (*FakeIStore) SearchReturns

func (fake *FakeIStore) SearchReturns(result1 []vector.SearchResult, result2 error)

func (*FakeIStore) SearchReturnsOnCall

func (fake *FakeIStore) SearchReturnsOnCall(i int, result1 []vector.SearchResult, result2 error)

func (*FakeIStore) SearchWithFilter

func (fake *FakeIStore) SearchWithFilter(arg1 context.Context, arg2 string, arg3 int, arg4 map[string]string) ([]vector.SearchResult, error)

func (*FakeIStore) SearchWithFilterArgsForCall

func (fake *FakeIStore) SearchWithFilterArgsForCall(i int) (context.Context, string, int, map[string]string)

func (*FakeIStore) SearchWithFilterCallCount

func (fake *FakeIStore) SearchWithFilterCallCount() int

func (*FakeIStore) SearchWithFilterCalls

func (fake *FakeIStore) SearchWithFilterCalls(stub func(context.Context, string, int, map[string]string) ([]vector.SearchResult, error))

func (*FakeIStore) SearchWithFilterReturns

func (fake *FakeIStore) SearchWithFilterReturns(result1 []vector.SearchResult, result2 error)

func (*FakeIStore) SearchWithFilterReturnsOnCall

func (fake *FakeIStore) SearchWithFilterReturnsOnCall(i int, result1 []vector.SearchResult, result2 error)

func (*FakeIStore) Upsert

func (fake *FakeIStore) Upsert(arg1 context.Context, arg2 ...vector.BatchItem) error

func (*FakeIStore) UpsertArgsForCall

func (fake *FakeIStore) UpsertArgsForCall(i int) (context.Context, []vector.BatchItem)

func (*FakeIStore) UpsertCallCount

func (fake *FakeIStore) UpsertCallCount() int

func (*FakeIStore) UpsertCalls

func (fake *FakeIStore) UpsertCalls(stub func(context.Context, ...vector.BatchItem) error)

func (*FakeIStore) UpsertReturns

func (fake *FakeIStore) UpsertReturns(result1 error)

func (*FakeIStore) UpsertReturnsOnCall

func (fake *FakeIStore) UpsertReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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