aibuilder

package
v0.74.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAiBuilderInterface added in v0.73.0

type MockAiBuilderInterface struct {
	mock.Mock
}

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

CancelOptimize provides a mock function with given fields: ctx, request

func (*MockAiBuilderInterface) CreateCustomLlm added in v0.73.0

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 (*MockAiBuilderInterface) GetCustomLlm added in v0.73.0

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

StartOptimize provides a mock function with given fields: ctx, request

func (*MockAiBuilderInterface) UpdateCustomLlm added in v0.73.0

UpdateCustomLlm provides a mock function with given fields: ctx, request

type MockAiBuilderInterface_CancelOptimize_Call added in v0.73.0

type MockAiBuilderInterface_CancelOptimize_Call struct {
	*mock.Call
}

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 (*MockAiBuilderInterface_CancelOptimize_Call) Run added in v0.73.0

func (*MockAiBuilderInterface_CancelOptimize_Call) RunAndReturn added in v0.73.0

type MockAiBuilderInterface_CreateCustomLlm_Call added in v0.73.0

type MockAiBuilderInterface_CreateCustomLlm_Call struct {
	*mock.Call
}

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 (*MockAiBuilderInterface_CreateCustomLlm_Call) Run added in v0.73.0

func (*MockAiBuilderInterface_CreateCustomLlm_Call) RunAndReturn added in v0.73.0

type MockAiBuilderInterface_DeleteCustomLlmById_Call added in v0.73.0

type MockAiBuilderInterface_DeleteCustomLlmById_Call struct {
	*mock.Call
}

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 (*MockAiBuilderInterface_DeleteCustomLlmById_Call) Run added in v0.73.0

func (*MockAiBuilderInterface_DeleteCustomLlmById_Call) RunAndReturn added in v0.73.0

type MockAiBuilderInterface_DeleteCustomLlm_Call added in v0.73.0

type MockAiBuilderInterface_DeleteCustomLlm_Call struct {
	*mock.Call
}

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 (*MockAiBuilderInterface_DeleteCustomLlm_Call) Run added in v0.73.0

func (*MockAiBuilderInterface_DeleteCustomLlm_Call) RunAndReturn added in v0.73.0

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

type MockAiBuilderInterface_GetCustomLlmById_Call struct {
	*mock.Call
}

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 (*MockAiBuilderInterface_GetCustomLlmById_Call) Run added in v0.73.0

func (*MockAiBuilderInterface_GetCustomLlmById_Call) RunAndReturn added in v0.73.0

type MockAiBuilderInterface_GetCustomLlm_Call added in v0.73.0

type MockAiBuilderInterface_GetCustomLlm_Call struct {
	*mock.Call
}

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 (*MockAiBuilderInterface_GetCustomLlm_Call) Run added in v0.73.0

func (*MockAiBuilderInterface_GetCustomLlm_Call) RunAndReturn added in v0.73.0

type MockAiBuilderInterface_StartOptimize_Call added in v0.73.0

type MockAiBuilderInterface_StartOptimize_Call struct {
	*mock.Call
}

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 (*MockAiBuilderInterface_StartOptimize_Call) Run added in v0.73.0

func (*MockAiBuilderInterface_StartOptimize_Call) RunAndReturn added in v0.73.0

type MockAiBuilderInterface_UpdateCustomLlm_Call added in v0.73.0

type MockAiBuilderInterface_UpdateCustomLlm_Call struct {
	*mock.Call
}

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 (*MockAiBuilderInterface_UpdateCustomLlm_Call) Run added in v0.73.0

func (*MockAiBuilderInterface_UpdateCustomLlm_Call) RunAndReturn added in v0.73.0

type MockCustomLlmsInterface

type MockCustomLlmsInterface struct {
	mock.Mock
}

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

Cancel provides a mock function with given fields: ctx, request

func (*MockCustomLlmsInterface) Create

Create provides a mock function with given fields: ctx, request

func (*MockCustomLlmsInterface) EXPECT

func (*MockCustomLlmsInterface) Get

Get provides a mock function with given fields: ctx, request

func (*MockCustomLlmsInterface) GetById

GetById provides a mock function with given fields: ctx, id

func (*MockCustomLlmsInterface) Update

Update provides a mock function with given fields: ctx, request

type MockCustomLlmsInterface_Cancel_Call

type MockCustomLlmsInterface_Cancel_Call struct {
	*mock.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 (*MockCustomLlmsInterface_Cancel_Call) Run

type MockCustomLlmsInterface_Create_Call

type MockCustomLlmsInterface_Create_Call struct {
	*mock.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 (*MockCustomLlmsInterface_Create_Call) Run

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

type MockCustomLlmsInterface_GetById_Call struct {
	*mock.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 (*MockCustomLlmsInterface_GetById_Call) Run

func (*MockCustomLlmsInterface_GetById_Call) RunAndReturn

type MockCustomLlmsInterface_Get_Call

type MockCustomLlmsInterface_Get_Call struct {
	*mock.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 (*MockCustomLlmsInterface_Get_Call) Run

type MockCustomLlmsInterface_Update_Call

type MockCustomLlmsInterface_Update_Call struct {
	*mock.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 (*MockCustomLlmsInterface_Update_Call) Run

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL