Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeIStore
- func (fake *FakeIStore) Add(arg1 context.Context, arg2 ...vector.BatchItem) error
- func (fake *FakeIStore) AddArgsForCall(i int) (context.Context, []vector.BatchItem)
- func (fake *FakeIStore) AddCallCount() int
- func (fake *FakeIStore) AddCalls(stub func(context.Context, ...vector.BatchItem) 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 ...string) error
- func (fake *FakeIStore) DeleteArgsForCall(i int) (context.Context, []string)
- func (fake *FakeIStore) DeleteCallCount() int
- func (fake *FakeIStore) DeleteCalls(stub func(context.Context, ...string) 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 string, arg3 int) ([]vector.SearchResult, error)
- func (fake *FakeIStore) SearchArgsForCall(i int) (context.Context, string, int)
- func (fake *FakeIStore) SearchCallCount() int
- func (fake *FakeIStore) SearchCalls(stub func(context.Context, string, int) ([]vector.SearchResult, error))
- func (fake *FakeIStore) SearchReturns(result1 []vector.SearchResult, result2 error)
- func (fake *FakeIStore) SearchReturnsOnCall(i int, result1 []vector.SearchResult, result2 error)
- func (fake *FakeIStore) SearchWithFilter(arg1 context.Context, arg2 string, arg3 int, arg4 map[string]string) ([]vector.SearchResult, error)
- func (fake *FakeIStore) SearchWithFilterArgsForCall(i int) (context.Context, string, int, map[string]string)
- func (fake *FakeIStore) SearchWithFilterCallCount() int
- func (fake *FakeIStore) SearchWithFilterCalls(...)
- func (fake *FakeIStore) SearchWithFilterReturns(result1 []vector.SearchResult, result2 error)
- func (fake *FakeIStore) SearchWithFilterReturnsOnCall(i int, result1 []vector.SearchResult, result2 error)
- func (fake *FakeIStore) Upsert(arg1 context.Context, arg2 ...vector.BatchItem) error
- func (fake *FakeIStore) UpsertArgsForCall(i int) (context.Context, []vector.BatchItem)
- func (fake *FakeIStore) UpsertCallCount() int
- func (fake *FakeIStore) UpsertCalls(stub func(context.Context, ...vector.BatchItem) error)
- func (fake *FakeIStore) UpsertReturns(result1 error)
- func (fake *FakeIStore) UpsertReturnsOnCall(i int, result1 error)
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) AddArgsForCall ¶
func (*FakeIStore) AddCallCount ¶
func (fake *FakeIStore) AddCallCount() int
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 ...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 (*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 (*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) UpsertArgsForCall ¶
func (*FakeIStore) UpsertCallCount ¶
func (fake *FakeIStore) UpsertCallCount() int
func (*FakeIStore) UpsertCalls ¶
func (*FakeIStore) UpsertReturns ¶
func (fake *FakeIStore) UpsertReturns(result1 error)
func (*FakeIStore) UpsertReturnsOnCall ¶
func (fake *FakeIStore) UpsertReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.