Documentation ¶
Index ¶
- type MockVectorSearchEndpointsInterface
- func (_m *MockVectorSearchEndpointsInterface) CreateEndpoint(ctx context.Context, createEndpoint vectorsearch.CreateEndpoint) (...)
- func (_m *MockVectorSearchEndpointsInterface) CreateEndpointAndWait(ctx context.Context, createEndpoint vectorsearch.CreateEndpoint, ...) (*vectorsearch.EndpointInfo, error)
- func (_m *MockVectorSearchEndpointsInterface) DeleteEndpoint(ctx context.Context, request vectorsearch.DeleteEndpointRequest) error
- func (_m *MockVectorSearchEndpointsInterface) DeleteEndpointByEndpointName(ctx context.Context, endpointName string) error
- func (_m *MockVectorSearchEndpointsInterface) EXPECT() *MockVectorSearchEndpointsInterface_Expecter
- func (_m *MockVectorSearchEndpointsInterface) GetEndpoint(ctx context.Context, request vectorsearch.GetEndpointRequest) (*vectorsearch.EndpointInfo, error)
- func (_m *MockVectorSearchEndpointsInterface) GetEndpointByEndpointName(ctx context.Context, endpointName string) (*vectorsearch.EndpointInfo, error)
- func (_m *MockVectorSearchEndpointsInterface) Impl() vectorsearch.VectorSearchEndpointsService
- func (_m *MockVectorSearchEndpointsInterface) ListEndpoints(ctx context.Context, request vectorsearch.ListEndpointsRequest) listing.Iterator[vectorsearch.EndpointInfo]
- func (_m *MockVectorSearchEndpointsInterface) ListEndpointsAll(ctx context.Context, request vectorsearch.ListEndpointsRequest) ([]vectorsearch.EndpointInfo, error)
- func (_m *MockVectorSearchEndpointsInterface) WaitGetEndpointVectorSearchEndpointOnline(ctx context.Context, endpointName string, timeout time.Duration, ...) (*vectorsearch.EndpointInfo, error)
- func (_m *MockVectorSearchEndpointsInterface) WithImpl(impl vectorsearch.VectorSearchEndpointsService) vectorsearch.VectorSearchEndpointsInterface
- type MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call
- func (_c *MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call) Return(_a0 *vectorsearch.EndpointInfo, _a1 error) *MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call
- func (_c *MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call) Run(run func(ctx context.Context, createEndpoint vectorsearch.CreateEndpoint, ...)) *MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call
- func (_c *MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call) RunAndReturn(...) *MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call
- type MockVectorSearchEndpointsInterface_CreateEndpoint_Call
- func (_c *MockVectorSearchEndpointsInterface_CreateEndpoint_Call) Return(...) *MockVectorSearchEndpointsInterface_CreateEndpoint_Call
- func (_c *MockVectorSearchEndpointsInterface_CreateEndpoint_Call) Run(run func(ctx context.Context, createEndpoint vectorsearch.CreateEndpoint)) *MockVectorSearchEndpointsInterface_CreateEndpoint_Call
- func (_c *MockVectorSearchEndpointsInterface_CreateEndpoint_Call) RunAndReturn(run func(context.Context, vectorsearch.CreateEndpoint) (...)) *MockVectorSearchEndpointsInterface_CreateEndpoint_Call
- type MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call
- func (_c *MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call) Return(_a0 error) *MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call
- func (_c *MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call) Run(run func(ctx context.Context, endpointName string)) *MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call
- func (_c *MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call) RunAndReturn(run func(context.Context, string) error) *MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call
- type MockVectorSearchEndpointsInterface_DeleteEndpoint_Call
- func (_c *MockVectorSearchEndpointsInterface_DeleteEndpoint_Call) Return(_a0 error) *MockVectorSearchEndpointsInterface_DeleteEndpoint_Call
- func (_c *MockVectorSearchEndpointsInterface_DeleteEndpoint_Call) Run(run func(ctx context.Context, request vectorsearch.DeleteEndpointRequest)) *MockVectorSearchEndpointsInterface_DeleteEndpoint_Call
- func (_c *MockVectorSearchEndpointsInterface_DeleteEndpoint_Call) RunAndReturn(run func(context.Context, vectorsearch.DeleteEndpointRequest) error) *MockVectorSearchEndpointsInterface_DeleteEndpoint_Call
- type MockVectorSearchEndpointsInterface_Expecter
- func (_e *MockVectorSearchEndpointsInterface_Expecter) CreateEndpoint(ctx interface{}, createEndpoint interface{}) *MockVectorSearchEndpointsInterface_CreateEndpoint_Call
- func (_e *MockVectorSearchEndpointsInterface_Expecter) CreateEndpointAndWait(ctx interface{}, createEndpoint interface{}, options ...interface{}) *MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call
- func (_e *MockVectorSearchEndpointsInterface_Expecter) DeleteEndpoint(ctx interface{}, request interface{}) *MockVectorSearchEndpointsInterface_DeleteEndpoint_Call
- func (_e *MockVectorSearchEndpointsInterface_Expecter) DeleteEndpointByEndpointName(ctx interface{}, endpointName interface{}) *MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call
- func (_e *MockVectorSearchEndpointsInterface_Expecter) GetEndpoint(ctx interface{}, request interface{}) *MockVectorSearchEndpointsInterface_GetEndpoint_Call
- func (_e *MockVectorSearchEndpointsInterface_Expecter) GetEndpointByEndpointName(ctx interface{}, endpointName interface{}) *MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call
- func (_e *MockVectorSearchEndpointsInterface_Expecter) Impl() *MockVectorSearchEndpointsInterface_Impl_Call
- func (_e *MockVectorSearchEndpointsInterface_Expecter) ListEndpoints(ctx interface{}, request interface{}) *MockVectorSearchEndpointsInterface_ListEndpoints_Call
- func (_e *MockVectorSearchEndpointsInterface_Expecter) ListEndpointsAll(ctx interface{}, request interface{}) *MockVectorSearchEndpointsInterface_ListEndpointsAll_Call
- func (_e *MockVectorSearchEndpointsInterface_Expecter) WaitGetEndpointVectorSearchEndpointOnline(ctx interface{}, endpointName interface{}, timeout interface{}, ...) ...
- func (_e *MockVectorSearchEndpointsInterface_Expecter) WithImpl(impl interface{}) *MockVectorSearchEndpointsInterface_WithImpl_Call
- type MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call
- func (_c *MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call) Return(_a0 *vectorsearch.EndpointInfo, _a1 error) *MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call
- func (_c *MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call) Run(run func(ctx context.Context, endpointName string)) *MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call
- func (_c *MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call) RunAndReturn(run func(context.Context, string) (*vectorsearch.EndpointInfo, error)) *MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call
- type MockVectorSearchEndpointsInterface_GetEndpoint_Call
- func (_c *MockVectorSearchEndpointsInterface_GetEndpoint_Call) Return(_a0 *vectorsearch.EndpointInfo, _a1 error) *MockVectorSearchEndpointsInterface_GetEndpoint_Call
- func (_c *MockVectorSearchEndpointsInterface_GetEndpoint_Call) Run(run func(ctx context.Context, request vectorsearch.GetEndpointRequest)) *MockVectorSearchEndpointsInterface_GetEndpoint_Call
- func (_c *MockVectorSearchEndpointsInterface_GetEndpoint_Call) RunAndReturn(...) *MockVectorSearchEndpointsInterface_GetEndpoint_Call
- type MockVectorSearchEndpointsInterface_Impl_Call
- func (_c *MockVectorSearchEndpointsInterface_Impl_Call) Return(_a0 vectorsearch.VectorSearchEndpointsService) *MockVectorSearchEndpointsInterface_Impl_Call
- func (_c *MockVectorSearchEndpointsInterface_Impl_Call) Run(run func()) *MockVectorSearchEndpointsInterface_Impl_Call
- func (_c *MockVectorSearchEndpointsInterface_Impl_Call) RunAndReturn(run func() vectorsearch.VectorSearchEndpointsService) *MockVectorSearchEndpointsInterface_Impl_Call
- type MockVectorSearchEndpointsInterface_ListEndpointsAll_Call
- func (_c *MockVectorSearchEndpointsInterface_ListEndpointsAll_Call) Return(_a0 []vectorsearch.EndpointInfo, _a1 error) *MockVectorSearchEndpointsInterface_ListEndpointsAll_Call
- func (_c *MockVectorSearchEndpointsInterface_ListEndpointsAll_Call) Run(run func(ctx context.Context, request vectorsearch.ListEndpointsRequest)) *MockVectorSearchEndpointsInterface_ListEndpointsAll_Call
- func (_c *MockVectorSearchEndpointsInterface_ListEndpointsAll_Call) RunAndReturn(...) *MockVectorSearchEndpointsInterface_ListEndpointsAll_Call
- type MockVectorSearchEndpointsInterface_ListEndpoints_Call
- func (_c *MockVectorSearchEndpointsInterface_ListEndpoints_Call) Return(_a0 listing.Iterator[vectorsearch.EndpointInfo]) *MockVectorSearchEndpointsInterface_ListEndpoints_Call
- func (_c *MockVectorSearchEndpointsInterface_ListEndpoints_Call) Run(run func(ctx context.Context, request vectorsearch.ListEndpointsRequest)) *MockVectorSearchEndpointsInterface_ListEndpoints_Call
- func (_c *MockVectorSearchEndpointsInterface_ListEndpoints_Call) RunAndReturn(...) *MockVectorSearchEndpointsInterface_ListEndpoints_Call
- type MockVectorSearchEndpointsInterface_WaitGetEndpointVectorSearchEndpointOnline_Call
- func (_c *MockVectorSearchEndpointsInterface_WaitGetEndpointVectorSearchEndpointOnline_Call) Return(_a0 *vectorsearch.EndpointInfo, _a1 error) ...
- func (_c *MockVectorSearchEndpointsInterface_WaitGetEndpointVectorSearchEndpointOnline_Call) Run(run func(ctx context.Context, endpointName string, timeout time.Duration, ...)) ...
- func (_c *MockVectorSearchEndpointsInterface_WaitGetEndpointVectorSearchEndpointOnline_Call) RunAndReturn(...) ...
- type MockVectorSearchEndpointsInterface_WithImpl_Call
- func (_c *MockVectorSearchEndpointsInterface_WithImpl_Call) Return(_a0 vectorsearch.VectorSearchEndpointsInterface) *MockVectorSearchEndpointsInterface_WithImpl_Call
- func (_c *MockVectorSearchEndpointsInterface_WithImpl_Call) Run(run func(impl vectorsearch.VectorSearchEndpointsService)) *MockVectorSearchEndpointsInterface_WithImpl_Call
- func (_c *MockVectorSearchEndpointsInterface_WithImpl_Call) RunAndReturn(...) *MockVectorSearchEndpointsInterface_WithImpl_Call
- type MockVectorSearchIndexesInterface
- func (_m *MockVectorSearchIndexesInterface) CreateIndex(ctx context.Context, request vectorsearch.CreateVectorIndexRequest) (*vectorsearch.CreateVectorIndexResponse, error)
- func (_m *MockVectorSearchIndexesInterface) DeleteDataVectorIndex(ctx context.Context, request vectorsearch.DeleteDataVectorIndexRequest) (*vectorsearch.DeleteDataVectorIndexResponse, error)
- func (_m *MockVectorSearchIndexesInterface) DeleteIndex(ctx context.Context, request vectorsearch.DeleteIndexRequest) error
- func (_m *MockVectorSearchIndexesInterface) DeleteIndexByIndexName(ctx context.Context, indexName string) error
- func (_m *MockVectorSearchIndexesInterface) EXPECT() *MockVectorSearchIndexesInterface_Expecter
- func (_m *MockVectorSearchIndexesInterface) GetIndex(ctx context.Context, request vectorsearch.GetIndexRequest) (*vectorsearch.VectorIndex, error)
- func (_m *MockVectorSearchIndexesInterface) GetIndexByIndexName(ctx context.Context, indexName string) (*vectorsearch.VectorIndex, error)
- func (_m *MockVectorSearchIndexesInterface) Impl() vectorsearch.VectorSearchIndexesService
- func (_m *MockVectorSearchIndexesInterface) ListIndexes(ctx context.Context, request vectorsearch.ListIndexesRequest) listing.Iterator[vectorsearch.MiniVectorIndex]
- func (_m *MockVectorSearchIndexesInterface) ListIndexesAll(ctx context.Context, request vectorsearch.ListIndexesRequest) ([]vectorsearch.MiniVectorIndex, error)
- func (_m *MockVectorSearchIndexesInterface) QueryIndex(ctx context.Context, request vectorsearch.QueryVectorIndexRequest) (*vectorsearch.QueryVectorIndexResponse, error)
- func (_m *MockVectorSearchIndexesInterface) SyncIndex(ctx context.Context, request vectorsearch.SyncIndexRequest) error
- func (_m *MockVectorSearchIndexesInterface) UpsertDataVectorIndex(ctx context.Context, request vectorsearch.UpsertDataVectorIndexRequest) (*vectorsearch.UpsertDataVectorIndexResponse, error)
- func (_m *MockVectorSearchIndexesInterface) WithImpl(impl vectorsearch.VectorSearchIndexesService) vectorsearch.VectorSearchIndexesInterface
- type MockVectorSearchIndexesInterface_CreateIndex_Call
- func (_c *MockVectorSearchIndexesInterface_CreateIndex_Call) Return(_a0 *vectorsearch.CreateVectorIndexResponse, _a1 error) *MockVectorSearchIndexesInterface_CreateIndex_Call
- func (_c *MockVectorSearchIndexesInterface_CreateIndex_Call) Run(run func(ctx context.Context, request vectorsearch.CreateVectorIndexRequest)) *MockVectorSearchIndexesInterface_CreateIndex_Call
- func (_c *MockVectorSearchIndexesInterface_CreateIndex_Call) RunAndReturn(...) *MockVectorSearchIndexesInterface_CreateIndex_Call
- type MockVectorSearchIndexesInterface_DeleteDataVectorIndex_Call
- func (_c *MockVectorSearchIndexesInterface_DeleteDataVectorIndex_Call) Return(_a0 *vectorsearch.DeleteDataVectorIndexResponse, _a1 error) *MockVectorSearchIndexesInterface_DeleteDataVectorIndex_Call
- func (_c *MockVectorSearchIndexesInterface_DeleteDataVectorIndex_Call) Run(...) *MockVectorSearchIndexesInterface_DeleteDataVectorIndex_Call
- func (_c *MockVectorSearchIndexesInterface_DeleteDataVectorIndex_Call) RunAndReturn(...) *MockVectorSearchIndexesInterface_DeleteDataVectorIndex_Call
- type MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call
- func (_c *MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call) Return(_a0 error) *MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call
- func (_c *MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call) Run(run func(ctx context.Context, indexName string)) *MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call
- func (_c *MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call) RunAndReturn(run func(context.Context, string) error) *MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call
- type MockVectorSearchIndexesInterface_DeleteIndex_Call
- func (_c *MockVectorSearchIndexesInterface_DeleteIndex_Call) Return(_a0 error) *MockVectorSearchIndexesInterface_DeleteIndex_Call
- func (_c *MockVectorSearchIndexesInterface_DeleteIndex_Call) Run(run func(ctx context.Context, request vectorsearch.DeleteIndexRequest)) *MockVectorSearchIndexesInterface_DeleteIndex_Call
- func (_c *MockVectorSearchIndexesInterface_DeleteIndex_Call) RunAndReturn(run func(context.Context, vectorsearch.DeleteIndexRequest) error) *MockVectorSearchIndexesInterface_DeleteIndex_Call
- type MockVectorSearchIndexesInterface_Expecter
- func (_e *MockVectorSearchIndexesInterface_Expecter) CreateIndex(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_CreateIndex_Call
- func (_e *MockVectorSearchIndexesInterface_Expecter) DeleteDataVectorIndex(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_DeleteDataVectorIndex_Call
- func (_e *MockVectorSearchIndexesInterface_Expecter) DeleteIndex(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_DeleteIndex_Call
- func (_e *MockVectorSearchIndexesInterface_Expecter) DeleteIndexByIndexName(ctx interface{}, indexName interface{}) *MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call
- func (_e *MockVectorSearchIndexesInterface_Expecter) GetIndex(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_GetIndex_Call
- func (_e *MockVectorSearchIndexesInterface_Expecter) GetIndexByIndexName(ctx interface{}, indexName interface{}) *MockVectorSearchIndexesInterface_GetIndexByIndexName_Call
- func (_e *MockVectorSearchIndexesInterface_Expecter) Impl() *MockVectorSearchIndexesInterface_Impl_Call
- func (_e *MockVectorSearchIndexesInterface_Expecter) ListIndexes(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_ListIndexes_Call
- func (_e *MockVectorSearchIndexesInterface_Expecter) ListIndexesAll(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_ListIndexesAll_Call
- func (_e *MockVectorSearchIndexesInterface_Expecter) QueryIndex(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_QueryIndex_Call
- func (_e *MockVectorSearchIndexesInterface_Expecter) SyncIndex(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_SyncIndex_Call
- func (_e *MockVectorSearchIndexesInterface_Expecter) UpsertDataVectorIndex(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_UpsertDataVectorIndex_Call
- func (_e *MockVectorSearchIndexesInterface_Expecter) WithImpl(impl interface{}) *MockVectorSearchIndexesInterface_WithImpl_Call
- type MockVectorSearchIndexesInterface_GetIndexByIndexName_Call
- func (_c *MockVectorSearchIndexesInterface_GetIndexByIndexName_Call) Return(_a0 *vectorsearch.VectorIndex, _a1 error) *MockVectorSearchIndexesInterface_GetIndexByIndexName_Call
- func (_c *MockVectorSearchIndexesInterface_GetIndexByIndexName_Call) Run(run func(ctx context.Context, indexName string)) *MockVectorSearchIndexesInterface_GetIndexByIndexName_Call
- func (_c *MockVectorSearchIndexesInterface_GetIndexByIndexName_Call) RunAndReturn(run func(context.Context, string) (*vectorsearch.VectorIndex, error)) *MockVectorSearchIndexesInterface_GetIndexByIndexName_Call
- type MockVectorSearchIndexesInterface_GetIndex_Call
- func (_c *MockVectorSearchIndexesInterface_GetIndex_Call) Return(_a0 *vectorsearch.VectorIndex, _a1 error) *MockVectorSearchIndexesInterface_GetIndex_Call
- func (_c *MockVectorSearchIndexesInterface_GetIndex_Call) Run(run func(ctx context.Context, request vectorsearch.GetIndexRequest)) *MockVectorSearchIndexesInterface_GetIndex_Call
- func (_c *MockVectorSearchIndexesInterface_GetIndex_Call) RunAndReturn(...) *MockVectorSearchIndexesInterface_GetIndex_Call
- type MockVectorSearchIndexesInterface_Impl_Call
- func (_c *MockVectorSearchIndexesInterface_Impl_Call) Return(_a0 vectorsearch.VectorSearchIndexesService) *MockVectorSearchIndexesInterface_Impl_Call
- func (_c *MockVectorSearchIndexesInterface_Impl_Call) Run(run func()) *MockVectorSearchIndexesInterface_Impl_Call
- func (_c *MockVectorSearchIndexesInterface_Impl_Call) RunAndReturn(run func() vectorsearch.VectorSearchIndexesService) *MockVectorSearchIndexesInterface_Impl_Call
- type MockVectorSearchIndexesInterface_ListIndexesAll_Call
- func (_c *MockVectorSearchIndexesInterface_ListIndexesAll_Call) Return(_a0 []vectorsearch.MiniVectorIndex, _a1 error) *MockVectorSearchIndexesInterface_ListIndexesAll_Call
- func (_c *MockVectorSearchIndexesInterface_ListIndexesAll_Call) Run(run func(ctx context.Context, request vectorsearch.ListIndexesRequest)) *MockVectorSearchIndexesInterface_ListIndexesAll_Call
- func (_c *MockVectorSearchIndexesInterface_ListIndexesAll_Call) RunAndReturn(...) *MockVectorSearchIndexesInterface_ListIndexesAll_Call
- type MockVectorSearchIndexesInterface_ListIndexes_Call
- func (_c *MockVectorSearchIndexesInterface_ListIndexes_Call) Return(_a0 listing.Iterator[vectorsearch.MiniVectorIndex]) *MockVectorSearchIndexesInterface_ListIndexes_Call
- func (_c *MockVectorSearchIndexesInterface_ListIndexes_Call) Run(run func(ctx context.Context, request vectorsearch.ListIndexesRequest)) *MockVectorSearchIndexesInterface_ListIndexes_Call
- func (_c *MockVectorSearchIndexesInterface_ListIndexes_Call) RunAndReturn(...) *MockVectorSearchIndexesInterface_ListIndexes_Call
- type MockVectorSearchIndexesInterface_QueryIndex_Call
- func (_c *MockVectorSearchIndexesInterface_QueryIndex_Call) Return(_a0 *vectorsearch.QueryVectorIndexResponse, _a1 error) *MockVectorSearchIndexesInterface_QueryIndex_Call
- func (_c *MockVectorSearchIndexesInterface_QueryIndex_Call) Run(run func(ctx context.Context, request vectorsearch.QueryVectorIndexRequest)) *MockVectorSearchIndexesInterface_QueryIndex_Call
- func (_c *MockVectorSearchIndexesInterface_QueryIndex_Call) RunAndReturn(...) *MockVectorSearchIndexesInterface_QueryIndex_Call
- type MockVectorSearchIndexesInterface_SyncIndex_Call
- func (_c *MockVectorSearchIndexesInterface_SyncIndex_Call) Return(_a0 error) *MockVectorSearchIndexesInterface_SyncIndex_Call
- func (_c *MockVectorSearchIndexesInterface_SyncIndex_Call) Run(run func(ctx context.Context, request vectorsearch.SyncIndexRequest)) *MockVectorSearchIndexesInterface_SyncIndex_Call
- func (_c *MockVectorSearchIndexesInterface_SyncIndex_Call) RunAndReturn(run func(context.Context, vectorsearch.SyncIndexRequest) error) *MockVectorSearchIndexesInterface_SyncIndex_Call
- type MockVectorSearchIndexesInterface_UpsertDataVectorIndex_Call
- func (_c *MockVectorSearchIndexesInterface_UpsertDataVectorIndex_Call) Return(_a0 *vectorsearch.UpsertDataVectorIndexResponse, _a1 error) *MockVectorSearchIndexesInterface_UpsertDataVectorIndex_Call
- func (_c *MockVectorSearchIndexesInterface_UpsertDataVectorIndex_Call) Run(...) *MockVectorSearchIndexesInterface_UpsertDataVectorIndex_Call
- func (_c *MockVectorSearchIndexesInterface_UpsertDataVectorIndex_Call) RunAndReturn(...) *MockVectorSearchIndexesInterface_UpsertDataVectorIndex_Call
- type MockVectorSearchIndexesInterface_WithImpl_Call
- func (_c *MockVectorSearchIndexesInterface_WithImpl_Call) Return(_a0 vectorsearch.VectorSearchIndexesInterface) *MockVectorSearchIndexesInterface_WithImpl_Call
- func (_c *MockVectorSearchIndexesInterface_WithImpl_Call) Run(run func(impl vectorsearch.VectorSearchIndexesService)) *MockVectorSearchIndexesInterface_WithImpl_Call
- func (_c *MockVectorSearchIndexesInterface_WithImpl_Call) RunAndReturn(...) *MockVectorSearchIndexesInterface_WithImpl_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockVectorSearchEndpointsInterface ¶
MockVectorSearchEndpointsInterface is an autogenerated mock type for the VectorSearchEndpointsInterface type
func NewMockVectorSearchEndpointsInterface ¶
func NewMockVectorSearchEndpointsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockVectorSearchEndpointsInterface
NewMockVectorSearchEndpointsInterface creates a new instance of MockVectorSearchEndpointsInterface. 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 (*MockVectorSearchEndpointsInterface) CreateEndpoint ¶
func (_m *MockVectorSearchEndpointsInterface) CreateEndpoint(ctx context.Context, createEndpoint vectorsearch.CreateEndpoint) (*vectorsearch.WaitGetEndpointVectorSearchEndpointOnline[vectorsearch.EndpointInfo], error)
CreateEndpoint provides a mock function with given fields: ctx, createEndpoint
func (*MockVectorSearchEndpointsInterface) CreateEndpointAndWait ¶
func (_m *MockVectorSearchEndpointsInterface) CreateEndpointAndWait(ctx context.Context, createEndpoint vectorsearch.CreateEndpoint, options ...retries.Option[vectorsearch.EndpointInfo]) (*vectorsearch.EndpointInfo, error)
CreateEndpointAndWait provides a mock function with given fields: ctx, createEndpoint, options
func (*MockVectorSearchEndpointsInterface) DeleteEndpoint ¶
func (_m *MockVectorSearchEndpointsInterface) DeleteEndpoint(ctx context.Context, request vectorsearch.DeleteEndpointRequest) error
DeleteEndpoint provides a mock function with given fields: ctx, request
func (*MockVectorSearchEndpointsInterface) DeleteEndpointByEndpointName ¶
func (_m *MockVectorSearchEndpointsInterface) DeleteEndpointByEndpointName(ctx context.Context, endpointName string) error
DeleteEndpointByEndpointName provides a mock function with given fields: ctx, endpointName
func (*MockVectorSearchEndpointsInterface) EXPECT ¶
func (_m *MockVectorSearchEndpointsInterface) EXPECT() *MockVectorSearchEndpointsInterface_Expecter
func (*MockVectorSearchEndpointsInterface) GetEndpoint ¶
func (_m *MockVectorSearchEndpointsInterface) GetEndpoint(ctx context.Context, request vectorsearch.GetEndpointRequest) (*vectorsearch.EndpointInfo, error)
GetEndpoint provides a mock function with given fields: ctx, request
func (*MockVectorSearchEndpointsInterface) GetEndpointByEndpointName ¶
func (_m *MockVectorSearchEndpointsInterface) GetEndpointByEndpointName(ctx context.Context, endpointName string) (*vectorsearch.EndpointInfo, error)
GetEndpointByEndpointName provides a mock function with given fields: ctx, endpointName
func (*MockVectorSearchEndpointsInterface) Impl ¶
func (_m *MockVectorSearchEndpointsInterface) Impl() vectorsearch.VectorSearchEndpointsService
Impl provides a mock function with given fields:
func (*MockVectorSearchEndpointsInterface) ListEndpoints ¶
func (_m *MockVectorSearchEndpointsInterface) ListEndpoints(ctx context.Context, request vectorsearch.ListEndpointsRequest) listing.Iterator[vectorsearch.EndpointInfo]
ListEndpoints provides a mock function with given fields: ctx, request
func (*MockVectorSearchEndpointsInterface) ListEndpointsAll ¶
func (_m *MockVectorSearchEndpointsInterface) ListEndpointsAll(ctx context.Context, request vectorsearch.ListEndpointsRequest) ([]vectorsearch.EndpointInfo, error)
ListEndpointsAll provides a mock function with given fields: ctx, request
func (*MockVectorSearchEndpointsInterface) WaitGetEndpointVectorSearchEndpointOnline ¶
func (_m *MockVectorSearchEndpointsInterface) WaitGetEndpointVectorSearchEndpointOnline(ctx context.Context, endpointName string, timeout time.Duration, callback func(*vectorsearch.EndpointInfo)) (*vectorsearch.EndpointInfo, error)
WaitGetEndpointVectorSearchEndpointOnline provides a mock function with given fields: ctx, endpointName, timeout, callback
func (*MockVectorSearchEndpointsInterface) WithImpl ¶
func (_m *MockVectorSearchEndpointsInterface) WithImpl(impl vectorsearch.VectorSearchEndpointsService) vectorsearch.VectorSearchEndpointsInterface
WithImpl provides a mock function with given fields: impl
type MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call ¶
MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEndpointAndWait'
func (*MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call) Run ¶
func (_c *MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call) Run(run func(ctx context.Context, createEndpoint vectorsearch.CreateEndpoint, options ...retries.Option[vectorsearch.EndpointInfo])) *MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call
func (*MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call) RunAndReturn ¶
func (_c *MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call) RunAndReturn(run func(context.Context, vectorsearch.CreateEndpoint, ...retries.Option[vectorsearch.EndpointInfo]) (*vectorsearch.EndpointInfo, error)) *MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call
type MockVectorSearchEndpointsInterface_CreateEndpoint_Call ¶
MockVectorSearchEndpointsInterface_CreateEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEndpoint'
func (*MockVectorSearchEndpointsInterface_CreateEndpoint_Call) Run ¶
func (_c *MockVectorSearchEndpointsInterface_CreateEndpoint_Call) Run(run func(ctx context.Context, createEndpoint vectorsearch.CreateEndpoint)) *MockVectorSearchEndpointsInterface_CreateEndpoint_Call
func (*MockVectorSearchEndpointsInterface_CreateEndpoint_Call) RunAndReturn ¶
type MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call ¶
MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEndpointByEndpointName'
func (*MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call) Run ¶
func (_c *MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call) Run(run func(ctx context.Context, endpointName string)) *MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call
func (*MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call) RunAndReturn ¶
func (_c *MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call) RunAndReturn(run func(context.Context, string) error) *MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call
type MockVectorSearchEndpointsInterface_DeleteEndpoint_Call ¶
MockVectorSearchEndpointsInterface_DeleteEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEndpoint'
func (*MockVectorSearchEndpointsInterface_DeleteEndpoint_Call) Run ¶
func (_c *MockVectorSearchEndpointsInterface_DeleteEndpoint_Call) Run(run func(ctx context.Context, request vectorsearch.DeleteEndpointRequest)) *MockVectorSearchEndpointsInterface_DeleteEndpoint_Call
func (*MockVectorSearchEndpointsInterface_DeleteEndpoint_Call) RunAndReturn ¶
func (_c *MockVectorSearchEndpointsInterface_DeleteEndpoint_Call) RunAndReturn(run func(context.Context, vectorsearch.DeleteEndpointRequest) error) *MockVectorSearchEndpointsInterface_DeleteEndpoint_Call
type MockVectorSearchEndpointsInterface_Expecter ¶
type MockVectorSearchEndpointsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockVectorSearchEndpointsInterface_Expecter) CreateEndpoint ¶
func (_e *MockVectorSearchEndpointsInterface_Expecter) CreateEndpoint(ctx interface{}, createEndpoint interface{}) *MockVectorSearchEndpointsInterface_CreateEndpoint_Call
CreateEndpoint is a helper method to define mock.On call
- ctx context.Context
- createEndpoint vectorsearch.CreateEndpoint
func (*MockVectorSearchEndpointsInterface_Expecter) CreateEndpointAndWait ¶
func (_e *MockVectorSearchEndpointsInterface_Expecter) CreateEndpointAndWait(ctx interface{}, createEndpoint interface{}, options ...interface{}) *MockVectorSearchEndpointsInterface_CreateEndpointAndWait_Call
CreateEndpointAndWait is a helper method to define mock.On call
- ctx context.Context
- createEndpoint vectorsearch.CreateEndpoint
- options ...retries.Option[vectorsearch.EndpointInfo]
func (*MockVectorSearchEndpointsInterface_Expecter) DeleteEndpoint ¶
func (_e *MockVectorSearchEndpointsInterface_Expecter) DeleteEndpoint(ctx interface{}, request interface{}) *MockVectorSearchEndpointsInterface_DeleteEndpoint_Call
DeleteEndpoint is a helper method to define mock.On call
- ctx context.Context
- request vectorsearch.DeleteEndpointRequest
func (*MockVectorSearchEndpointsInterface_Expecter) DeleteEndpointByEndpointName ¶
func (_e *MockVectorSearchEndpointsInterface_Expecter) DeleteEndpointByEndpointName(ctx interface{}, endpointName interface{}) *MockVectorSearchEndpointsInterface_DeleteEndpointByEndpointName_Call
DeleteEndpointByEndpointName is a helper method to define mock.On call
- ctx context.Context
- endpointName string
func (*MockVectorSearchEndpointsInterface_Expecter) GetEndpoint ¶
func (_e *MockVectorSearchEndpointsInterface_Expecter) GetEndpoint(ctx interface{}, request interface{}) *MockVectorSearchEndpointsInterface_GetEndpoint_Call
GetEndpoint is a helper method to define mock.On call
- ctx context.Context
- request vectorsearch.GetEndpointRequest
func (*MockVectorSearchEndpointsInterface_Expecter) GetEndpointByEndpointName ¶
func (_e *MockVectorSearchEndpointsInterface_Expecter) GetEndpointByEndpointName(ctx interface{}, endpointName interface{}) *MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call
GetEndpointByEndpointName is a helper method to define mock.On call
- ctx context.Context
- endpointName string
func (*MockVectorSearchEndpointsInterface_Expecter) Impl ¶
func (_e *MockVectorSearchEndpointsInterface_Expecter) Impl() *MockVectorSearchEndpointsInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockVectorSearchEndpointsInterface_Expecter) ListEndpoints ¶
func (_e *MockVectorSearchEndpointsInterface_Expecter) ListEndpoints(ctx interface{}, request interface{}) *MockVectorSearchEndpointsInterface_ListEndpoints_Call
ListEndpoints is a helper method to define mock.On call
- ctx context.Context
- request vectorsearch.ListEndpointsRequest
func (*MockVectorSearchEndpointsInterface_Expecter) ListEndpointsAll ¶
func (_e *MockVectorSearchEndpointsInterface_Expecter) ListEndpointsAll(ctx interface{}, request interface{}) *MockVectorSearchEndpointsInterface_ListEndpointsAll_Call
ListEndpointsAll is a helper method to define mock.On call
- ctx context.Context
- request vectorsearch.ListEndpointsRequest
func (*MockVectorSearchEndpointsInterface_Expecter) WaitGetEndpointVectorSearchEndpointOnline ¶
func (_e *MockVectorSearchEndpointsInterface_Expecter) WaitGetEndpointVectorSearchEndpointOnline(ctx interface{}, endpointName interface{}, timeout interface{}, callback interface{}) *MockVectorSearchEndpointsInterface_WaitGetEndpointVectorSearchEndpointOnline_Call
WaitGetEndpointVectorSearchEndpointOnline is a helper method to define mock.On call
- ctx context.Context
- endpointName string
- timeout time.Duration
- callback func(*vectorsearch.EndpointInfo)
func (*MockVectorSearchEndpointsInterface_Expecter) WithImpl ¶
func (_e *MockVectorSearchEndpointsInterface_Expecter) WithImpl(impl interface{}) *MockVectorSearchEndpointsInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl vectorsearch.VectorSearchEndpointsService
type MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call ¶
MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEndpointByEndpointName'
func (*MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call) Run ¶
func (_c *MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call) Run(run func(ctx context.Context, endpointName string)) *MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call
func (*MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call) RunAndReturn ¶
func (_c *MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call) RunAndReturn(run func(context.Context, string) (*vectorsearch.EndpointInfo, error)) *MockVectorSearchEndpointsInterface_GetEndpointByEndpointName_Call
type MockVectorSearchEndpointsInterface_GetEndpoint_Call ¶
MockVectorSearchEndpointsInterface_GetEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEndpoint'
func (*MockVectorSearchEndpointsInterface_GetEndpoint_Call) Return ¶
func (_c *MockVectorSearchEndpointsInterface_GetEndpoint_Call) Return(_a0 *vectorsearch.EndpointInfo, _a1 error) *MockVectorSearchEndpointsInterface_GetEndpoint_Call
func (*MockVectorSearchEndpointsInterface_GetEndpoint_Call) Run ¶
func (_c *MockVectorSearchEndpointsInterface_GetEndpoint_Call) Run(run func(ctx context.Context, request vectorsearch.GetEndpointRequest)) *MockVectorSearchEndpointsInterface_GetEndpoint_Call
func (*MockVectorSearchEndpointsInterface_GetEndpoint_Call) RunAndReturn ¶
func (_c *MockVectorSearchEndpointsInterface_GetEndpoint_Call) RunAndReturn(run func(context.Context, vectorsearch.GetEndpointRequest) (*vectorsearch.EndpointInfo, error)) *MockVectorSearchEndpointsInterface_GetEndpoint_Call
type MockVectorSearchEndpointsInterface_Impl_Call ¶
MockVectorSearchEndpointsInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockVectorSearchEndpointsInterface_Impl_Call) Run ¶
func (_c *MockVectorSearchEndpointsInterface_Impl_Call) Run(run func()) *MockVectorSearchEndpointsInterface_Impl_Call
func (*MockVectorSearchEndpointsInterface_Impl_Call) RunAndReturn ¶
func (_c *MockVectorSearchEndpointsInterface_Impl_Call) RunAndReturn(run func() vectorsearch.VectorSearchEndpointsService) *MockVectorSearchEndpointsInterface_Impl_Call
type MockVectorSearchEndpointsInterface_ListEndpointsAll_Call ¶
MockVectorSearchEndpointsInterface_ListEndpointsAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEndpointsAll'
func (*MockVectorSearchEndpointsInterface_ListEndpointsAll_Call) Run ¶
func (_c *MockVectorSearchEndpointsInterface_ListEndpointsAll_Call) Run(run func(ctx context.Context, request vectorsearch.ListEndpointsRequest)) *MockVectorSearchEndpointsInterface_ListEndpointsAll_Call
func (*MockVectorSearchEndpointsInterface_ListEndpointsAll_Call) RunAndReturn ¶
func (_c *MockVectorSearchEndpointsInterface_ListEndpointsAll_Call) RunAndReturn(run func(context.Context, vectorsearch.ListEndpointsRequest) ([]vectorsearch.EndpointInfo, error)) *MockVectorSearchEndpointsInterface_ListEndpointsAll_Call
type MockVectorSearchEndpointsInterface_ListEndpoints_Call ¶
MockVectorSearchEndpointsInterface_ListEndpoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEndpoints'
func (*MockVectorSearchEndpointsInterface_ListEndpoints_Call) Run ¶
func (_c *MockVectorSearchEndpointsInterface_ListEndpoints_Call) Run(run func(ctx context.Context, request vectorsearch.ListEndpointsRequest)) *MockVectorSearchEndpointsInterface_ListEndpoints_Call
func (*MockVectorSearchEndpointsInterface_ListEndpoints_Call) RunAndReturn ¶
type MockVectorSearchEndpointsInterface_WaitGetEndpointVectorSearchEndpointOnline_Call ¶
type MockVectorSearchEndpointsInterface_WaitGetEndpointVectorSearchEndpointOnline_Call struct {
*mock.Call
}
MockVectorSearchEndpointsInterface_WaitGetEndpointVectorSearchEndpointOnline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitGetEndpointVectorSearchEndpointOnline'
func (*MockVectorSearchEndpointsInterface_WaitGetEndpointVectorSearchEndpointOnline_Call) Run ¶
func (_c *MockVectorSearchEndpointsInterface_WaitGetEndpointVectorSearchEndpointOnline_Call) Run(run func(ctx context.Context, endpointName string, timeout time.Duration, callback func(*vectorsearch.EndpointInfo))) *MockVectorSearchEndpointsInterface_WaitGetEndpointVectorSearchEndpointOnline_Call
func (*MockVectorSearchEndpointsInterface_WaitGetEndpointVectorSearchEndpointOnline_Call) RunAndReturn ¶
func (_c *MockVectorSearchEndpointsInterface_WaitGetEndpointVectorSearchEndpointOnline_Call) RunAndReturn(run func(context.Context, string, time.Duration, func(*vectorsearch.EndpointInfo)) (*vectorsearch.EndpointInfo, error)) *MockVectorSearchEndpointsInterface_WaitGetEndpointVectorSearchEndpointOnline_Call
type MockVectorSearchEndpointsInterface_WithImpl_Call ¶
MockVectorSearchEndpointsInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockVectorSearchEndpointsInterface_WithImpl_Call) Run ¶
func (_c *MockVectorSearchEndpointsInterface_WithImpl_Call) Run(run func(impl vectorsearch.VectorSearchEndpointsService)) *MockVectorSearchEndpointsInterface_WithImpl_Call
func (*MockVectorSearchEndpointsInterface_WithImpl_Call) RunAndReturn ¶
type MockVectorSearchIndexesInterface ¶
MockVectorSearchIndexesInterface is an autogenerated mock type for the VectorSearchIndexesInterface type
func NewMockVectorSearchIndexesInterface ¶
func NewMockVectorSearchIndexesInterface(t interface { mock.TestingT Cleanup(func()) }) *MockVectorSearchIndexesInterface
NewMockVectorSearchIndexesInterface creates a new instance of MockVectorSearchIndexesInterface. 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 (*MockVectorSearchIndexesInterface) CreateIndex ¶
func (_m *MockVectorSearchIndexesInterface) CreateIndex(ctx context.Context, request vectorsearch.CreateVectorIndexRequest) (*vectorsearch.CreateVectorIndexResponse, error)
CreateIndex provides a mock function with given fields: ctx, request
func (*MockVectorSearchIndexesInterface) DeleteDataVectorIndex ¶
func (_m *MockVectorSearchIndexesInterface) DeleteDataVectorIndex(ctx context.Context, request vectorsearch.DeleteDataVectorIndexRequest) (*vectorsearch.DeleteDataVectorIndexResponse, error)
DeleteDataVectorIndex provides a mock function with given fields: ctx, request
func (*MockVectorSearchIndexesInterface) DeleteIndex ¶
func (_m *MockVectorSearchIndexesInterface) DeleteIndex(ctx context.Context, request vectorsearch.DeleteIndexRequest) error
DeleteIndex provides a mock function with given fields: ctx, request
func (*MockVectorSearchIndexesInterface) DeleteIndexByIndexName ¶
func (_m *MockVectorSearchIndexesInterface) DeleteIndexByIndexName(ctx context.Context, indexName string) error
DeleteIndexByIndexName provides a mock function with given fields: ctx, indexName
func (*MockVectorSearchIndexesInterface) EXPECT ¶
func (_m *MockVectorSearchIndexesInterface) EXPECT() *MockVectorSearchIndexesInterface_Expecter
func (*MockVectorSearchIndexesInterface) GetIndex ¶
func (_m *MockVectorSearchIndexesInterface) GetIndex(ctx context.Context, request vectorsearch.GetIndexRequest) (*vectorsearch.VectorIndex, error)
GetIndex provides a mock function with given fields: ctx, request
func (*MockVectorSearchIndexesInterface) GetIndexByIndexName ¶
func (_m *MockVectorSearchIndexesInterface) GetIndexByIndexName(ctx context.Context, indexName string) (*vectorsearch.VectorIndex, error)
GetIndexByIndexName provides a mock function with given fields: ctx, indexName
func (*MockVectorSearchIndexesInterface) Impl ¶
func (_m *MockVectorSearchIndexesInterface) Impl() vectorsearch.VectorSearchIndexesService
Impl provides a mock function with given fields:
func (*MockVectorSearchIndexesInterface) ListIndexes ¶
func (_m *MockVectorSearchIndexesInterface) ListIndexes(ctx context.Context, request vectorsearch.ListIndexesRequest) listing.Iterator[vectorsearch.MiniVectorIndex]
ListIndexes provides a mock function with given fields: ctx, request
func (*MockVectorSearchIndexesInterface) ListIndexesAll ¶
func (_m *MockVectorSearchIndexesInterface) ListIndexesAll(ctx context.Context, request vectorsearch.ListIndexesRequest) ([]vectorsearch.MiniVectorIndex, error)
ListIndexesAll provides a mock function with given fields: ctx, request
func (*MockVectorSearchIndexesInterface) QueryIndex ¶
func (_m *MockVectorSearchIndexesInterface) QueryIndex(ctx context.Context, request vectorsearch.QueryVectorIndexRequest) (*vectorsearch.QueryVectorIndexResponse, error)
QueryIndex provides a mock function with given fields: ctx, request
func (*MockVectorSearchIndexesInterface) SyncIndex ¶
func (_m *MockVectorSearchIndexesInterface) SyncIndex(ctx context.Context, request vectorsearch.SyncIndexRequest) error
SyncIndex provides a mock function with given fields: ctx, request
func (*MockVectorSearchIndexesInterface) UpsertDataVectorIndex ¶
func (_m *MockVectorSearchIndexesInterface) UpsertDataVectorIndex(ctx context.Context, request vectorsearch.UpsertDataVectorIndexRequest) (*vectorsearch.UpsertDataVectorIndexResponse, error)
UpsertDataVectorIndex provides a mock function with given fields: ctx, request
func (*MockVectorSearchIndexesInterface) WithImpl ¶
func (_m *MockVectorSearchIndexesInterface) WithImpl(impl vectorsearch.VectorSearchIndexesService) vectorsearch.VectorSearchIndexesInterface
WithImpl provides a mock function with given fields: impl
type MockVectorSearchIndexesInterface_CreateIndex_Call ¶
MockVectorSearchIndexesInterface_CreateIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateIndex'
func (*MockVectorSearchIndexesInterface_CreateIndex_Call) Run ¶
func (_c *MockVectorSearchIndexesInterface_CreateIndex_Call) Run(run func(ctx context.Context, request vectorsearch.CreateVectorIndexRequest)) *MockVectorSearchIndexesInterface_CreateIndex_Call
func (*MockVectorSearchIndexesInterface_CreateIndex_Call) RunAndReturn ¶
func (_c *MockVectorSearchIndexesInterface_CreateIndex_Call) RunAndReturn(run func(context.Context, vectorsearch.CreateVectorIndexRequest) (*vectorsearch.CreateVectorIndexResponse, error)) *MockVectorSearchIndexesInterface_CreateIndex_Call
type MockVectorSearchIndexesInterface_DeleteDataVectorIndex_Call ¶
MockVectorSearchIndexesInterface_DeleteDataVectorIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDataVectorIndex'
func (*MockVectorSearchIndexesInterface_DeleteDataVectorIndex_Call) Run ¶
func (_c *MockVectorSearchIndexesInterface_DeleteDataVectorIndex_Call) Run(run func(ctx context.Context, request vectorsearch.DeleteDataVectorIndexRequest)) *MockVectorSearchIndexesInterface_DeleteDataVectorIndex_Call
func (*MockVectorSearchIndexesInterface_DeleteDataVectorIndex_Call) RunAndReturn ¶
type MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call ¶
MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteIndexByIndexName'
func (*MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call) Run ¶
func (_c *MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call) Run(run func(ctx context.Context, indexName string)) *MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call
func (*MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call) RunAndReturn ¶
func (_c *MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call) RunAndReturn(run func(context.Context, string) error) *MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call
type MockVectorSearchIndexesInterface_DeleteIndex_Call ¶
MockVectorSearchIndexesInterface_DeleteIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteIndex'
func (*MockVectorSearchIndexesInterface_DeleteIndex_Call) Return ¶
func (_c *MockVectorSearchIndexesInterface_DeleteIndex_Call) Return(_a0 error) *MockVectorSearchIndexesInterface_DeleteIndex_Call
func (*MockVectorSearchIndexesInterface_DeleteIndex_Call) Run ¶
func (_c *MockVectorSearchIndexesInterface_DeleteIndex_Call) Run(run func(ctx context.Context, request vectorsearch.DeleteIndexRequest)) *MockVectorSearchIndexesInterface_DeleteIndex_Call
func (*MockVectorSearchIndexesInterface_DeleteIndex_Call) RunAndReturn ¶
func (_c *MockVectorSearchIndexesInterface_DeleteIndex_Call) RunAndReturn(run func(context.Context, vectorsearch.DeleteIndexRequest) error) *MockVectorSearchIndexesInterface_DeleteIndex_Call
type MockVectorSearchIndexesInterface_Expecter ¶
type MockVectorSearchIndexesInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockVectorSearchIndexesInterface_Expecter) CreateIndex ¶
func (_e *MockVectorSearchIndexesInterface_Expecter) CreateIndex(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_CreateIndex_Call
CreateIndex is a helper method to define mock.On call
- ctx context.Context
- request vectorsearch.CreateVectorIndexRequest
func (*MockVectorSearchIndexesInterface_Expecter) DeleteDataVectorIndex ¶
func (_e *MockVectorSearchIndexesInterface_Expecter) DeleteDataVectorIndex(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_DeleteDataVectorIndex_Call
DeleteDataVectorIndex is a helper method to define mock.On call
- ctx context.Context
- request vectorsearch.DeleteDataVectorIndexRequest
func (*MockVectorSearchIndexesInterface_Expecter) DeleteIndex ¶
func (_e *MockVectorSearchIndexesInterface_Expecter) DeleteIndex(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_DeleteIndex_Call
DeleteIndex is a helper method to define mock.On call
- ctx context.Context
- request vectorsearch.DeleteIndexRequest
func (*MockVectorSearchIndexesInterface_Expecter) DeleteIndexByIndexName ¶
func (_e *MockVectorSearchIndexesInterface_Expecter) DeleteIndexByIndexName(ctx interface{}, indexName interface{}) *MockVectorSearchIndexesInterface_DeleteIndexByIndexName_Call
DeleteIndexByIndexName is a helper method to define mock.On call
- ctx context.Context
- indexName string
func (*MockVectorSearchIndexesInterface_Expecter) GetIndex ¶
func (_e *MockVectorSearchIndexesInterface_Expecter) GetIndex(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_GetIndex_Call
GetIndex is a helper method to define mock.On call
- ctx context.Context
- request vectorsearch.GetIndexRequest
func (*MockVectorSearchIndexesInterface_Expecter) GetIndexByIndexName ¶
func (_e *MockVectorSearchIndexesInterface_Expecter) GetIndexByIndexName(ctx interface{}, indexName interface{}) *MockVectorSearchIndexesInterface_GetIndexByIndexName_Call
GetIndexByIndexName is a helper method to define mock.On call
- ctx context.Context
- indexName string
func (*MockVectorSearchIndexesInterface_Expecter) Impl ¶
func (_e *MockVectorSearchIndexesInterface_Expecter) Impl() *MockVectorSearchIndexesInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockVectorSearchIndexesInterface_Expecter) ListIndexes ¶
func (_e *MockVectorSearchIndexesInterface_Expecter) ListIndexes(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_ListIndexes_Call
ListIndexes is a helper method to define mock.On call
- ctx context.Context
- request vectorsearch.ListIndexesRequest
func (*MockVectorSearchIndexesInterface_Expecter) ListIndexesAll ¶
func (_e *MockVectorSearchIndexesInterface_Expecter) ListIndexesAll(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_ListIndexesAll_Call
ListIndexesAll is a helper method to define mock.On call
- ctx context.Context
- request vectorsearch.ListIndexesRequest
func (*MockVectorSearchIndexesInterface_Expecter) QueryIndex ¶
func (_e *MockVectorSearchIndexesInterface_Expecter) QueryIndex(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_QueryIndex_Call
QueryIndex is a helper method to define mock.On call
- ctx context.Context
- request vectorsearch.QueryVectorIndexRequest
func (*MockVectorSearchIndexesInterface_Expecter) SyncIndex ¶
func (_e *MockVectorSearchIndexesInterface_Expecter) SyncIndex(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_SyncIndex_Call
SyncIndex is a helper method to define mock.On call
- ctx context.Context
- request vectorsearch.SyncIndexRequest
func (*MockVectorSearchIndexesInterface_Expecter) UpsertDataVectorIndex ¶
func (_e *MockVectorSearchIndexesInterface_Expecter) UpsertDataVectorIndex(ctx interface{}, request interface{}) *MockVectorSearchIndexesInterface_UpsertDataVectorIndex_Call
UpsertDataVectorIndex is a helper method to define mock.On call
- ctx context.Context
- request vectorsearch.UpsertDataVectorIndexRequest
func (*MockVectorSearchIndexesInterface_Expecter) WithImpl ¶
func (_e *MockVectorSearchIndexesInterface_Expecter) WithImpl(impl interface{}) *MockVectorSearchIndexesInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl vectorsearch.VectorSearchIndexesService
type MockVectorSearchIndexesInterface_GetIndexByIndexName_Call ¶
MockVectorSearchIndexesInterface_GetIndexByIndexName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIndexByIndexName'
func (*MockVectorSearchIndexesInterface_GetIndexByIndexName_Call) Run ¶
func (_c *MockVectorSearchIndexesInterface_GetIndexByIndexName_Call) Run(run func(ctx context.Context, indexName string)) *MockVectorSearchIndexesInterface_GetIndexByIndexName_Call
func (*MockVectorSearchIndexesInterface_GetIndexByIndexName_Call) RunAndReturn ¶
func (_c *MockVectorSearchIndexesInterface_GetIndexByIndexName_Call) RunAndReturn(run func(context.Context, string) (*vectorsearch.VectorIndex, error)) *MockVectorSearchIndexesInterface_GetIndexByIndexName_Call
type MockVectorSearchIndexesInterface_GetIndex_Call ¶
MockVectorSearchIndexesInterface_GetIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIndex'
func (*MockVectorSearchIndexesInterface_GetIndex_Call) Return ¶
func (_c *MockVectorSearchIndexesInterface_GetIndex_Call) Return(_a0 *vectorsearch.VectorIndex, _a1 error) *MockVectorSearchIndexesInterface_GetIndex_Call
func (*MockVectorSearchIndexesInterface_GetIndex_Call) Run ¶
func (_c *MockVectorSearchIndexesInterface_GetIndex_Call) Run(run func(ctx context.Context, request vectorsearch.GetIndexRequest)) *MockVectorSearchIndexesInterface_GetIndex_Call
func (*MockVectorSearchIndexesInterface_GetIndex_Call) RunAndReturn ¶
func (_c *MockVectorSearchIndexesInterface_GetIndex_Call) RunAndReturn(run func(context.Context, vectorsearch.GetIndexRequest) (*vectorsearch.VectorIndex, error)) *MockVectorSearchIndexesInterface_GetIndex_Call
type MockVectorSearchIndexesInterface_Impl_Call ¶
MockVectorSearchIndexesInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockVectorSearchIndexesInterface_Impl_Call) Run ¶
func (_c *MockVectorSearchIndexesInterface_Impl_Call) Run(run func()) *MockVectorSearchIndexesInterface_Impl_Call
func (*MockVectorSearchIndexesInterface_Impl_Call) RunAndReturn ¶
func (_c *MockVectorSearchIndexesInterface_Impl_Call) RunAndReturn(run func() vectorsearch.VectorSearchIndexesService) *MockVectorSearchIndexesInterface_Impl_Call
type MockVectorSearchIndexesInterface_ListIndexesAll_Call ¶
MockVectorSearchIndexesInterface_ListIndexesAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListIndexesAll'
func (*MockVectorSearchIndexesInterface_ListIndexesAll_Call) Return ¶
func (_c *MockVectorSearchIndexesInterface_ListIndexesAll_Call) Return(_a0 []vectorsearch.MiniVectorIndex, _a1 error) *MockVectorSearchIndexesInterface_ListIndexesAll_Call
func (*MockVectorSearchIndexesInterface_ListIndexesAll_Call) Run ¶
func (_c *MockVectorSearchIndexesInterface_ListIndexesAll_Call) Run(run func(ctx context.Context, request vectorsearch.ListIndexesRequest)) *MockVectorSearchIndexesInterface_ListIndexesAll_Call
func (*MockVectorSearchIndexesInterface_ListIndexesAll_Call) RunAndReturn ¶
func (_c *MockVectorSearchIndexesInterface_ListIndexesAll_Call) RunAndReturn(run func(context.Context, vectorsearch.ListIndexesRequest) ([]vectorsearch.MiniVectorIndex, error)) *MockVectorSearchIndexesInterface_ListIndexesAll_Call
type MockVectorSearchIndexesInterface_ListIndexes_Call ¶
MockVectorSearchIndexesInterface_ListIndexes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListIndexes'
func (*MockVectorSearchIndexesInterface_ListIndexes_Call) Run ¶
func (_c *MockVectorSearchIndexesInterface_ListIndexes_Call) Run(run func(ctx context.Context, request vectorsearch.ListIndexesRequest)) *MockVectorSearchIndexesInterface_ListIndexes_Call
func (*MockVectorSearchIndexesInterface_ListIndexes_Call) RunAndReturn ¶
func (_c *MockVectorSearchIndexesInterface_ListIndexes_Call) RunAndReturn(run func(context.Context, vectorsearch.ListIndexesRequest) listing.Iterator[vectorsearch.MiniVectorIndex]) *MockVectorSearchIndexesInterface_ListIndexes_Call
type MockVectorSearchIndexesInterface_QueryIndex_Call ¶
MockVectorSearchIndexesInterface_QueryIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryIndex'
func (*MockVectorSearchIndexesInterface_QueryIndex_Call) Run ¶
func (_c *MockVectorSearchIndexesInterface_QueryIndex_Call) Run(run func(ctx context.Context, request vectorsearch.QueryVectorIndexRequest)) *MockVectorSearchIndexesInterface_QueryIndex_Call
func (*MockVectorSearchIndexesInterface_QueryIndex_Call) RunAndReturn ¶
func (_c *MockVectorSearchIndexesInterface_QueryIndex_Call) RunAndReturn(run func(context.Context, vectorsearch.QueryVectorIndexRequest) (*vectorsearch.QueryVectorIndexResponse, error)) *MockVectorSearchIndexesInterface_QueryIndex_Call
type MockVectorSearchIndexesInterface_SyncIndex_Call ¶
MockVectorSearchIndexesInterface_SyncIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncIndex'
func (*MockVectorSearchIndexesInterface_SyncIndex_Call) Return ¶
func (_c *MockVectorSearchIndexesInterface_SyncIndex_Call) Return(_a0 error) *MockVectorSearchIndexesInterface_SyncIndex_Call
func (*MockVectorSearchIndexesInterface_SyncIndex_Call) Run ¶
func (_c *MockVectorSearchIndexesInterface_SyncIndex_Call) Run(run func(ctx context.Context, request vectorsearch.SyncIndexRequest)) *MockVectorSearchIndexesInterface_SyncIndex_Call
func (*MockVectorSearchIndexesInterface_SyncIndex_Call) RunAndReturn ¶
func (_c *MockVectorSearchIndexesInterface_SyncIndex_Call) RunAndReturn(run func(context.Context, vectorsearch.SyncIndexRequest) error) *MockVectorSearchIndexesInterface_SyncIndex_Call
type MockVectorSearchIndexesInterface_UpsertDataVectorIndex_Call ¶
MockVectorSearchIndexesInterface_UpsertDataVectorIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertDataVectorIndex'
func (*MockVectorSearchIndexesInterface_UpsertDataVectorIndex_Call) Run ¶
func (_c *MockVectorSearchIndexesInterface_UpsertDataVectorIndex_Call) Run(run func(ctx context.Context, request vectorsearch.UpsertDataVectorIndexRequest)) *MockVectorSearchIndexesInterface_UpsertDataVectorIndex_Call
func (*MockVectorSearchIndexesInterface_UpsertDataVectorIndex_Call) RunAndReturn ¶
type MockVectorSearchIndexesInterface_WithImpl_Call ¶
MockVectorSearchIndexesInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockVectorSearchIndexesInterface_WithImpl_Call) Run ¶
func (_c *MockVectorSearchIndexesInterface_WithImpl_Call) Run(run func(impl vectorsearch.VectorSearchIndexesService)) *MockVectorSearchIndexesInterface_WithImpl_Call