Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeIStore
- func (fake *FakeIStore) Add(arg1 context.Context, arg2 vector.AddRequest) error
- func (fake *FakeIStore) AddArgsForCall(i int) (context.Context, vector.AddRequest)
- func (fake *FakeIStore) AddCallCount() int
- func (fake *FakeIStore) AddCalls(stub func(context.Context, vector.AddRequest) error)
- func (fake *FakeIStore) AddReturns(result1 error)
- func (fake *FakeIStore) AddReturnsOnCall(i int, result1 error)
- func (fake *FakeIStore) Close(arg1 context.Context) error
- func (fake *FakeIStore) CloseArgsForCall(i int) context.Context
- func (fake *FakeIStore) CloseCallCount() int
- func (fake *FakeIStore) CloseCalls(stub func(context.Context) error)
- func (fake *FakeIStore) CloseReturns(result1 error)
- func (fake *FakeIStore) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeIStore) Delete(arg1 context.Context, arg2 vector.DeleteRequest) error
- func (fake *FakeIStore) DeleteArgsForCall(i int) (context.Context, vector.DeleteRequest)
- func (fake *FakeIStore) DeleteCallCount() int
- func (fake *FakeIStore) DeleteCalls(stub func(context.Context, vector.DeleteRequest) error)
- func (fake *FakeIStore) DeleteReturns(result1 error)
- func (fake *FakeIStore) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeIStore) Invocations() map[string][][]interface{}
- func (fake *FakeIStore) Search(arg1 context.Context, arg2 vector.SearchRequest) ([]vector.SearchResult, error)
- func (fake *FakeIStore) SearchArgsForCall(i int) (context.Context, vector.SearchRequest)
- func (fake *FakeIStore) SearchCallCount() int
- func (fake *FakeIStore) SearchCalls(...)
- func (fake *FakeIStore) SearchReturns(result1 []vector.SearchResult, result2 error)
- func (fake *FakeIStore) SearchReturnsOnCall(i int, result1 []vector.SearchResult, result2 error)
- func (fake *FakeIStore) Upsert(arg1 context.Context, arg2 vector.UpsertRequest) error
- func (fake *FakeIStore) UpsertArgsForCall(i int) (context.Context, vector.UpsertRequest)
- func (fake *FakeIStore) UpsertCallCount() int
- func (fake *FakeIStore) UpsertCalls(stub func(context.Context, vector.UpsertRequest) error)
- func (fake *FakeIStore) UpsertReturns(result1 error)
- func (fake *FakeIStore) UpsertReturnsOnCall(i int, result1 error)
- type FakeMemoryImportanceScorer
- func (fake *FakeMemoryImportanceScorer) Invocations() map[string][][]interface{}
- func (fake *FakeMemoryImportanceScorer) ScoreText(arg1 context.Context, arg2 string) int
- func (fake *FakeMemoryImportanceScorer) ScoreTextArgsForCall(i int) (context.Context, string)
- func (fake *FakeMemoryImportanceScorer) ScoreTextCallCount() int
- func (fake *FakeMemoryImportanceScorer) ScoreTextCalls(stub func(context.Context, string) int)
- func (fake *FakeMemoryImportanceScorer) ScoreTextReturns(result1 int)
- func (fake *FakeMemoryImportanceScorer) ScoreTextReturnsOnCall(i int, result1 int)
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.AddRequest) error
CloseStub func(context.Context) error
DeleteStub func(context.Context, vector.DeleteRequest) error
SearchStub func(context.Context, vector.SearchRequest) ([]vector.SearchResult, error)
UpsertStub func(context.Context, vector.UpsertRequest) error
// contains filtered or unexported fields
}
func (*FakeIStore) Add ¶
func (fake *FakeIStore) Add(arg1 context.Context, arg2 vector.AddRequest) error
func (*FakeIStore) AddArgsForCall ¶
func (fake *FakeIStore) AddArgsForCall(i int) (context.Context, vector.AddRequest)
func (*FakeIStore) AddCallCount ¶
func (fake *FakeIStore) AddCallCount() int
func (*FakeIStore) AddCalls ¶
func (fake *FakeIStore) AddCalls(stub func(context.Context, vector.AddRequest) error)
func (*FakeIStore) AddReturns ¶
func (fake *FakeIStore) AddReturns(result1 error)
func (*FakeIStore) AddReturnsOnCall ¶
func (fake *FakeIStore) AddReturnsOnCall(i int, result1 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 vector.DeleteRequest) error
func (*FakeIStore) DeleteArgsForCall ¶
func (fake *FakeIStore) DeleteArgsForCall(i int) (context.Context, vector.DeleteRequest)
func (*FakeIStore) DeleteCallCount ¶
func (fake *FakeIStore) DeleteCallCount() int
func (*FakeIStore) DeleteCalls ¶
func (fake *FakeIStore) DeleteCalls(stub func(context.Context, vector.DeleteRequest) 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 vector.SearchRequest) ([]vector.SearchResult, error)
func (*FakeIStore) SearchArgsForCall ¶
func (fake *FakeIStore) SearchArgsForCall(i int) (context.Context, vector.SearchRequest)
func (*FakeIStore) SearchCallCount ¶
func (fake *FakeIStore) SearchCallCount() int
func (*FakeIStore) SearchCalls ¶
func (fake *FakeIStore) SearchCalls(stub func(context.Context, vector.SearchRequest) ([]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) Upsert ¶
func (fake *FakeIStore) Upsert(arg1 context.Context, arg2 vector.UpsertRequest) error
func (*FakeIStore) UpsertArgsForCall ¶
func (fake *FakeIStore) UpsertArgsForCall(i int) (context.Context, vector.UpsertRequest)
func (*FakeIStore) UpsertCallCount ¶
func (fake *FakeIStore) UpsertCallCount() int
func (*FakeIStore) UpsertCalls ¶
func (fake *FakeIStore) UpsertCalls(stub func(context.Context, vector.UpsertRequest) error)
func (*FakeIStore) UpsertReturns ¶
func (fake *FakeIStore) UpsertReturns(result1 error)
func (*FakeIStore) UpsertReturnsOnCall ¶
func (fake *FakeIStore) UpsertReturnsOnCall(i int, result1 error)
type FakeMemoryImportanceScorer ¶
type FakeMemoryImportanceScorer struct {
ScoreTextStub func(context.Context, string) int
// contains filtered or unexported fields
}
func (*FakeMemoryImportanceScorer) Invocations ¶
func (fake *FakeMemoryImportanceScorer) Invocations() map[string][][]interface{}
func (*FakeMemoryImportanceScorer) ScoreText ¶
func (fake *FakeMemoryImportanceScorer) ScoreText(arg1 context.Context, arg2 string) int
func (*FakeMemoryImportanceScorer) ScoreTextArgsForCall ¶
func (fake *FakeMemoryImportanceScorer) ScoreTextArgsForCall(i int) (context.Context, string)
func (*FakeMemoryImportanceScorer) ScoreTextCallCount ¶
func (fake *FakeMemoryImportanceScorer) ScoreTextCallCount() int
func (*FakeMemoryImportanceScorer) ScoreTextCalls ¶
func (fake *FakeMemoryImportanceScorer) ScoreTextCalls(stub func(context.Context, string) int)
func (*FakeMemoryImportanceScorer) ScoreTextReturns ¶
func (fake *FakeMemoryImportanceScorer) ScoreTextReturns(result1 int)
func (*FakeMemoryImportanceScorer) ScoreTextReturnsOnCall ¶
func (fake *FakeMemoryImportanceScorer) ScoreTextReturnsOnCall(i int, result1 int)
Click to show internal directories.
Click to hide internal directories.