Documentation ¶
Index ¶
- Constants
- Variables
- type BIJRepo
- func (r BIJRepo) Create(ctx context.Context, tx *sql.Tx, bij api_types.InferenceJob) (err error)
- func (r BIJRepo) Delete(ctx context.Context, tx *sql.Tx, id string) (err error)
- func (r BIJRepo) Get(ctx context.Context, tx *sql.Tx, id string) (res api_types.InferenceJob, err error)
- func (r BIJRepo) List(ctx context.Context, tx *sql.Tx, options ...filter.ListOption) (res []api_types.InferenceJob, err error)
- func (r BIJRepo) SetDeletionMark(ctx context.Context, tx *sql.Tx, id string, value bool) error
- func (r BIJRepo) UpdateStatus(ctx context.Context, tx *sql.Tx, id string, s api_types.InferenceJobStatus) (err error)
- type BISRepo
- func (r BISRepo) Create(ctx context.Context, tx *sql.Tx, bis api_types.InferenceService) (err error)
- func (r BISRepo) Delete(ctx context.Context, tx *sql.Tx, id string) (err error)
- func (r BISRepo) Get(ctx context.Context, tx *sql.Tx, id string) (res api_types.InferenceService, err error)
- func (r BISRepo) List(ctx context.Context, tx *sql.Tx, options ...filter.ListOption) (res []api_types.InferenceService, err error)
- func (r BISRepo) Update(ctx context.Context, tx *sql.Tx, id string, bis api_types.InferenceService) (err error)
Constants ¶
View Source
const (
BatchInferenceJobTable = "odahu_batch_inference_job"
)
View Source
const (
BatchInferenceServiceTable = "odahu_batch_inference_service"
)
Variables ¶
View Source
var ( MaxSize = 500 FirstPage = 0 )
Functions ¶
This section is empty.
Types ¶
type BIJRepo ¶
InferenceJob persistence repository
func (BIJRepo) List ¶
func (r BIJRepo) List( ctx context.Context, tx *sql.Tx, options ...filter.ListOption) (res []api_types.InferenceJob, err error)
func (BIJRepo) SetDeletionMark ¶
Click to show internal directories.
Click to hide internal directories.