Documentation
¶
Index ¶
- func CreateJob(ctx context.Context, storage persistence.Storage, request *model.JobRequest) (*model.Job, error)
- func DeleteJob(ctx context.Context, storage persistence.Storage, jobID string) error
- func GetJob(ctx context.Context, storage persistence.Storage, id string, history bool) (*model.Job, error)
- func QueryJobs(ctx context.Context, storage persistence.Storage, ...) (*model.PaginatedJobList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateJob ¶
func CreateJob(ctx context.Context, storage persistence.Storage, request *model.JobRequest) (*model.Job, error)
func QueryJobs ¶
func QueryJobs(ctx context.Context, storage persistence.Storage, filterParams persistence.FilterParams, paginationParams persistence.PaginationParams, sort *string) (*model.PaginatedJobList, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.