Documentation
¶
Index ¶
- type MockAiFunctionsInterface
- func (_mock *MockAiFunctionsInterface) AiClassify(ctx context.Context, request aifunctions.AiClassifyRequest) (*aifunctions.AiClassifyResponse, error)
- func (_mock *MockAiFunctionsInterface) AiDecide(ctx context.Context, request aifunctions.AiDecideRequest) (*aifunctions.AiDecideResponse, error)
- func (_mock *MockAiFunctionsInterface) AiExtract(ctx context.Context, request aifunctions.AiExtractRequest) (*aifunctions.AiExtractResponse, error)
- func (_mock *MockAiFunctionsInterface) AiParseDocument(ctx context.Context, request aifunctions.AiParseDocumentRequest) (*aifunctions.AiParseDocumentResponse, error)
- func (_mock *MockAiFunctionsInterface) CancelBatch(ctx context.Context, request aifunctions.CancelBatchRequest) (*aifunctions.CancelBatchResponse, error)
- func (_mock *MockAiFunctionsInterface) CreateBatch(ctx context.Context, request aifunctions.CreateBatchRequest) (*aifunctions.Batch, error)
- func (_m *MockAiFunctionsInterface) EXPECT() *MockAiFunctionsInterface_Expecter
- func (_mock *MockAiFunctionsInterface) GetBatch(ctx context.Context, request aifunctions.GetBatchRequest) (*aifunctions.Batch, error)
- func (_mock *MockAiFunctionsInterface) ListBatches(ctx context.Context, request aifunctions.ListBatchesRequest) listing.Iterator[aifunctions.Batch]
- func (_mock *MockAiFunctionsInterface) ListBatchesAll(ctx context.Context, request aifunctions.ListBatchesRequest) ([]aifunctions.Batch, error)
- type MockAiFunctionsInterface_AiClassify_Call
- func (_c *MockAiFunctionsInterface_AiClassify_Call) Return(aiClassifyResponse *aifunctions.AiClassifyResponse, err error) *MockAiFunctionsInterface_AiClassify_Call
- func (_c *MockAiFunctionsInterface_AiClassify_Call) Run(run func(ctx context.Context, request aifunctions.AiClassifyRequest)) *MockAiFunctionsInterface_AiClassify_Call
- func (_c *MockAiFunctionsInterface_AiClassify_Call) RunAndReturn(...) *MockAiFunctionsInterface_AiClassify_Call
- type MockAiFunctionsInterface_AiDecide_Call
- func (_c *MockAiFunctionsInterface_AiDecide_Call) Return(aiDecideResponse *aifunctions.AiDecideResponse, err error) *MockAiFunctionsInterface_AiDecide_Call
- func (_c *MockAiFunctionsInterface_AiDecide_Call) Run(run func(ctx context.Context, request aifunctions.AiDecideRequest)) *MockAiFunctionsInterface_AiDecide_Call
- func (_c *MockAiFunctionsInterface_AiDecide_Call) RunAndReturn(...) *MockAiFunctionsInterface_AiDecide_Call
- type MockAiFunctionsInterface_AiExtract_Call
- func (_c *MockAiFunctionsInterface_AiExtract_Call) Return(aiExtractResponse *aifunctions.AiExtractResponse, err error) *MockAiFunctionsInterface_AiExtract_Call
- func (_c *MockAiFunctionsInterface_AiExtract_Call) Run(run func(ctx context.Context, request aifunctions.AiExtractRequest)) *MockAiFunctionsInterface_AiExtract_Call
- func (_c *MockAiFunctionsInterface_AiExtract_Call) RunAndReturn(...) *MockAiFunctionsInterface_AiExtract_Call
- type MockAiFunctionsInterface_AiParseDocument_Call
- func (_c *MockAiFunctionsInterface_AiParseDocument_Call) Return(aiParseDocumentResponse *aifunctions.AiParseDocumentResponse, err error) *MockAiFunctionsInterface_AiParseDocument_Call
- func (_c *MockAiFunctionsInterface_AiParseDocument_Call) Run(run func(ctx context.Context, request aifunctions.AiParseDocumentRequest)) *MockAiFunctionsInterface_AiParseDocument_Call
- func (_c *MockAiFunctionsInterface_AiParseDocument_Call) RunAndReturn(...) *MockAiFunctionsInterface_AiParseDocument_Call
- type MockAiFunctionsInterface_CancelBatch_Call
- func (_c *MockAiFunctionsInterface_CancelBatch_Call) Return(cancelBatchResponse *aifunctions.CancelBatchResponse, err error) *MockAiFunctionsInterface_CancelBatch_Call
- func (_c *MockAiFunctionsInterface_CancelBatch_Call) Run(run func(ctx context.Context, request aifunctions.CancelBatchRequest)) *MockAiFunctionsInterface_CancelBatch_Call
- func (_c *MockAiFunctionsInterface_CancelBatch_Call) RunAndReturn(...) *MockAiFunctionsInterface_CancelBatch_Call
- type MockAiFunctionsInterface_CreateBatch_Call
- func (_c *MockAiFunctionsInterface_CreateBatch_Call) Return(batch *aifunctions.Batch, err error) *MockAiFunctionsInterface_CreateBatch_Call
- func (_c *MockAiFunctionsInterface_CreateBatch_Call) Run(run func(ctx context.Context, request aifunctions.CreateBatchRequest)) *MockAiFunctionsInterface_CreateBatch_Call
- func (_c *MockAiFunctionsInterface_CreateBatch_Call) RunAndReturn(...) *MockAiFunctionsInterface_CreateBatch_Call
- type MockAiFunctionsInterface_Expecter
- func (_e *MockAiFunctionsInterface_Expecter) AiClassify(ctx any, request any) *MockAiFunctionsInterface_AiClassify_Call
- func (_e *MockAiFunctionsInterface_Expecter) AiDecide(ctx any, request any) *MockAiFunctionsInterface_AiDecide_Call
- func (_e *MockAiFunctionsInterface_Expecter) AiExtract(ctx any, request any) *MockAiFunctionsInterface_AiExtract_Call
- func (_e *MockAiFunctionsInterface_Expecter) AiParseDocument(ctx any, request any) *MockAiFunctionsInterface_AiParseDocument_Call
- func (_e *MockAiFunctionsInterface_Expecter) CancelBatch(ctx any, request any) *MockAiFunctionsInterface_CancelBatch_Call
- func (_e *MockAiFunctionsInterface_Expecter) CreateBatch(ctx any, request any) *MockAiFunctionsInterface_CreateBatch_Call
- func (_e *MockAiFunctionsInterface_Expecter) GetBatch(ctx any, request any) *MockAiFunctionsInterface_GetBatch_Call
- func (_e *MockAiFunctionsInterface_Expecter) ListBatches(ctx any, request any) *MockAiFunctionsInterface_ListBatches_Call
- func (_e *MockAiFunctionsInterface_Expecter) ListBatchesAll(ctx any, request any) *MockAiFunctionsInterface_ListBatchesAll_Call
- type MockAiFunctionsInterface_GetBatch_Call
- func (_c *MockAiFunctionsInterface_GetBatch_Call) Return(batch *aifunctions.Batch, err error) *MockAiFunctionsInterface_GetBatch_Call
- func (_c *MockAiFunctionsInterface_GetBatch_Call) Run(run func(ctx context.Context, request aifunctions.GetBatchRequest)) *MockAiFunctionsInterface_GetBatch_Call
- func (_c *MockAiFunctionsInterface_GetBatch_Call) RunAndReturn(...) *MockAiFunctionsInterface_GetBatch_Call
- type MockAiFunctionsInterface_ListBatchesAll_Call
- func (_c *MockAiFunctionsInterface_ListBatchesAll_Call) Return(batchs []aifunctions.Batch, err error) *MockAiFunctionsInterface_ListBatchesAll_Call
- func (_c *MockAiFunctionsInterface_ListBatchesAll_Call) Run(run func(ctx context.Context, request aifunctions.ListBatchesRequest)) *MockAiFunctionsInterface_ListBatchesAll_Call
- func (_c *MockAiFunctionsInterface_ListBatchesAll_Call) RunAndReturn(...) *MockAiFunctionsInterface_ListBatchesAll_Call
- type MockAiFunctionsInterface_ListBatches_Call
- func (_c *MockAiFunctionsInterface_ListBatches_Call) Return(iterator listing.Iterator[aifunctions.Batch]) *MockAiFunctionsInterface_ListBatches_Call
- func (_c *MockAiFunctionsInterface_ListBatches_Call) Run(run func(ctx context.Context, request aifunctions.ListBatchesRequest)) *MockAiFunctionsInterface_ListBatches_Call
- func (_c *MockAiFunctionsInterface_ListBatches_Call) RunAndReturn(...) *MockAiFunctionsInterface_ListBatches_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAiFunctionsInterface ¶
MockAiFunctionsInterface is an autogenerated mock type for the AiFunctionsInterface type
func NewMockAiFunctionsInterface ¶
func NewMockAiFunctionsInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MockAiFunctionsInterface
NewMockAiFunctionsInterface creates a new instance of MockAiFunctionsInterface. 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 (*MockAiFunctionsInterface) AiClassify ¶
func (_mock *MockAiFunctionsInterface) AiClassify(ctx context.Context, request aifunctions.AiClassifyRequest) (*aifunctions.AiClassifyResponse, error)
AiClassify provides a mock function for the type MockAiFunctionsInterface
func (*MockAiFunctionsInterface) AiDecide ¶
func (_mock *MockAiFunctionsInterface) AiDecide(ctx context.Context, request aifunctions.AiDecideRequest) (*aifunctions.AiDecideResponse, error)
AiDecide provides a mock function for the type MockAiFunctionsInterface
func (*MockAiFunctionsInterface) AiExtract ¶
func (_mock *MockAiFunctionsInterface) AiExtract(ctx context.Context, request aifunctions.AiExtractRequest) (*aifunctions.AiExtractResponse, error)
AiExtract provides a mock function for the type MockAiFunctionsInterface
func (*MockAiFunctionsInterface) AiParseDocument ¶
func (_mock *MockAiFunctionsInterface) AiParseDocument(ctx context.Context, request aifunctions.AiParseDocumentRequest) (*aifunctions.AiParseDocumentResponse, error)
AiParseDocument provides a mock function for the type MockAiFunctionsInterface
func (*MockAiFunctionsInterface) CancelBatch ¶
func (_mock *MockAiFunctionsInterface) CancelBatch(ctx context.Context, request aifunctions.CancelBatchRequest) (*aifunctions.CancelBatchResponse, error)
CancelBatch provides a mock function for the type MockAiFunctionsInterface
func (*MockAiFunctionsInterface) CreateBatch ¶
func (_mock *MockAiFunctionsInterface) CreateBatch(ctx context.Context, request aifunctions.CreateBatchRequest) (*aifunctions.Batch, error)
CreateBatch provides a mock function for the type MockAiFunctionsInterface
func (*MockAiFunctionsInterface) EXPECT ¶
func (_m *MockAiFunctionsInterface) EXPECT() *MockAiFunctionsInterface_Expecter
func (*MockAiFunctionsInterface) GetBatch ¶
func (_mock *MockAiFunctionsInterface) GetBatch(ctx context.Context, request aifunctions.GetBatchRequest) (*aifunctions.Batch, error)
GetBatch provides a mock function for the type MockAiFunctionsInterface
func (*MockAiFunctionsInterface) ListBatches ¶
func (_mock *MockAiFunctionsInterface) ListBatches(ctx context.Context, request aifunctions.ListBatchesRequest) listing.Iterator[aifunctions.Batch]
ListBatches provides a mock function for the type MockAiFunctionsInterface
func (*MockAiFunctionsInterface) ListBatchesAll ¶
func (_mock *MockAiFunctionsInterface) ListBatchesAll(ctx context.Context, request aifunctions.ListBatchesRequest) ([]aifunctions.Batch, error)
ListBatchesAll provides a mock function for the type MockAiFunctionsInterface
type MockAiFunctionsInterface_AiClassify_Call ¶
MockAiFunctionsInterface_AiClassify_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AiClassify'
func (*MockAiFunctionsInterface_AiClassify_Call) Return ¶
func (_c *MockAiFunctionsInterface_AiClassify_Call) Return(aiClassifyResponse *aifunctions.AiClassifyResponse, err error) *MockAiFunctionsInterface_AiClassify_Call
func (*MockAiFunctionsInterface_AiClassify_Call) Run ¶
func (_c *MockAiFunctionsInterface_AiClassify_Call) Run(run func(ctx context.Context, request aifunctions.AiClassifyRequest)) *MockAiFunctionsInterface_AiClassify_Call
func (*MockAiFunctionsInterface_AiClassify_Call) RunAndReturn ¶
func (_c *MockAiFunctionsInterface_AiClassify_Call) RunAndReturn(run func(ctx context.Context, request aifunctions.AiClassifyRequest) (*aifunctions.AiClassifyResponse, error)) *MockAiFunctionsInterface_AiClassify_Call
type MockAiFunctionsInterface_AiDecide_Call ¶
MockAiFunctionsInterface_AiDecide_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AiDecide'
func (*MockAiFunctionsInterface_AiDecide_Call) Return ¶
func (_c *MockAiFunctionsInterface_AiDecide_Call) Return(aiDecideResponse *aifunctions.AiDecideResponse, err error) *MockAiFunctionsInterface_AiDecide_Call
func (*MockAiFunctionsInterface_AiDecide_Call) Run ¶
func (_c *MockAiFunctionsInterface_AiDecide_Call) Run(run func(ctx context.Context, request aifunctions.AiDecideRequest)) *MockAiFunctionsInterface_AiDecide_Call
func (*MockAiFunctionsInterface_AiDecide_Call) RunAndReturn ¶
func (_c *MockAiFunctionsInterface_AiDecide_Call) RunAndReturn(run func(ctx context.Context, request aifunctions.AiDecideRequest) (*aifunctions.AiDecideResponse, error)) *MockAiFunctionsInterface_AiDecide_Call
type MockAiFunctionsInterface_AiExtract_Call ¶
MockAiFunctionsInterface_AiExtract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AiExtract'
func (*MockAiFunctionsInterface_AiExtract_Call) Return ¶
func (_c *MockAiFunctionsInterface_AiExtract_Call) Return(aiExtractResponse *aifunctions.AiExtractResponse, err error) *MockAiFunctionsInterface_AiExtract_Call
func (*MockAiFunctionsInterface_AiExtract_Call) Run ¶
func (_c *MockAiFunctionsInterface_AiExtract_Call) Run(run func(ctx context.Context, request aifunctions.AiExtractRequest)) *MockAiFunctionsInterface_AiExtract_Call
func (*MockAiFunctionsInterface_AiExtract_Call) RunAndReturn ¶
func (_c *MockAiFunctionsInterface_AiExtract_Call) RunAndReturn(run func(ctx context.Context, request aifunctions.AiExtractRequest) (*aifunctions.AiExtractResponse, error)) *MockAiFunctionsInterface_AiExtract_Call
type MockAiFunctionsInterface_AiParseDocument_Call ¶
MockAiFunctionsInterface_AiParseDocument_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AiParseDocument'
func (*MockAiFunctionsInterface_AiParseDocument_Call) Return ¶
func (_c *MockAiFunctionsInterface_AiParseDocument_Call) Return(aiParseDocumentResponse *aifunctions.AiParseDocumentResponse, err error) *MockAiFunctionsInterface_AiParseDocument_Call
func (*MockAiFunctionsInterface_AiParseDocument_Call) Run ¶
func (_c *MockAiFunctionsInterface_AiParseDocument_Call) Run(run func(ctx context.Context, request aifunctions.AiParseDocumentRequest)) *MockAiFunctionsInterface_AiParseDocument_Call
func (*MockAiFunctionsInterface_AiParseDocument_Call) RunAndReturn ¶
func (_c *MockAiFunctionsInterface_AiParseDocument_Call) RunAndReturn(run func(ctx context.Context, request aifunctions.AiParseDocumentRequest) (*aifunctions.AiParseDocumentResponse, error)) *MockAiFunctionsInterface_AiParseDocument_Call
type MockAiFunctionsInterface_CancelBatch_Call ¶
MockAiFunctionsInterface_CancelBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelBatch'
func (*MockAiFunctionsInterface_CancelBatch_Call) Return ¶
func (_c *MockAiFunctionsInterface_CancelBatch_Call) Return(cancelBatchResponse *aifunctions.CancelBatchResponse, err error) *MockAiFunctionsInterface_CancelBatch_Call
func (*MockAiFunctionsInterface_CancelBatch_Call) Run ¶
func (_c *MockAiFunctionsInterface_CancelBatch_Call) Run(run func(ctx context.Context, request aifunctions.CancelBatchRequest)) *MockAiFunctionsInterface_CancelBatch_Call
func (*MockAiFunctionsInterface_CancelBatch_Call) RunAndReturn ¶
func (_c *MockAiFunctionsInterface_CancelBatch_Call) RunAndReturn(run func(ctx context.Context, request aifunctions.CancelBatchRequest) (*aifunctions.CancelBatchResponse, error)) *MockAiFunctionsInterface_CancelBatch_Call
type MockAiFunctionsInterface_CreateBatch_Call ¶
MockAiFunctionsInterface_CreateBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateBatch'
func (*MockAiFunctionsInterface_CreateBatch_Call) Return ¶
func (_c *MockAiFunctionsInterface_CreateBatch_Call) Return(batch *aifunctions.Batch, err error) *MockAiFunctionsInterface_CreateBatch_Call
func (*MockAiFunctionsInterface_CreateBatch_Call) Run ¶
func (_c *MockAiFunctionsInterface_CreateBatch_Call) Run(run func(ctx context.Context, request aifunctions.CreateBatchRequest)) *MockAiFunctionsInterface_CreateBatch_Call
func (*MockAiFunctionsInterface_CreateBatch_Call) RunAndReturn ¶
func (_c *MockAiFunctionsInterface_CreateBatch_Call) RunAndReturn(run func(ctx context.Context, request aifunctions.CreateBatchRequest) (*aifunctions.Batch, error)) *MockAiFunctionsInterface_CreateBatch_Call
type MockAiFunctionsInterface_Expecter ¶
type MockAiFunctionsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAiFunctionsInterface_Expecter) AiClassify ¶
func (_e *MockAiFunctionsInterface_Expecter) AiClassify(ctx any, request any) *MockAiFunctionsInterface_AiClassify_Call
AiClassify is a helper method to define mock.On call
- ctx context.Context
- request aifunctions.AiClassifyRequest
func (*MockAiFunctionsInterface_Expecter) AiDecide ¶
func (_e *MockAiFunctionsInterface_Expecter) AiDecide(ctx any, request any) *MockAiFunctionsInterface_AiDecide_Call
AiDecide is a helper method to define mock.On call
- ctx context.Context
- request aifunctions.AiDecideRequest
func (*MockAiFunctionsInterface_Expecter) AiExtract ¶
func (_e *MockAiFunctionsInterface_Expecter) AiExtract(ctx any, request any) *MockAiFunctionsInterface_AiExtract_Call
AiExtract is a helper method to define mock.On call
- ctx context.Context
- request aifunctions.AiExtractRequest
func (*MockAiFunctionsInterface_Expecter) AiParseDocument ¶
func (_e *MockAiFunctionsInterface_Expecter) AiParseDocument(ctx any, request any) *MockAiFunctionsInterface_AiParseDocument_Call
AiParseDocument is a helper method to define mock.On call
- ctx context.Context
- request aifunctions.AiParseDocumentRequest
func (*MockAiFunctionsInterface_Expecter) CancelBatch ¶
func (_e *MockAiFunctionsInterface_Expecter) CancelBatch(ctx any, request any) *MockAiFunctionsInterface_CancelBatch_Call
CancelBatch is a helper method to define mock.On call
- ctx context.Context
- request aifunctions.CancelBatchRequest
func (*MockAiFunctionsInterface_Expecter) CreateBatch ¶
func (_e *MockAiFunctionsInterface_Expecter) CreateBatch(ctx any, request any) *MockAiFunctionsInterface_CreateBatch_Call
CreateBatch is a helper method to define mock.On call
- ctx context.Context
- request aifunctions.CreateBatchRequest
func (*MockAiFunctionsInterface_Expecter) GetBatch ¶
func (_e *MockAiFunctionsInterface_Expecter) GetBatch(ctx any, request any) *MockAiFunctionsInterface_GetBatch_Call
GetBatch is a helper method to define mock.On call
- ctx context.Context
- request aifunctions.GetBatchRequest
func (*MockAiFunctionsInterface_Expecter) ListBatches ¶
func (_e *MockAiFunctionsInterface_Expecter) ListBatches(ctx any, request any) *MockAiFunctionsInterface_ListBatches_Call
ListBatches is a helper method to define mock.On call
- ctx context.Context
- request aifunctions.ListBatchesRequest
func (*MockAiFunctionsInterface_Expecter) ListBatchesAll ¶
func (_e *MockAiFunctionsInterface_Expecter) ListBatchesAll(ctx any, request any) *MockAiFunctionsInterface_ListBatchesAll_Call
ListBatchesAll is a helper method to define mock.On call
- ctx context.Context
- request aifunctions.ListBatchesRequest
type MockAiFunctionsInterface_GetBatch_Call ¶
MockAiFunctionsInterface_GetBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBatch'
func (*MockAiFunctionsInterface_GetBatch_Call) Return ¶
func (_c *MockAiFunctionsInterface_GetBatch_Call) Return(batch *aifunctions.Batch, err error) *MockAiFunctionsInterface_GetBatch_Call
func (*MockAiFunctionsInterface_GetBatch_Call) Run ¶
func (_c *MockAiFunctionsInterface_GetBatch_Call) Run(run func(ctx context.Context, request aifunctions.GetBatchRequest)) *MockAiFunctionsInterface_GetBatch_Call
func (*MockAiFunctionsInterface_GetBatch_Call) RunAndReturn ¶
func (_c *MockAiFunctionsInterface_GetBatch_Call) RunAndReturn(run func(ctx context.Context, request aifunctions.GetBatchRequest) (*aifunctions.Batch, error)) *MockAiFunctionsInterface_GetBatch_Call
type MockAiFunctionsInterface_ListBatchesAll_Call ¶
MockAiFunctionsInterface_ListBatchesAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListBatchesAll'
func (*MockAiFunctionsInterface_ListBatchesAll_Call) Return ¶
func (_c *MockAiFunctionsInterface_ListBatchesAll_Call) Return(batchs []aifunctions.Batch, err error) *MockAiFunctionsInterface_ListBatchesAll_Call
func (*MockAiFunctionsInterface_ListBatchesAll_Call) Run ¶
func (_c *MockAiFunctionsInterface_ListBatchesAll_Call) Run(run func(ctx context.Context, request aifunctions.ListBatchesRequest)) *MockAiFunctionsInterface_ListBatchesAll_Call
func (*MockAiFunctionsInterface_ListBatchesAll_Call) RunAndReturn ¶
func (_c *MockAiFunctionsInterface_ListBatchesAll_Call) RunAndReturn(run func(ctx context.Context, request aifunctions.ListBatchesRequest) ([]aifunctions.Batch, error)) *MockAiFunctionsInterface_ListBatchesAll_Call
type MockAiFunctionsInterface_ListBatches_Call ¶
MockAiFunctionsInterface_ListBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListBatches'
func (*MockAiFunctionsInterface_ListBatches_Call) Return ¶
func (_c *MockAiFunctionsInterface_ListBatches_Call) Return(iterator listing.Iterator[aifunctions.Batch]) *MockAiFunctionsInterface_ListBatches_Call
func (*MockAiFunctionsInterface_ListBatches_Call) Run ¶
func (_c *MockAiFunctionsInterface_ListBatches_Call) Run(run func(ctx context.Context, request aifunctions.ListBatchesRequest)) *MockAiFunctionsInterface_ListBatches_Call
func (*MockAiFunctionsInterface_ListBatches_Call) RunAndReturn ¶
func (_c *MockAiFunctionsInterface_ListBatches_Call) RunAndReturn(run func(ctx context.Context, request aifunctions.ListBatchesRequest) listing.Iterator[aifunctions.Batch]) *MockAiFunctionsInterface_ListBatches_Call