Documentation
¶
Index ¶
- type MockAiBuilderInterface
- func (_m *MockAiBuilderInterface) CancelOptimize(ctx context.Context, request aibuilder.CancelCustomLlmOptimizationRunRequest) error
- func (_m *MockAiBuilderInterface) CreateCustomLlm(ctx context.Context, request aibuilder.CreateCustomLlmRequest) (*aibuilder.CustomLlm, error)
- func (_m *MockAiBuilderInterface) DeleteCustomLlm(ctx context.Context, request aibuilder.DeleteCustomLlmRequest) error
- func (_m *MockAiBuilderInterface) DeleteCustomLlmById(ctx context.Context, id string) error
- func (_m *MockAiBuilderInterface) EXPECT() *MockAiBuilderInterface_Expecter
- func (_m *MockAiBuilderInterface) GetCustomLlm(ctx context.Context, request aibuilder.GetCustomLlmRequest) (*aibuilder.CustomLlm, error)
- func (_m *MockAiBuilderInterface) GetCustomLlmById(ctx context.Context, id string) (*aibuilder.CustomLlm, error)
- func (_m *MockAiBuilderInterface) StartOptimize(ctx context.Context, request aibuilder.StartCustomLlmOptimizationRunRequest) (*aibuilder.CustomLlm, error)
- func (_m *MockAiBuilderInterface) UpdateCustomLlm(ctx context.Context, request aibuilder.UpdateCustomLlmRequest) (*aibuilder.CustomLlm, error)
- type MockAiBuilderInterface_CancelOptimize_Call
- func (_c *MockAiBuilderInterface_CancelOptimize_Call) Return(_a0 error) *MockAiBuilderInterface_CancelOptimize_Call
- func (_c *MockAiBuilderInterface_CancelOptimize_Call) Run(...) *MockAiBuilderInterface_CancelOptimize_Call
- func (_c *MockAiBuilderInterface_CancelOptimize_Call) RunAndReturn(...) *MockAiBuilderInterface_CancelOptimize_Call
- type MockAiBuilderInterface_CreateCustomLlm_Call
- func (_c *MockAiBuilderInterface_CreateCustomLlm_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockAiBuilderInterface_CreateCustomLlm_Call
- func (_c *MockAiBuilderInterface_CreateCustomLlm_Call) Run(run func(ctx context.Context, request aibuilder.CreateCustomLlmRequest)) *MockAiBuilderInterface_CreateCustomLlm_Call
- func (_c *MockAiBuilderInterface_CreateCustomLlm_Call) RunAndReturn(...) *MockAiBuilderInterface_CreateCustomLlm_Call
- type MockAiBuilderInterface_DeleteCustomLlmById_Call
- func (_c *MockAiBuilderInterface_DeleteCustomLlmById_Call) Return(_a0 error) *MockAiBuilderInterface_DeleteCustomLlmById_Call
- func (_c *MockAiBuilderInterface_DeleteCustomLlmById_Call) Run(run func(ctx context.Context, id string)) *MockAiBuilderInterface_DeleteCustomLlmById_Call
- func (_c *MockAiBuilderInterface_DeleteCustomLlmById_Call) RunAndReturn(run func(context.Context, string) error) *MockAiBuilderInterface_DeleteCustomLlmById_Call
- type MockAiBuilderInterface_DeleteCustomLlm_Call
- func (_c *MockAiBuilderInterface_DeleteCustomLlm_Call) Return(_a0 error) *MockAiBuilderInterface_DeleteCustomLlm_Call
- func (_c *MockAiBuilderInterface_DeleteCustomLlm_Call) Run(run func(ctx context.Context, request aibuilder.DeleteCustomLlmRequest)) *MockAiBuilderInterface_DeleteCustomLlm_Call
- func (_c *MockAiBuilderInterface_DeleteCustomLlm_Call) RunAndReturn(run func(context.Context, aibuilder.DeleteCustomLlmRequest) error) *MockAiBuilderInterface_DeleteCustomLlm_Call
- type MockAiBuilderInterface_Expecter
- func (_e *MockAiBuilderInterface_Expecter) CancelOptimize(ctx interface{}, request interface{}) *MockAiBuilderInterface_CancelOptimize_Call
- func (_e *MockAiBuilderInterface_Expecter) CreateCustomLlm(ctx interface{}, request interface{}) *MockAiBuilderInterface_CreateCustomLlm_Call
- func (_e *MockAiBuilderInterface_Expecter) DeleteCustomLlm(ctx interface{}, request interface{}) *MockAiBuilderInterface_DeleteCustomLlm_Call
- func (_e *MockAiBuilderInterface_Expecter) DeleteCustomLlmById(ctx interface{}, id interface{}) *MockAiBuilderInterface_DeleteCustomLlmById_Call
- func (_e *MockAiBuilderInterface_Expecter) GetCustomLlm(ctx interface{}, request interface{}) *MockAiBuilderInterface_GetCustomLlm_Call
- func (_e *MockAiBuilderInterface_Expecter) GetCustomLlmById(ctx interface{}, id interface{}) *MockAiBuilderInterface_GetCustomLlmById_Call
- func (_e *MockAiBuilderInterface_Expecter) StartOptimize(ctx interface{}, request interface{}) *MockAiBuilderInterface_StartOptimize_Call
- func (_e *MockAiBuilderInterface_Expecter) UpdateCustomLlm(ctx interface{}, request interface{}) *MockAiBuilderInterface_UpdateCustomLlm_Call
- type MockAiBuilderInterface_GetCustomLlmById_Call
- func (_c *MockAiBuilderInterface_GetCustomLlmById_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockAiBuilderInterface_GetCustomLlmById_Call
- func (_c *MockAiBuilderInterface_GetCustomLlmById_Call) Run(run func(ctx context.Context, id string)) *MockAiBuilderInterface_GetCustomLlmById_Call
- func (_c *MockAiBuilderInterface_GetCustomLlmById_Call) RunAndReturn(run func(context.Context, string) (*aibuilder.CustomLlm, error)) *MockAiBuilderInterface_GetCustomLlmById_Call
- type MockAiBuilderInterface_GetCustomLlm_Call
- func (_c *MockAiBuilderInterface_GetCustomLlm_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockAiBuilderInterface_GetCustomLlm_Call
- func (_c *MockAiBuilderInterface_GetCustomLlm_Call) Run(run func(ctx context.Context, request aibuilder.GetCustomLlmRequest)) *MockAiBuilderInterface_GetCustomLlm_Call
- func (_c *MockAiBuilderInterface_GetCustomLlm_Call) RunAndReturn(...) *MockAiBuilderInterface_GetCustomLlm_Call
- type MockAiBuilderInterface_StartOptimize_Call
- func (_c *MockAiBuilderInterface_StartOptimize_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockAiBuilderInterface_StartOptimize_Call
- func (_c *MockAiBuilderInterface_StartOptimize_Call) Run(...) *MockAiBuilderInterface_StartOptimize_Call
- func (_c *MockAiBuilderInterface_StartOptimize_Call) RunAndReturn(...) *MockAiBuilderInterface_StartOptimize_Call
- type MockAiBuilderInterface_UpdateCustomLlm_Call
- func (_c *MockAiBuilderInterface_UpdateCustomLlm_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockAiBuilderInterface_UpdateCustomLlm_Call
- func (_c *MockAiBuilderInterface_UpdateCustomLlm_Call) Run(run func(ctx context.Context, request aibuilder.UpdateCustomLlmRequest)) *MockAiBuilderInterface_UpdateCustomLlm_Call
- func (_c *MockAiBuilderInterface_UpdateCustomLlm_Call) RunAndReturn(...) *MockAiBuilderInterface_UpdateCustomLlm_Call
- type MockCustomLlmsInterface
- func (_m *MockCustomLlmsInterface) Cancel(ctx context.Context, request aibuilder.CancelCustomLlmOptimizationRunRequest) error
- func (_m *MockCustomLlmsInterface) Create(ctx context.Context, request aibuilder.StartCustomLlmOptimizationRunRequest) (*aibuilder.CustomLlm, error)
- func (_m *MockCustomLlmsInterface) EXPECT() *MockCustomLlmsInterface_Expecter
- func (_m *MockCustomLlmsInterface) Get(ctx context.Context, request aibuilder.GetCustomLlmRequest) (*aibuilder.CustomLlm, error)
- func (_m *MockCustomLlmsInterface) GetById(ctx context.Context, id string) (*aibuilder.CustomLlm, error)
- func (_m *MockCustomLlmsInterface) Update(ctx context.Context, request aibuilder.UpdateCustomLlmRequest) (*aibuilder.CustomLlm, error)
- type MockCustomLlmsInterface_Cancel_Call
- type MockCustomLlmsInterface_Create_Call
- func (_c *MockCustomLlmsInterface_Create_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockCustomLlmsInterface_Create_Call
- func (_c *MockCustomLlmsInterface_Create_Call) Run(...) *MockCustomLlmsInterface_Create_Call
- func (_c *MockCustomLlmsInterface_Create_Call) RunAndReturn(...) *MockCustomLlmsInterface_Create_Call
- type MockCustomLlmsInterface_Expecter
- func (_e *MockCustomLlmsInterface_Expecter) Cancel(ctx interface{}, request interface{}) *MockCustomLlmsInterface_Cancel_Call
- func (_e *MockCustomLlmsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockCustomLlmsInterface_Create_Call
- func (_e *MockCustomLlmsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockCustomLlmsInterface_Get_Call
- func (_e *MockCustomLlmsInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockCustomLlmsInterface_GetById_Call
- func (_e *MockCustomLlmsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockCustomLlmsInterface_Update_Call
- type MockCustomLlmsInterface_GetById_Call
- func (_c *MockCustomLlmsInterface_GetById_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockCustomLlmsInterface_GetById_Call
- func (_c *MockCustomLlmsInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockCustomLlmsInterface_GetById_Call
- func (_c *MockCustomLlmsInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*aibuilder.CustomLlm, error)) *MockCustomLlmsInterface_GetById_Call
- type MockCustomLlmsInterface_Get_Call
- func (_c *MockCustomLlmsInterface_Get_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockCustomLlmsInterface_Get_Call
- func (_c *MockCustomLlmsInterface_Get_Call) Run(run func(ctx context.Context, request aibuilder.GetCustomLlmRequest)) *MockCustomLlmsInterface_Get_Call
- func (_c *MockCustomLlmsInterface_Get_Call) RunAndReturn(...) *MockCustomLlmsInterface_Get_Call
- type MockCustomLlmsInterface_Update_Call
- func (_c *MockCustomLlmsInterface_Update_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockCustomLlmsInterface_Update_Call
- func (_c *MockCustomLlmsInterface_Update_Call) Run(run func(ctx context.Context, request aibuilder.UpdateCustomLlmRequest)) *MockCustomLlmsInterface_Update_Call
- func (_c *MockCustomLlmsInterface_Update_Call) RunAndReturn(...) *MockCustomLlmsInterface_Update_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAiBuilderInterface ¶ added in v0.73.0
MockAiBuilderInterface is an autogenerated mock type for the AiBuilderInterface type
func NewMockAiBuilderInterface ¶ added in v0.73.0
func NewMockAiBuilderInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MockAiBuilderInterface
NewMockAiBuilderInterface creates a new instance of MockAiBuilderInterface. 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 (*MockAiBuilderInterface) CancelOptimize ¶ added in v0.73.0
func (_m *MockAiBuilderInterface) CancelOptimize(ctx context.Context, request aibuilder.CancelCustomLlmOptimizationRunRequest) error
CancelOptimize provides a mock function with given fields: ctx, request
func (*MockAiBuilderInterface) CreateCustomLlm ¶ added in v0.73.0
func (_m *MockAiBuilderInterface) CreateCustomLlm(ctx context.Context, request aibuilder.CreateCustomLlmRequest) (*aibuilder.CustomLlm, error)
CreateCustomLlm provides a mock function with given fields: ctx, request
func (*MockAiBuilderInterface) DeleteCustomLlm ¶ added in v0.73.0
func (_m *MockAiBuilderInterface) DeleteCustomLlm(ctx context.Context, request aibuilder.DeleteCustomLlmRequest) error
DeleteCustomLlm provides a mock function with given fields: ctx, request
func (*MockAiBuilderInterface) DeleteCustomLlmById ¶ added in v0.73.0
func (_m *MockAiBuilderInterface) DeleteCustomLlmById(ctx context.Context, id string) error
DeleteCustomLlmById provides a mock function with given fields: ctx, id
func (*MockAiBuilderInterface) EXPECT ¶ added in v0.73.0
func (_m *MockAiBuilderInterface) EXPECT() *MockAiBuilderInterface_Expecter
func (*MockAiBuilderInterface) GetCustomLlm ¶ added in v0.73.0
func (_m *MockAiBuilderInterface) GetCustomLlm(ctx context.Context, request aibuilder.GetCustomLlmRequest) (*aibuilder.CustomLlm, error)
GetCustomLlm provides a mock function with given fields: ctx, request
func (*MockAiBuilderInterface) GetCustomLlmById ¶ added in v0.73.0
func (_m *MockAiBuilderInterface) GetCustomLlmById(ctx context.Context, id string) (*aibuilder.CustomLlm, error)
GetCustomLlmById provides a mock function with given fields: ctx, id
func (*MockAiBuilderInterface) StartOptimize ¶ added in v0.73.0
func (_m *MockAiBuilderInterface) StartOptimize(ctx context.Context, request aibuilder.StartCustomLlmOptimizationRunRequest) (*aibuilder.CustomLlm, error)
StartOptimize provides a mock function with given fields: ctx, request
func (*MockAiBuilderInterface) UpdateCustomLlm ¶ added in v0.73.0
func (_m *MockAiBuilderInterface) UpdateCustomLlm(ctx context.Context, request aibuilder.UpdateCustomLlmRequest) (*aibuilder.CustomLlm, error)
UpdateCustomLlm provides a mock function with given fields: ctx, request
type MockAiBuilderInterface_CancelOptimize_Call ¶ added in v0.73.0
MockAiBuilderInterface_CancelOptimize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelOptimize'
func (*MockAiBuilderInterface_CancelOptimize_Call) Return ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_CancelOptimize_Call) Return(_a0 error) *MockAiBuilderInterface_CancelOptimize_Call
func (*MockAiBuilderInterface_CancelOptimize_Call) Run ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_CancelOptimize_Call) Run(run func(ctx context.Context, request aibuilder.CancelCustomLlmOptimizationRunRequest)) *MockAiBuilderInterface_CancelOptimize_Call
func (*MockAiBuilderInterface_CancelOptimize_Call) RunAndReturn ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_CancelOptimize_Call) RunAndReturn(run func(context.Context, aibuilder.CancelCustomLlmOptimizationRunRequest) error) *MockAiBuilderInterface_CancelOptimize_Call
type MockAiBuilderInterface_CreateCustomLlm_Call ¶ added in v0.73.0
MockAiBuilderInterface_CreateCustomLlm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCustomLlm'
func (*MockAiBuilderInterface_CreateCustomLlm_Call) Return ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_CreateCustomLlm_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockAiBuilderInterface_CreateCustomLlm_Call
func (*MockAiBuilderInterface_CreateCustomLlm_Call) Run ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_CreateCustomLlm_Call) Run(run func(ctx context.Context, request aibuilder.CreateCustomLlmRequest)) *MockAiBuilderInterface_CreateCustomLlm_Call
func (*MockAiBuilderInterface_CreateCustomLlm_Call) RunAndReturn ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_CreateCustomLlm_Call) RunAndReturn(run func(context.Context, aibuilder.CreateCustomLlmRequest) (*aibuilder.CustomLlm, error)) *MockAiBuilderInterface_CreateCustomLlm_Call
type MockAiBuilderInterface_DeleteCustomLlmById_Call ¶ added in v0.73.0
MockAiBuilderInterface_DeleteCustomLlmById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCustomLlmById'
func (*MockAiBuilderInterface_DeleteCustomLlmById_Call) Return ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_DeleteCustomLlmById_Call) Return(_a0 error) *MockAiBuilderInterface_DeleteCustomLlmById_Call
func (*MockAiBuilderInterface_DeleteCustomLlmById_Call) Run ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_DeleteCustomLlmById_Call) Run(run func(ctx context.Context, id string)) *MockAiBuilderInterface_DeleteCustomLlmById_Call
func (*MockAiBuilderInterface_DeleteCustomLlmById_Call) RunAndReturn ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_DeleteCustomLlmById_Call) RunAndReturn(run func(context.Context, string) error) *MockAiBuilderInterface_DeleteCustomLlmById_Call
type MockAiBuilderInterface_DeleteCustomLlm_Call ¶ added in v0.73.0
MockAiBuilderInterface_DeleteCustomLlm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCustomLlm'
func (*MockAiBuilderInterface_DeleteCustomLlm_Call) Return ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_DeleteCustomLlm_Call) Return(_a0 error) *MockAiBuilderInterface_DeleteCustomLlm_Call
func (*MockAiBuilderInterface_DeleteCustomLlm_Call) Run ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_DeleteCustomLlm_Call) Run(run func(ctx context.Context, request aibuilder.DeleteCustomLlmRequest)) *MockAiBuilderInterface_DeleteCustomLlm_Call
func (*MockAiBuilderInterface_DeleteCustomLlm_Call) RunAndReturn ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_DeleteCustomLlm_Call) RunAndReturn(run func(context.Context, aibuilder.DeleteCustomLlmRequest) error) *MockAiBuilderInterface_DeleteCustomLlm_Call
type MockAiBuilderInterface_Expecter ¶ added in v0.73.0
type MockAiBuilderInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAiBuilderInterface_Expecter) CancelOptimize ¶ added in v0.73.0
func (_e *MockAiBuilderInterface_Expecter) CancelOptimize(ctx interface{}, request interface{}) *MockAiBuilderInterface_CancelOptimize_Call
CancelOptimize is a helper method to define mock.On call
- ctx context.Context
- request aibuilder.CancelCustomLlmOptimizationRunRequest
func (*MockAiBuilderInterface_Expecter) CreateCustomLlm ¶ added in v0.73.0
func (_e *MockAiBuilderInterface_Expecter) CreateCustomLlm(ctx interface{}, request interface{}) *MockAiBuilderInterface_CreateCustomLlm_Call
CreateCustomLlm is a helper method to define mock.On call
- ctx context.Context
- request aibuilder.CreateCustomLlmRequest
func (*MockAiBuilderInterface_Expecter) DeleteCustomLlm ¶ added in v0.73.0
func (_e *MockAiBuilderInterface_Expecter) DeleteCustomLlm(ctx interface{}, request interface{}) *MockAiBuilderInterface_DeleteCustomLlm_Call
DeleteCustomLlm is a helper method to define mock.On call
- ctx context.Context
- request aibuilder.DeleteCustomLlmRequest
func (*MockAiBuilderInterface_Expecter) DeleteCustomLlmById ¶ added in v0.73.0
func (_e *MockAiBuilderInterface_Expecter) DeleteCustomLlmById(ctx interface{}, id interface{}) *MockAiBuilderInterface_DeleteCustomLlmById_Call
DeleteCustomLlmById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockAiBuilderInterface_Expecter) GetCustomLlm ¶ added in v0.73.0
func (_e *MockAiBuilderInterface_Expecter) GetCustomLlm(ctx interface{}, request interface{}) *MockAiBuilderInterface_GetCustomLlm_Call
GetCustomLlm is a helper method to define mock.On call
- ctx context.Context
- request aibuilder.GetCustomLlmRequest
func (*MockAiBuilderInterface_Expecter) GetCustomLlmById ¶ added in v0.73.0
func (_e *MockAiBuilderInterface_Expecter) GetCustomLlmById(ctx interface{}, id interface{}) *MockAiBuilderInterface_GetCustomLlmById_Call
GetCustomLlmById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockAiBuilderInterface_Expecter) StartOptimize ¶ added in v0.73.0
func (_e *MockAiBuilderInterface_Expecter) StartOptimize(ctx interface{}, request interface{}) *MockAiBuilderInterface_StartOptimize_Call
StartOptimize is a helper method to define mock.On call
- ctx context.Context
- request aibuilder.StartCustomLlmOptimizationRunRequest
func (*MockAiBuilderInterface_Expecter) UpdateCustomLlm ¶ added in v0.73.0
func (_e *MockAiBuilderInterface_Expecter) UpdateCustomLlm(ctx interface{}, request interface{}) *MockAiBuilderInterface_UpdateCustomLlm_Call
UpdateCustomLlm is a helper method to define mock.On call
- ctx context.Context
- request aibuilder.UpdateCustomLlmRequest
type MockAiBuilderInterface_GetCustomLlmById_Call ¶ added in v0.73.0
MockAiBuilderInterface_GetCustomLlmById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCustomLlmById'
func (*MockAiBuilderInterface_GetCustomLlmById_Call) Return ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_GetCustomLlmById_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockAiBuilderInterface_GetCustomLlmById_Call
func (*MockAiBuilderInterface_GetCustomLlmById_Call) Run ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_GetCustomLlmById_Call) Run(run func(ctx context.Context, id string)) *MockAiBuilderInterface_GetCustomLlmById_Call
func (*MockAiBuilderInterface_GetCustomLlmById_Call) RunAndReturn ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_GetCustomLlmById_Call) RunAndReturn(run func(context.Context, string) (*aibuilder.CustomLlm, error)) *MockAiBuilderInterface_GetCustomLlmById_Call
type MockAiBuilderInterface_GetCustomLlm_Call ¶ added in v0.73.0
MockAiBuilderInterface_GetCustomLlm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCustomLlm'
func (*MockAiBuilderInterface_GetCustomLlm_Call) Return ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_GetCustomLlm_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockAiBuilderInterface_GetCustomLlm_Call
func (*MockAiBuilderInterface_GetCustomLlm_Call) Run ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_GetCustomLlm_Call) Run(run func(ctx context.Context, request aibuilder.GetCustomLlmRequest)) *MockAiBuilderInterface_GetCustomLlm_Call
func (*MockAiBuilderInterface_GetCustomLlm_Call) RunAndReturn ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_GetCustomLlm_Call) RunAndReturn(run func(context.Context, aibuilder.GetCustomLlmRequest) (*aibuilder.CustomLlm, error)) *MockAiBuilderInterface_GetCustomLlm_Call
type MockAiBuilderInterface_StartOptimize_Call ¶ added in v0.73.0
MockAiBuilderInterface_StartOptimize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartOptimize'
func (*MockAiBuilderInterface_StartOptimize_Call) Return ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_StartOptimize_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockAiBuilderInterface_StartOptimize_Call
func (*MockAiBuilderInterface_StartOptimize_Call) Run ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_StartOptimize_Call) Run(run func(ctx context.Context, request aibuilder.StartCustomLlmOptimizationRunRequest)) *MockAiBuilderInterface_StartOptimize_Call
func (*MockAiBuilderInterface_StartOptimize_Call) RunAndReturn ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_StartOptimize_Call) RunAndReturn(run func(context.Context, aibuilder.StartCustomLlmOptimizationRunRequest) (*aibuilder.CustomLlm, error)) *MockAiBuilderInterface_StartOptimize_Call
type MockAiBuilderInterface_UpdateCustomLlm_Call ¶ added in v0.73.0
MockAiBuilderInterface_UpdateCustomLlm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCustomLlm'
func (*MockAiBuilderInterface_UpdateCustomLlm_Call) Return ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_UpdateCustomLlm_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockAiBuilderInterface_UpdateCustomLlm_Call
func (*MockAiBuilderInterface_UpdateCustomLlm_Call) Run ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_UpdateCustomLlm_Call) Run(run func(ctx context.Context, request aibuilder.UpdateCustomLlmRequest)) *MockAiBuilderInterface_UpdateCustomLlm_Call
func (*MockAiBuilderInterface_UpdateCustomLlm_Call) RunAndReturn ¶ added in v0.73.0
func (_c *MockAiBuilderInterface_UpdateCustomLlm_Call) RunAndReturn(run func(context.Context, aibuilder.UpdateCustomLlmRequest) (*aibuilder.CustomLlm, error)) *MockAiBuilderInterface_UpdateCustomLlm_Call
type MockCustomLlmsInterface ¶
MockCustomLlmsInterface is an autogenerated mock type for the CustomLlmsInterface type
func NewMockCustomLlmsInterface ¶
func NewMockCustomLlmsInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MockCustomLlmsInterface
NewMockCustomLlmsInterface creates a new instance of MockCustomLlmsInterface. 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 (*MockCustomLlmsInterface) Cancel ¶
func (_m *MockCustomLlmsInterface) Cancel(ctx context.Context, request aibuilder.CancelCustomLlmOptimizationRunRequest) error
Cancel provides a mock function with given fields: ctx, request
func (*MockCustomLlmsInterface) Create ¶
func (_m *MockCustomLlmsInterface) Create(ctx context.Context, request aibuilder.StartCustomLlmOptimizationRunRequest) (*aibuilder.CustomLlm, error)
Create provides a mock function with given fields: ctx, request
func (*MockCustomLlmsInterface) EXPECT ¶
func (_m *MockCustomLlmsInterface) EXPECT() *MockCustomLlmsInterface_Expecter
func (*MockCustomLlmsInterface) Get ¶
func (_m *MockCustomLlmsInterface) Get(ctx context.Context, request aibuilder.GetCustomLlmRequest) (*aibuilder.CustomLlm, error)
Get provides a mock function with given fields: ctx, request
func (*MockCustomLlmsInterface) GetById ¶
func (_m *MockCustomLlmsInterface) GetById(ctx context.Context, id string) (*aibuilder.CustomLlm, error)
GetById provides a mock function with given fields: ctx, id
func (*MockCustomLlmsInterface) Update ¶
func (_m *MockCustomLlmsInterface) Update(ctx context.Context, request aibuilder.UpdateCustomLlmRequest) (*aibuilder.CustomLlm, error)
Update provides a mock function with given fields: ctx, request
type MockCustomLlmsInterface_Cancel_Call ¶
MockCustomLlmsInterface_Cancel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cancel'
func (*MockCustomLlmsInterface_Cancel_Call) Return ¶
func (_c *MockCustomLlmsInterface_Cancel_Call) Return(_a0 error) *MockCustomLlmsInterface_Cancel_Call
func (*MockCustomLlmsInterface_Cancel_Call) Run ¶
func (_c *MockCustomLlmsInterface_Cancel_Call) Run(run func(ctx context.Context, request aibuilder.CancelCustomLlmOptimizationRunRequest)) *MockCustomLlmsInterface_Cancel_Call
func (*MockCustomLlmsInterface_Cancel_Call) RunAndReturn ¶
func (_c *MockCustomLlmsInterface_Cancel_Call) RunAndReturn(run func(context.Context, aibuilder.CancelCustomLlmOptimizationRunRequest) error) *MockCustomLlmsInterface_Cancel_Call
type MockCustomLlmsInterface_Create_Call ¶
MockCustomLlmsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockCustomLlmsInterface_Create_Call) Return ¶
func (_c *MockCustomLlmsInterface_Create_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockCustomLlmsInterface_Create_Call
func (*MockCustomLlmsInterface_Create_Call) Run ¶
func (_c *MockCustomLlmsInterface_Create_Call) Run(run func(ctx context.Context, request aibuilder.StartCustomLlmOptimizationRunRequest)) *MockCustomLlmsInterface_Create_Call
func (*MockCustomLlmsInterface_Create_Call) RunAndReturn ¶
func (_c *MockCustomLlmsInterface_Create_Call) RunAndReturn(run func(context.Context, aibuilder.StartCustomLlmOptimizationRunRequest) (*aibuilder.CustomLlm, error)) *MockCustomLlmsInterface_Create_Call
type MockCustomLlmsInterface_Expecter ¶
type MockCustomLlmsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCustomLlmsInterface_Expecter) Cancel ¶
func (_e *MockCustomLlmsInterface_Expecter) Cancel(ctx interface{}, request interface{}) *MockCustomLlmsInterface_Cancel_Call
Cancel is a helper method to define mock.On call
- ctx context.Context
- request aibuilder.CancelCustomLlmOptimizationRunRequest
func (*MockCustomLlmsInterface_Expecter) Create ¶
func (_e *MockCustomLlmsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockCustomLlmsInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request aibuilder.StartCustomLlmOptimizationRunRequest
func (*MockCustomLlmsInterface_Expecter) Get ¶
func (_e *MockCustomLlmsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockCustomLlmsInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request aibuilder.GetCustomLlmRequest
func (*MockCustomLlmsInterface_Expecter) GetById ¶
func (_e *MockCustomLlmsInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockCustomLlmsInterface_GetById_Call
GetById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockCustomLlmsInterface_Expecter) Update ¶
func (_e *MockCustomLlmsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockCustomLlmsInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request aibuilder.UpdateCustomLlmRequest
type MockCustomLlmsInterface_GetById_Call ¶
MockCustomLlmsInterface_GetById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetById'
func (*MockCustomLlmsInterface_GetById_Call) Return ¶
func (_c *MockCustomLlmsInterface_GetById_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockCustomLlmsInterface_GetById_Call
func (*MockCustomLlmsInterface_GetById_Call) Run ¶
func (_c *MockCustomLlmsInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockCustomLlmsInterface_GetById_Call
func (*MockCustomLlmsInterface_GetById_Call) RunAndReturn ¶
func (_c *MockCustomLlmsInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*aibuilder.CustomLlm, error)) *MockCustomLlmsInterface_GetById_Call
type MockCustomLlmsInterface_Get_Call ¶
MockCustomLlmsInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockCustomLlmsInterface_Get_Call) Return ¶
func (_c *MockCustomLlmsInterface_Get_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockCustomLlmsInterface_Get_Call
func (*MockCustomLlmsInterface_Get_Call) Run ¶
func (_c *MockCustomLlmsInterface_Get_Call) Run(run func(ctx context.Context, request aibuilder.GetCustomLlmRequest)) *MockCustomLlmsInterface_Get_Call
func (*MockCustomLlmsInterface_Get_Call) RunAndReturn ¶
func (_c *MockCustomLlmsInterface_Get_Call) RunAndReturn(run func(context.Context, aibuilder.GetCustomLlmRequest) (*aibuilder.CustomLlm, error)) *MockCustomLlmsInterface_Get_Call
type MockCustomLlmsInterface_Update_Call ¶
MockCustomLlmsInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockCustomLlmsInterface_Update_Call) Return ¶
func (_c *MockCustomLlmsInterface_Update_Call) Return(_a0 *aibuilder.CustomLlm, _a1 error) *MockCustomLlmsInterface_Update_Call
func (*MockCustomLlmsInterface_Update_Call) Run ¶
func (_c *MockCustomLlmsInterface_Update_Call) Run(run func(ctx context.Context, request aibuilder.UpdateCustomLlmRequest)) *MockCustomLlmsInterface_Update_Call
func (*MockCustomLlmsInterface_Update_Call) RunAndReturn ¶
func (_c *MockCustomLlmsInterface_Update_Call) RunAndReturn(run func(context.Context, aibuilder.UpdateCustomLlmRequest) (*aibuilder.CustomLlm, error)) *MockCustomLlmsInterface_Update_Call