Documentation
¶
Index ¶
- type MockAiSearchInterface
- func (_m *MockAiSearchInterface) CreateEndpoint(ctx context.Context, request aisearch.CreateEndpointRequest) (*aisearch.Endpoint, error)
- func (_m *MockAiSearchInterface) CreateIndex(ctx context.Context, request aisearch.CreateIndexRequest) (*aisearch.Index, error)
- func (_m *MockAiSearchInterface) DeleteEndpoint(ctx context.Context, request aisearch.DeleteEndpointRequest) error
- func (_m *MockAiSearchInterface) DeleteIndex(ctx context.Context, request aisearch.DeleteIndexRequest) error
- func (_m *MockAiSearchInterface) EXPECT() *MockAiSearchInterface_Expecter
- func (_m *MockAiSearchInterface) GetEndpoint(ctx context.Context, request aisearch.GetEndpointRequest) (*aisearch.Endpoint, error)
- func (_m *MockAiSearchInterface) GetIndex(ctx context.Context, request aisearch.GetIndexRequest) (*aisearch.Index, error)
- func (_m *MockAiSearchInterface) ListEndpoints(ctx context.Context, request aisearch.ListEndpointsRequest) listing.Iterator[aisearch.Endpoint]
- func (_m *MockAiSearchInterface) ListEndpointsAll(ctx context.Context, request aisearch.ListEndpointsRequest) ([]aisearch.Endpoint, error)
- func (_m *MockAiSearchInterface) ListIndexes(ctx context.Context, request aisearch.ListIndexesRequest) listing.Iterator[aisearch.Index]
- func (_m *MockAiSearchInterface) ListIndexesAll(ctx context.Context, request aisearch.ListIndexesRequest) ([]aisearch.Index, error)
- func (_m *MockAiSearchInterface) QueryIndex(ctx context.Context, request aisearch.QueryIndexRequest) (*aisearch.QueryIndexResponse, error)
- func (_m *MockAiSearchInterface) RemoveData(ctx context.Context, request aisearch.RemoveDataRequest) (*aisearch.RemoveDataResponse, error)
- func (_m *MockAiSearchInterface) ScanIndex(ctx context.Context, request aisearch.ScanIndexRequest) (*aisearch.ScanIndexResponse, error)
- func (_m *MockAiSearchInterface) SyncIndex(ctx context.Context, request aisearch.SyncIndexRequest) (*aisearch.SyncIndexResponse, error)
- func (_m *MockAiSearchInterface) UpdateEndpoint(ctx context.Context, request aisearch.UpdateEndpointRequest) (*aisearch.Endpoint, error)
- func (_m *MockAiSearchInterface) UpsertData(ctx context.Context, request aisearch.UpsertDataRequest) (*aisearch.UpsertDataResponse, error)
- type MockAiSearchInterface_CreateEndpoint_Call
- func (_c *MockAiSearchInterface_CreateEndpoint_Call) Return(_a0 *aisearch.Endpoint, _a1 error) *MockAiSearchInterface_CreateEndpoint_Call
- func (_c *MockAiSearchInterface_CreateEndpoint_Call) Run(run func(ctx context.Context, request aisearch.CreateEndpointRequest)) *MockAiSearchInterface_CreateEndpoint_Call
- func (_c *MockAiSearchInterface_CreateEndpoint_Call) RunAndReturn(...) *MockAiSearchInterface_CreateEndpoint_Call
- type MockAiSearchInterface_CreateIndex_Call
- func (_c *MockAiSearchInterface_CreateIndex_Call) Return(_a0 *aisearch.Index, _a1 error) *MockAiSearchInterface_CreateIndex_Call
- func (_c *MockAiSearchInterface_CreateIndex_Call) Run(run func(ctx context.Context, request aisearch.CreateIndexRequest)) *MockAiSearchInterface_CreateIndex_Call
- func (_c *MockAiSearchInterface_CreateIndex_Call) RunAndReturn(...) *MockAiSearchInterface_CreateIndex_Call
- type MockAiSearchInterface_DeleteEndpoint_Call
- func (_c *MockAiSearchInterface_DeleteEndpoint_Call) Return(_a0 error) *MockAiSearchInterface_DeleteEndpoint_Call
- func (_c *MockAiSearchInterface_DeleteEndpoint_Call) Run(run func(ctx context.Context, request aisearch.DeleteEndpointRequest)) *MockAiSearchInterface_DeleteEndpoint_Call
- func (_c *MockAiSearchInterface_DeleteEndpoint_Call) RunAndReturn(run func(context.Context, aisearch.DeleteEndpointRequest) error) *MockAiSearchInterface_DeleteEndpoint_Call
- type MockAiSearchInterface_DeleteIndex_Call
- func (_c *MockAiSearchInterface_DeleteIndex_Call) Return(_a0 error) *MockAiSearchInterface_DeleteIndex_Call
- func (_c *MockAiSearchInterface_DeleteIndex_Call) Run(run func(ctx context.Context, request aisearch.DeleteIndexRequest)) *MockAiSearchInterface_DeleteIndex_Call
- func (_c *MockAiSearchInterface_DeleteIndex_Call) RunAndReturn(run func(context.Context, aisearch.DeleteIndexRequest) error) *MockAiSearchInterface_DeleteIndex_Call
- type MockAiSearchInterface_Expecter
- func (_e *MockAiSearchInterface_Expecter) CreateEndpoint(ctx interface{}, request interface{}) *MockAiSearchInterface_CreateEndpoint_Call
- func (_e *MockAiSearchInterface_Expecter) CreateIndex(ctx interface{}, request interface{}) *MockAiSearchInterface_CreateIndex_Call
- func (_e *MockAiSearchInterface_Expecter) DeleteEndpoint(ctx interface{}, request interface{}) *MockAiSearchInterface_DeleteEndpoint_Call
- func (_e *MockAiSearchInterface_Expecter) DeleteIndex(ctx interface{}, request interface{}) *MockAiSearchInterface_DeleteIndex_Call
- func (_e *MockAiSearchInterface_Expecter) GetEndpoint(ctx interface{}, request interface{}) *MockAiSearchInterface_GetEndpoint_Call
- func (_e *MockAiSearchInterface_Expecter) GetIndex(ctx interface{}, request interface{}) *MockAiSearchInterface_GetIndex_Call
- func (_e *MockAiSearchInterface_Expecter) ListEndpoints(ctx interface{}, request interface{}) *MockAiSearchInterface_ListEndpoints_Call
- func (_e *MockAiSearchInterface_Expecter) ListEndpointsAll(ctx interface{}, request interface{}) *MockAiSearchInterface_ListEndpointsAll_Call
- func (_e *MockAiSearchInterface_Expecter) ListIndexes(ctx interface{}, request interface{}) *MockAiSearchInterface_ListIndexes_Call
- func (_e *MockAiSearchInterface_Expecter) ListIndexesAll(ctx interface{}, request interface{}) *MockAiSearchInterface_ListIndexesAll_Call
- func (_e *MockAiSearchInterface_Expecter) QueryIndex(ctx interface{}, request interface{}) *MockAiSearchInterface_QueryIndex_Call
- func (_e *MockAiSearchInterface_Expecter) RemoveData(ctx interface{}, request interface{}) *MockAiSearchInterface_RemoveData_Call
- func (_e *MockAiSearchInterface_Expecter) ScanIndex(ctx interface{}, request interface{}) *MockAiSearchInterface_ScanIndex_Call
- func (_e *MockAiSearchInterface_Expecter) SyncIndex(ctx interface{}, request interface{}) *MockAiSearchInterface_SyncIndex_Call
- func (_e *MockAiSearchInterface_Expecter) UpdateEndpoint(ctx interface{}, request interface{}) *MockAiSearchInterface_UpdateEndpoint_Call
- func (_e *MockAiSearchInterface_Expecter) UpsertData(ctx interface{}, request interface{}) *MockAiSearchInterface_UpsertData_Call
- type MockAiSearchInterface_GetEndpoint_Call
- func (_c *MockAiSearchInterface_GetEndpoint_Call) Return(_a0 *aisearch.Endpoint, _a1 error) *MockAiSearchInterface_GetEndpoint_Call
- func (_c *MockAiSearchInterface_GetEndpoint_Call) Run(run func(ctx context.Context, request aisearch.GetEndpointRequest)) *MockAiSearchInterface_GetEndpoint_Call
- func (_c *MockAiSearchInterface_GetEndpoint_Call) RunAndReturn(...) *MockAiSearchInterface_GetEndpoint_Call
- type MockAiSearchInterface_GetIndex_Call
- func (_c *MockAiSearchInterface_GetIndex_Call) Return(_a0 *aisearch.Index, _a1 error) *MockAiSearchInterface_GetIndex_Call
- func (_c *MockAiSearchInterface_GetIndex_Call) Run(run func(ctx context.Context, request aisearch.GetIndexRequest)) *MockAiSearchInterface_GetIndex_Call
- func (_c *MockAiSearchInterface_GetIndex_Call) RunAndReturn(run func(context.Context, aisearch.GetIndexRequest) (*aisearch.Index, error)) *MockAiSearchInterface_GetIndex_Call
- type MockAiSearchInterface_ListEndpointsAll_Call
- func (_c *MockAiSearchInterface_ListEndpointsAll_Call) Return(_a0 []aisearch.Endpoint, _a1 error) *MockAiSearchInterface_ListEndpointsAll_Call
- func (_c *MockAiSearchInterface_ListEndpointsAll_Call) Run(run func(ctx context.Context, request aisearch.ListEndpointsRequest)) *MockAiSearchInterface_ListEndpointsAll_Call
- func (_c *MockAiSearchInterface_ListEndpointsAll_Call) RunAndReturn(...) *MockAiSearchInterface_ListEndpointsAll_Call
- type MockAiSearchInterface_ListEndpoints_Call
- func (_c *MockAiSearchInterface_ListEndpoints_Call) Return(_a0 listing.Iterator[aisearch.Endpoint]) *MockAiSearchInterface_ListEndpoints_Call
- func (_c *MockAiSearchInterface_ListEndpoints_Call) Run(run func(ctx context.Context, request aisearch.ListEndpointsRequest)) *MockAiSearchInterface_ListEndpoints_Call
- func (_c *MockAiSearchInterface_ListEndpoints_Call) RunAndReturn(...) *MockAiSearchInterface_ListEndpoints_Call
- type MockAiSearchInterface_ListIndexesAll_Call
- func (_c *MockAiSearchInterface_ListIndexesAll_Call) Return(_a0 []aisearch.Index, _a1 error) *MockAiSearchInterface_ListIndexesAll_Call
- func (_c *MockAiSearchInterface_ListIndexesAll_Call) Run(run func(ctx context.Context, request aisearch.ListIndexesRequest)) *MockAiSearchInterface_ListIndexesAll_Call
- func (_c *MockAiSearchInterface_ListIndexesAll_Call) RunAndReturn(...) *MockAiSearchInterface_ListIndexesAll_Call
- type MockAiSearchInterface_ListIndexes_Call
- func (_c *MockAiSearchInterface_ListIndexes_Call) Return(_a0 listing.Iterator[aisearch.Index]) *MockAiSearchInterface_ListIndexes_Call
- func (_c *MockAiSearchInterface_ListIndexes_Call) Run(run func(ctx context.Context, request aisearch.ListIndexesRequest)) *MockAiSearchInterface_ListIndexes_Call
- func (_c *MockAiSearchInterface_ListIndexes_Call) RunAndReturn(...) *MockAiSearchInterface_ListIndexes_Call
- type MockAiSearchInterface_QueryIndex_Call
- func (_c *MockAiSearchInterface_QueryIndex_Call) Return(_a0 *aisearch.QueryIndexResponse, _a1 error) *MockAiSearchInterface_QueryIndex_Call
- func (_c *MockAiSearchInterface_QueryIndex_Call) Run(run func(ctx context.Context, request aisearch.QueryIndexRequest)) *MockAiSearchInterface_QueryIndex_Call
- func (_c *MockAiSearchInterface_QueryIndex_Call) RunAndReturn(...) *MockAiSearchInterface_QueryIndex_Call
- type MockAiSearchInterface_RemoveData_Call
- func (_c *MockAiSearchInterface_RemoveData_Call) Return(_a0 *aisearch.RemoveDataResponse, _a1 error) *MockAiSearchInterface_RemoveData_Call
- func (_c *MockAiSearchInterface_RemoveData_Call) Run(run func(ctx context.Context, request aisearch.RemoveDataRequest)) *MockAiSearchInterface_RemoveData_Call
- func (_c *MockAiSearchInterface_RemoveData_Call) RunAndReturn(...) *MockAiSearchInterface_RemoveData_Call
- type MockAiSearchInterface_ScanIndex_Call
- func (_c *MockAiSearchInterface_ScanIndex_Call) Return(_a0 *aisearch.ScanIndexResponse, _a1 error) *MockAiSearchInterface_ScanIndex_Call
- func (_c *MockAiSearchInterface_ScanIndex_Call) Run(run func(ctx context.Context, request aisearch.ScanIndexRequest)) *MockAiSearchInterface_ScanIndex_Call
- func (_c *MockAiSearchInterface_ScanIndex_Call) RunAndReturn(...) *MockAiSearchInterface_ScanIndex_Call
- type MockAiSearchInterface_SyncIndex_Call
- func (_c *MockAiSearchInterface_SyncIndex_Call) Return(_a0 *aisearch.SyncIndexResponse, _a1 error) *MockAiSearchInterface_SyncIndex_Call
- func (_c *MockAiSearchInterface_SyncIndex_Call) Run(run func(ctx context.Context, request aisearch.SyncIndexRequest)) *MockAiSearchInterface_SyncIndex_Call
- func (_c *MockAiSearchInterface_SyncIndex_Call) RunAndReturn(...) *MockAiSearchInterface_SyncIndex_Call
- type MockAiSearchInterface_UpdateEndpoint_Call
- func (_c *MockAiSearchInterface_UpdateEndpoint_Call) Return(_a0 *aisearch.Endpoint, _a1 error) *MockAiSearchInterface_UpdateEndpoint_Call
- func (_c *MockAiSearchInterface_UpdateEndpoint_Call) Run(run func(ctx context.Context, request aisearch.UpdateEndpointRequest)) *MockAiSearchInterface_UpdateEndpoint_Call
- func (_c *MockAiSearchInterface_UpdateEndpoint_Call) RunAndReturn(...) *MockAiSearchInterface_UpdateEndpoint_Call
- type MockAiSearchInterface_UpsertData_Call
- func (_c *MockAiSearchInterface_UpsertData_Call) Return(_a0 *aisearch.UpsertDataResponse, _a1 error) *MockAiSearchInterface_UpsertData_Call
- func (_c *MockAiSearchInterface_UpsertData_Call) Run(run func(ctx context.Context, request aisearch.UpsertDataRequest)) *MockAiSearchInterface_UpsertData_Call
- func (_c *MockAiSearchInterface_UpsertData_Call) RunAndReturn(...) *MockAiSearchInterface_UpsertData_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAiSearchInterface ¶
MockAiSearchInterface is an autogenerated mock type for the AiSearchInterface type
func NewMockAiSearchInterface ¶
func NewMockAiSearchInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MockAiSearchInterface
NewMockAiSearchInterface creates a new instance of MockAiSearchInterface. 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 (*MockAiSearchInterface) CreateEndpoint ¶
func (_m *MockAiSearchInterface) CreateEndpoint(ctx context.Context, request aisearch.CreateEndpointRequest) (*aisearch.Endpoint, error)
CreateEndpoint provides a mock function with given fields: ctx, request
func (*MockAiSearchInterface) CreateIndex ¶
func (_m *MockAiSearchInterface) CreateIndex(ctx context.Context, request aisearch.CreateIndexRequest) (*aisearch.Index, error)
CreateIndex provides a mock function with given fields: ctx, request
func (*MockAiSearchInterface) DeleteEndpoint ¶
func (_m *MockAiSearchInterface) DeleteEndpoint(ctx context.Context, request aisearch.DeleteEndpointRequest) error
DeleteEndpoint provides a mock function with given fields: ctx, request
func (*MockAiSearchInterface) DeleteIndex ¶
func (_m *MockAiSearchInterface) DeleteIndex(ctx context.Context, request aisearch.DeleteIndexRequest) error
DeleteIndex provides a mock function with given fields: ctx, request
func (*MockAiSearchInterface) EXPECT ¶
func (_m *MockAiSearchInterface) EXPECT() *MockAiSearchInterface_Expecter
func (*MockAiSearchInterface) GetEndpoint ¶
func (_m *MockAiSearchInterface) GetEndpoint(ctx context.Context, request aisearch.GetEndpointRequest) (*aisearch.Endpoint, error)
GetEndpoint provides a mock function with given fields: ctx, request
func (*MockAiSearchInterface) GetIndex ¶
func (_m *MockAiSearchInterface) GetIndex(ctx context.Context, request aisearch.GetIndexRequest) (*aisearch.Index, error)
GetIndex provides a mock function with given fields: ctx, request
func (*MockAiSearchInterface) ListEndpoints ¶
func (_m *MockAiSearchInterface) ListEndpoints(ctx context.Context, request aisearch.ListEndpointsRequest) listing.Iterator[aisearch.Endpoint]
ListEndpoints provides a mock function with given fields: ctx, request
func (*MockAiSearchInterface) ListEndpointsAll ¶
func (_m *MockAiSearchInterface) ListEndpointsAll(ctx context.Context, request aisearch.ListEndpointsRequest) ([]aisearch.Endpoint, error)
ListEndpointsAll provides a mock function with given fields: ctx, request
func (*MockAiSearchInterface) ListIndexes ¶
func (_m *MockAiSearchInterface) ListIndexes(ctx context.Context, request aisearch.ListIndexesRequest) listing.Iterator[aisearch.Index]
ListIndexes provides a mock function with given fields: ctx, request
func (*MockAiSearchInterface) ListIndexesAll ¶
func (_m *MockAiSearchInterface) ListIndexesAll(ctx context.Context, request aisearch.ListIndexesRequest) ([]aisearch.Index, error)
ListIndexesAll provides a mock function with given fields: ctx, request
func (*MockAiSearchInterface) QueryIndex ¶
func (_m *MockAiSearchInterface) QueryIndex(ctx context.Context, request aisearch.QueryIndexRequest) (*aisearch.QueryIndexResponse, error)
QueryIndex provides a mock function with given fields: ctx, request
func (*MockAiSearchInterface) RemoveData ¶
func (_m *MockAiSearchInterface) RemoveData(ctx context.Context, request aisearch.RemoveDataRequest) (*aisearch.RemoveDataResponse, error)
RemoveData provides a mock function with given fields: ctx, request
func (*MockAiSearchInterface) ScanIndex ¶
func (_m *MockAiSearchInterface) ScanIndex(ctx context.Context, request aisearch.ScanIndexRequest) (*aisearch.ScanIndexResponse, error)
ScanIndex provides a mock function with given fields: ctx, request
func (*MockAiSearchInterface) SyncIndex ¶
func (_m *MockAiSearchInterface) SyncIndex(ctx context.Context, request aisearch.SyncIndexRequest) (*aisearch.SyncIndexResponse, error)
SyncIndex provides a mock function with given fields: ctx, request
func (*MockAiSearchInterface) UpdateEndpoint ¶
func (_m *MockAiSearchInterface) UpdateEndpoint(ctx context.Context, request aisearch.UpdateEndpointRequest) (*aisearch.Endpoint, error)
UpdateEndpoint provides a mock function with given fields: ctx, request
func (*MockAiSearchInterface) UpsertData ¶
func (_m *MockAiSearchInterface) UpsertData(ctx context.Context, request aisearch.UpsertDataRequest) (*aisearch.UpsertDataResponse, error)
UpsertData provides a mock function with given fields: ctx, request
type MockAiSearchInterface_CreateEndpoint_Call ¶
MockAiSearchInterface_CreateEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEndpoint'
func (*MockAiSearchInterface_CreateEndpoint_Call) Return ¶
func (_c *MockAiSearchInterface_CreateEndpoint_Call) Return(_a0 *aisearch.Endpoint, _a1 error) *MockAiSearchInterface_CreateEndpoint_Call
func (*MockAiSearchInterface_CreateEndpoint_Call) Run ¶
func (_c *MockAiSearchInterface_CreateEndpoint_Call) Run(run func(ctx context.Context, request aisearch.CreateEndpointRequest)) *MockAiSearchInterface_CreateEndpoint_Call
func (*MockAiSearchInterface_CreateEndpoint_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_CreateEndpoint_Call) RunAndReturn(run func(context.Context, aisearch.CreateEndpointRequest) (*aisearch.Endpoint, error)) *MockAiSearchInterface_CreateEndpoint_Call
type MockAiSearchInterface_CreateIndex_Call ¶
MockAiSearchInterface_CreateIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateIndex'
func (*MockAiSearchInterface_CreateIndex_Call) Return ¶
func (_c *MockAiSearchInterface_CreateIndex_Call) Return(_a0 *aisearch.Index, _a1 error) *MockAiSearchInterface_CreateIndex_Call
func (*MockAiSearchInterface_CreateIndex_Call) Run ¶
func (_c *MockAiSearchInterface_CreateIndex_Call) Run(run func(ctx context.Context, request aisearch.CreateIndexRequest)) *MockAiSearchInterface_CreateIndex_Call
func (*MockAiSearchInterface_CreateIndex_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_CreateIndex_Call) RunAndReturn(run func(context.Context, aisearch.CreateIndexRequest) (*aisearch.Index, error)) *MockAiSearchInterface_CreateIndex_Call
type MockAiSearchInterface_DeleteEndpoint_Call ¶
MockAiSearchInterface_DeleteEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEndpoint'
func (*MockAiSearchInterface_DeleteEndpoint_Call) Return ¶
func (_c *MockAiSearchInterface_DeleteEndpoint_Call) Return(_a0 error) *MockAiSearchInterface_DeleteEndpoint_Call
func (*MockAiSearchInterface_DeleteEndpoint_Call) Run ¶
func (_c *MockAiSearchInterface_DeleteEndpoint_Call) Run(run func(ctx context.Context, request aisearch.DeleteEndpointRequest)) *MockAiSearchInterface_DeleteEndpoint_Call
func (*MockAiSearchInterface_DeleteEndpoint_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_DeleteEndpoint_Call) RunAndReturn(run func(context.Context, aisearch.DeleteEndpointRequest) error) *MockAiSearchInterface_DeleteEndpoint_Call
type MockAiSearchInterface_DeleteIndex_Call ¶
MockAiSearchInterface_DeleteIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteIndex'
func (*MockAiSearchInterface_DeleteIndex_Call) Return ¶
func (_c *MockAiSearchInterface_DeleteIndex_Call) Return(_a0 error) *MockAiSearchInterface_DeleteIndex_Call
func (*MockAiSearchInterface_DeleteIndex_Call) Run ¶
func (_c *MockAiSearchInterface_DeleteIndex_Call) Run(run func(ctx context.Context, request aisearch.DeleteIndexRequest)) *MockAiSearchInterface_DeleteIndex_Call
func (*MockAiSearchInterface_DeleteIndex_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_DeleteIndex_Call) RunAndReturn(run func(context.Context, aisearch.DeleteIndexRequest) error) *MockAiSearchInterface_DeleteIndex_Call
type MockAiSearchInterface_Expecter ¶
type MockAiSearchInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAiSearchInterface_Expecter) CreateEndpoint ¶
func (_e *MockAiSearchInterface_Expecter) CreateEndpoint(ctx interface{}, request interface{}) *MockAiSearchInterface_CreateEndpoint_Call
CreateEndpoint is a helper method to define mock.On call
- ctx context.Context
- request aisearch.CreateEndpointRequest
func (*MockAiSearchInterface_Expecter) CreateIndex ¶
func (_e *MockAiSearchInterface_Expecter) CreateIndex(ctx interface{}, request interface{}) *MockAiSearchInterface_CreateIndex_Call
CreateIndex is a helper method to define mock.On call
- ctx context.Context
- request aisearch.CreateIndexRequest
func (*MockAiSearchInterface_Expecter) DeleteEndpoint ¶
func (_e *MockAiSearchInterface_Expecter) DeleteEndpoint(ctx interface{}, request interface{}) *MockAiSearchInterface_DeleteEndpoint_Call
DeleteEndpoint is a helper method to define mock.On call
- ctx context.Context
- request aisearch.DeleteEndpointRequest
func (*MockAiSearchInterface_Expecter) DeleteIndex ¶
func (_e *MockAiSearchInterface_Expecter) DeleteIndex(ctx interface{}, request interface{}) *MockAiSearchInterface_DeleteIndex_Call
DeleteIndex is a helper method to define mock.On call
- ctx context.Context
- request aisearch.DeleteIndexRequest
func (*MockAiSearchInterface_Expecter) GetEndpoint ¶
func (_e *MockAiSearchInterface_Expecter) GetEndpoint(ctx interface{}, request interface{}) *MockAiSearchInterface_GetEndpoint_Call
GetEndpoint is a helper method to define mock.On call
- ctx context.Context
- request aisearch.GetEndpointRequest
func (*MockAiSearchInterface_Expecter) GetIndex ¶
func (_e *MockAiSearchInterface_Expecter) GetIndex(ctx interface{}, request interface{}) *MockAiSearchInterface_GetIndex_Call
GetIndex is a helper method to define mock.On call
- ctx context.Context
- request aisearch.GetIndexRequest
func (*MockAiSearchInterface_Expecter) ListEndpoints ¶
func (_e *MockAiSearchInterface_Expecter) ListEndpoints(ctx interface{}, request interface{}) *MockAiSearchInterface_ListEndpoints_Call
ListEndpoints is a helper method to define mock.On call
- ctx context.Context
- request aisearch.ListEndpointsRequest
func (*MockAiSearchInterface_Expecter) ListEndpointsAll ¶
func (_e *MockAiSearchInterface_Expecter) ListEndpointsAll(ctx interface{}, request interface{}) *MockAiSearchInterface_ListEndpointsAll_Call
ListEndpointsAll is a helper method to define mock.On call
- ctx context.Context
- request aisearch.ListEndpointsRequest
func (*MockAiSearchInterface_Expecter) ListIndexes ¶
func (_e *MockAiSearchInterface_Expecter) ListIndexes(ctx interface{}, request interface{}) *MockAiSearchInterface_ListIndexes_Call
ListIndexes is a helper method to define mock.On call
- ctx context.Context
- request aisearch.ListIndexesRequest
func (*MockAiSearchInterface_Expecter) ListIndexesAll ¶
func (_e *MockAiSearchInterface_Expecter) ListIndexesAll(ctx interface{}, request interface{}) *MockAiSearchInterface_ListIndexesAll_Call
ListIndexesAll is a helper method to define mock.On call
- ctx context.Context
- request aisearch.ListIndexesRequest
func (*MockAiSearchInterface_Expecter) QueryIndex ¶
func (_e *MockAiSearchInterface_Expecter) QueryIndex(ctx interface{}, request interface{}) *MockAiSearchInterface_QueryIndex_Call
QueryIndex is a helper method to define mock.On call
- ctx context.Context
- request aisearch.QueryIndexRequest
func (*MockAiSearchInterface_Expecter) RemoveData ¶
func (_e *MockAiSearchInterface_Expecter) RemoveData(ctx interface{}, request interface{}) *MockAiSearchInterface_RemoveData_Call
RemoveData is a helper method to define mock.On call
- ctx context.Context
- request aisearch.RemoveDataRequest
func (*MockAiSearchInterface_Expecter) ScanIndex ¶
func (_e *MockAiSearchInterface_Expecter) ScanIndex(ctx interface{}, request interface{}) *MockAiSearchInterface_ScanIndex_Call
ScanIndex is a helper method to define mock.On call
- ctx context.Context
- request aisearch.ScanIndexRequest
func (*MockAiSearchInterface_Expecter) SyncIndex ¶
func (_e *MockAiSearchInterface_Expecter) SyncIndex(ctx interface{}, request interface{}) *MockAiSearchInterface_SyncIndex_Call
SyncIndex is a helper method to define mock.On call
- ctx context.Context
- request aisearch.SyncIndexRequest
func (*MockAiSearchInterface_Expecter) UpdateEndpoint ¶
func (_e *MockAiSearchInterface_Expecter) UpdateEndpoint(ctx interface{}, request interface{}) *MockAiSearchInterface_UpdateEndpoint_Call
UpdateEndpoint is a helper method to define mock.On call
- ctx context.Context
- request aisearch.UpdateEndpointRequest
func (*MockAiSearchInterface_Expecter) UpsertData ¶
func (_e *MockAiSearchInterface_Expecter) UpsertData(ctx interface{}, request interface{}) *MockAiSearchInterface_UpsertData_Call
UpsertData is a helper method to define mock.On call
- ctx context.Context
- request aisearch.UpsertDataRequest
type MockAiSearchInterface_GetEndpoint_Call ¶
MockAiSearchInterface_GetEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEndpoint'
func (*MockAiSearchInterface_GetEndpoint_Call) Return ¶
func (_c *MockAiSearchInterface_GetEndpoint_Call) Return(_a0 *aisearch.Endpoint, _a1 error) *MockAiSearchInterface_GetEndpoint_Call
func (*MockAiSearchInterface_GetEndpoint_Call) Run ¶
func (_c *MockAiSearchInterface_GetEndpoint_Call) Run(run func(ctx context.Context, request aisearch.GetEndpointRequest)) *MockAiSearchInterface_GetEndpoint_Call
func (*MockAiSearchInterface_GetEndpoint_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_GetEndpoint_Call) RunAndReturn(run func(context.Context, aisearch.GetEndpointRequest) (*aisearch.Endpoint, error)) *MockAiSearchInterface_GetEndpoint_Call
type MockAiSearchInterface_GetIndex_Call ¶
MockAiSearchInterface_GetIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIndex'
func (*MockAiSearchInterface_GetIndex_Call) Return ¶
func (_c *MockAiSearchInterface_GetIndex_Call) Return(_a0 *aisearch.Index, _a1 error) *MockAiSearchInterface_GetIndex_Call
func (*MockAiSearchInterface_GetIndex_Call) Run ¶
func (_c *MockAiSearchInterface_GetIndex_Call) Run(run func(ctx context.Context, request aisearch.GetIndexRequest)) *MockAiSearchInterface_GetIndex_Call
func (*MockAiSearchInterface_GetIndex_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_GetIndex_Call) RunAndReturn(run func(context.Context, aisearch.GetIndexRequest) (*aisearch.Index, error)) *MockAiSearchInterface_GetIndex_Call
type MockAiSearchInterface_ListEndpointsAll_Call ¶
MockAiSearchInterface_ListEndpointsAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEndpointsAll'
func (*MockAiSearchInterface_ListEndpointsAll_Call) Return ¶
func (_c *MockAiSearchInterface_ListEndpointsAll_Call) Return(_a0 []aisearch.Endpoint, _a1 error) *MockAiSearchInterface_ListEndpointsAll_Call
func (*MockAiSearchInterface_ListEndpointsAll_Call) Run ¶
func (_c *MockAiSearchInterface_ListEndpointsAll_Call) Run(run func(ctx context.Context, request aisearch.ListEndpointsRequest)) *MockAiSearchInterface_ListEndpointsAll_Call
func (*MockAiSearchInterface_ListEndpointsAll_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_ListEndpointsAll_Call) RunAndReturn(run func(context.Context, aisearch.ListEndpointsRequest) ([]aisearch.Endpoint, error)) *MockAiSearchInterface_ListEndpointsAll_Call
type MockAiSearchInterface_ListEndpoints_Call ¶
MockAiSearchInterface_ListEndpoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEndpoints'
func (*MockAiSearchInterface_ListEndpoints_Call) Return ¶
func (_c *MockAiSearchInterface_ListEndpoints_Call) Return(_a0 listing.Iterator[aisearch.Endpoint]) *MockAiSearchInterface_ListEndpoints_Call
func (*MockAiSearchInterface_ListEndpoints_Call) Run ¶
func (_c *MockAiSearchInterface_ListEndpoints_Call) Run(run func(ctx context.Context, request aisearch.ListEndpointsRequest)) *MockAiSearchInterface_ListEndpoints_Call
func (*MockAiSearchInterface_ListEndpoints_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_ListEndpoints_Call) RunAndReturn(run func(context.Context, aisearch.ListEndpointsRequest) listing.Iterator[aisearch.Endpoint]) *MockAiSearchInterface_ListEndpoints_Call
type MockAiSearchInterface_ListIndexesAll_Call ¶
MockAiSearchInterface_ListIndexesAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListIndexesAll'
func (*MockAiSearchInterface_ListIndexesAll_Call) Return ¶
func (_c *MockAiSearchInterface_ListIndexesAll_Call) Return(_a0 []aisearch.Index, _a1 error) *MockAiSearchInterface_ListIndexesAll_Call
func (*MockAiSearchInterface_ListIndexesAll_Call) Run ¶
func (_c *MockAiSearchInterface_ListIndexesAll_Call) Run(run func(ctx context.Context, request aisearch.ListIndexesRequest)) *MockAiSearchInterface_ListIndexesAll_Call
func (*MockAiSearchInterface_ListIndexesAll_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_ListIndexesAll_Call) RunAndReturn(run func(context.Context, aisearch.ListIndexesRequest) ([]aisearch.Index, error)) *MockAiSearchInterface_ListIndexesAll_Call
type MockAiSearchInterface_ListIndexes_Call ¶
MockAiSearchInterface_ListIndexes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListIndexes'
func (*MockAiSearchInterface_ListIndexes_Call) Return ¶
func (_c *MockAiSearchInterface_ListIndexes_Call) Return(_a0 listing.Iterator[aisearch.Index]) *MockAiSearchInterface_ListIndexes_Call
func (*MockAiSearchInterface_ListIndexes_Call) Run ¶
func (_c *MockAiSearchInterface_ListIndexes_Call) Run(run func(ctx context.Context, request aisearch.ListIndexesRequest)) *MockAiSearchInterface_ListIndexes_Call
func (*MockAiSearchInterface_ListIndexes_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_ListIndexes_Call) RunAndReturn(run func(context.Context, aisearch.ListIndexesRequest) listing.Iterator[aisearch.Index]) *MockAiSearchInterface_ListIndexes_Call
type MockAiSearchInterface_QueryIndex_Call ¶
MockAiSearchInterface_QueryIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryIndex'
func (*MockAiSearchInterface_QueryIndex_Call) Return ¶
func (_c *MockAiSearchInterface_QueryIndex_Call) Return(_a0 *aisearch.QueryIndexResponse, _a1 error) *MockAiSearchInterface_QueryIndex_Call
func (*MockAiSearchInterface_QueryIndex_Call) Run ¶
func (_c *MockAiSearchInterface_QueryIndex_Call) Run(run func(ctx context.Context, request aisearch.QueryIndexRequest)) *MockAiSearchInterface_QueryIndex_Call
func (*MockAiSearchInterface_QueryIndex_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_QueryIndex_Call) RunAndReturn(run func(context.Context, aisearch.QueryIndexRequest) (*aisearch.QueryIndexResponse, error)) *MockAiSearchInterface_QueryIndex_Call
type MockAiSearchInterface_RemoveData_Call ¶
MockAiSearchInterface_RemoveData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveData'
func (*MockAiSearchInterface_RemoveData_Call) Return ¶
func (_c *MockAiSearchInterface_RemoveData_Call) Return(_a0 *aisearch.RemoveDataResponse, _a1 error) *MockAiSearchInterface_RemoveData_Call
func (*MockAiSearchInterface_RemoveData_Call) Run ¶
func (_c *MockAiSearchInterface_RemoveData_Call) Run(run func(ctx context.Context, request aisearch.RemoveDataRequest)) *MockAiSearchInterface_RemoveData_Call
func (*MockAiSearchInterface_RemoveData_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_RemoveData_Call) RunAndReturn(run func(context.Context, aisearch.RemoveDataRequest) (*aisearch.RemoveDataResponse, error)) *MockAiSearchInterface_RemoveData_Call
type MockAiSearchInterface_ScanIndex_Call ¶
MockAiSearchInterface_ScanIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScanIndex'
func (*MockAiSearchInterface_ScanIndex_Call) Return ¶
func (_c *MockAiSearchInterface_ScanIndex_Call) Return(_a0 *aisearch.ScanIndexResponse, _a1 error) *MockAiSearchInterface_ScanIndex_Call
func (*MockAiSearchInterface_ScanIndex_Call) Run ¶
func (_c *MockAiSearchInterface_ScanIndex_Call) Run(run func(ctx context.Context, request aisearch.ScanIndexRequest)) *MockAiSearchInterface_ScanIndex_Call
func (*MockAiSearchInterface_ScanIndex_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_ScanIndex_Call) RunAndReturn(run func(context.Context, aisearch.ScanIndexRequest) (*aisearch.ScanIndexResponse, error)) *MockAiSearchInterface_ScanIndex_Call
type MockAiSearchInterface_SyncIndex_Call ¶
MockAiSearchInterface_SyncIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncIndex'
func (*MockAiSearchInterface_SyncIndex_Call) Return ¶
func (_c *MockAiSearchInterface_SyncIndex_Call) Return(_a0 *aisearch.SyncIndexResponse, _a1 error) *MockAiSearchInterface_SyncIndex_Call
func (*MockAiSearchInterface_SyncIndex_Call) Run ¶
func (_c *MockAiSearchInterface_SyncIndex_Call) Run(run func(ctx context.Context, request aisearch.SyncIndexRequest)) *MockAiSearchInterface_SyncIndex_Call
func (*MockAiSearchInterface_SyncIndex_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_SyncIndex_Call) RunAndReturn(run func(context.Context, aisearch.SyncIndexRequest) (*aisearch.SyncIndexResponse, error)) *MockAiSearchInterface_SyncIndex_Call
type MockAiSearchInterface_UpdateEndpoint_Call ¶
MockAiSearchInterface_UpdateEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEndpoint'
func (*MockAiSearchInterface_UpdateEndpoint_Call) Return ¶
func (_c *MockAiSearchInterface_UpdateEndpoint_Call) Return(_a0 *aisearch.Endpoint, _a1 error) *MockAiSearchInterface_UpdateEndpoint_Call
func (*MockAiSearchInterface_UpdateEndpoint_Call) Run ¶
func (_c *MockAiSearchInterface_UpdateEndpoint_Call) Run(run func(ctx context.Context, request aisearch.UpdateEndpointRequest)) *MockAiSearchInterface_UpdateEndpoint_Call
func (*MockAiSearchInterface_UpdateEndpoint_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_UpdateEndpoint_Call) RunAndReturn(run func(context.Context, aisearch.UpdateEndpointRequest) (*aisearch.Endpoint, error)) *MockAiSearchInterface_UpdateEndpoint_Call
type MockAiSearchInterface_UpsertData_Call ¶
MockAiSearchInterface_UpsertData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertData'
func (*MockAiSearchInterface_UpsertData_Call) Return ¶
func (_c *MockAiSearchInterface_UpsertData_Call) Return(_a0 *aisearch.UpsertDataResponse, _a1 error) *MockAiSearchInterface_UpsertData_Call
func (*MockAiSearchInterface_UpsertData_Call) Run ¶
func (_c *MockAiSearchInterface_UpsertData_Call) Run(run func(ctx context.Context, request aisearch.UpsertDataRequest)) *MockAiSearchInterface_UpsertData_Call
func (*MockAiSearchInterface_UpsertData_Call) RunAndReturn ¶
func (_c *MockAiSearchInterface_UpsertData_Call) RunAndReturn(run func(context.Context, aisearch.UpsertDataRequest) (*aisearch.UpsertDataResponse, error)) *MockAiSearchInterface_UpsertData_Call