Documentation
¶
Index ¶
- type Repository
- func (_m *Repository) BeginTransaction(ctx context.Context) (*sql.Tx, error)
- func (_m *Repository) DeleteModelTraining(ctx context.Context, tx *sql.Tx, id string) error
- func (_m *Repository) GetModelTraining(ctx context.Context, tx *sql.Tx, id string) (*apistraining.ModelTraining, error)
- func (_m *Repository) GetModelTrainingList(ctx context.Context, tx *sql.Tx, options ...filter.ListOption) ([]apistraining.ModelTraining, error)
- func (_m *Repository) SaveModelTraining(ctx context.Context, tx *sql.Tx, mt *apistraining.ModelTraining) error
- func (_m *Repository) SetDeletionMark(ctx context.Context, tx *sql.Tx, id string, value bool) error
- func (_m *Repository) UpdateModelTraining(ctx context.Context, tx *sql.Tx, mt *apistraining.ModelTraining) error
- func (_m *Repository) UpdateModelTrainingStatus(ctx context.Context, tx *sql.Tx, id string, s v1alpha1.ModelTrainingStatus) error
- type ToolchainRepository
- func (_m *ToolchainRepository) DeleteToolchainIntegration(name string) error
- func (_m *ToolchainRepository) GetToolchainIntegration(name string) (*training.ToolchainIntegration, error)
- func (_m *ToolchainRepository) GetToolchainIntegrationList(options ...filter.ListOption) ([]training.ToolchainIntegration, error)
- func (_m *ToolchainRepository) SaveToolchainIntegration(md *training.ToolchainIntegration) error
- func (_m *ToolchainRepository) UpdateToolchainIntegration(md *training.ToolchainIntegration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func (*Repository) BeginTransaction ¶
BeginTransaction provides a mock function with given fields: ctx
func (*Repository) DeleteModelTraining ¶
DeleteModelTraining provides a mock function with given fields: ctx, tx, id
func (*Repository) GetModelTraining ¶
func (_m *Repository) GetModelTraining(ctx context.Context, tx *sql.Tx, id string) (*apistraining.ModelTraining, error)
GetModelTraining provides a mock function with given fields: ctx, tx, id
func (*Repository) GetModelTrainingList ¶
func (_m *Repository) GetModelTrainingList(ctx context.Context, tx *sql.Tx, options ...filter.ListOption) ([]apistraining.ModelTraining, error)
GetModelTrainingList provides a mock function with given fields: ctx, tx, options
func (*Repository) SaveModelTraining ¶
func (_m *Repository) SaveModelTraining(ctx context.Context, tx *sql.Tx, mt *apistraining.ModelTraining) error
CreateModelTraining provides a mock function with given fields: ctx, tx, mt
func (*Repository) SetDeletionMark ¶
SetDeletionMark provides a mock function with given fields: ctx, tx, id, value
func (*Repository) UpdateModelTraining ¶
func (_m *Repository) UpdateModelTraining(ctx context.Context, tx *sql.Tx, mt *apistraining.ModelTraining) error
UpdateModelTraining provides a mock function with given fields: ctx, tx, mt
func (*Repository) UpdateModelTrainingStatus ¶
func (_m *Repository) UpdateModelTrainingStatus(ctx context.Context, tx *sql.Tx, id string, s v1alpha1.ModelTrainingStatus) error
UpdateModelTrainingStatus provides a mock function with given fields: ctx, tx, id, s
type ToolchainRepository ¶
ToolchainRepository is an autogenerated mock type for the ToolchainRepository type
func (*ToolchainRepository) DeleteToolchainIntegration ¶
func (_m *ToolchainRepository) DeleteToolchainIntegration(name string) error
DeleteToolchainIntegration provides a mock function with given fields: name
func (*ToolchainRepository) GetToolchainIntegration ¶
func (_m *ToolchainRepository) GetToolchainIntegration(name string) (*training.ToolchainIntegration, error)
GetToolchainIntegration provides a mock function with given fields: name
func (*ToolchainRepository) GetToolchainIntegrationList ¶
func (_m *ToolchainRepository) GetToolchainIntegrationList(options ...filter.ListOption) ([]training.ToolchainIntegration, error)
GetToolchainIntegrationList provides a mock function with given fields: options
func (*ToolchainRepository) SaveToolchainIntegration ¶
func (_m *ToolchainRepository) SaveToolchainIntegration(md *training.ToolchainIntegration) error
CreateToolchainIntegration provides a mock function with given fields: md
func (*ToolchainRepository) UpdateToolchainIntegration ¶
func (_m *ToolchainRepository) UpdateToolchainIntegration(md *training.ToolchainIntegration) error
UpdateToolchainIntegration provides a mock function with given fields: md