Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { GetModelTraining(ctx context.Context, id string) (*training.ModelTraining, error) GetModelTrainingList(ctx context.Context, options ...filter.ListOption) ([]training.ModelTraining, error) DeleteModelTraining(ctx context.Context, id string) error SetDeletionMark(ctx context.Context, id string, value bool) error UpdateModelTraining(ctx context.Context, mt *training.ModelTraining) error // Try to update status. If spec in storage differs from spec snapshot then update does not happen UpdateModelTrainingStatus( ctx context.Context, id string, status v1alpha1.ModelTrainingStatus, spec v1alpha1.ModelTrainingSpec) error CreateModelTraining(ctx context.Context, mt *training.ModelTraining) error }
func NewService ¶
func NewService(repo repo.Repository) Service
Click to show internal directories.
Click to hide internal directories.