debian-forge-composer/internal/weldr
Ondřej Budai 7bfcee36f8 jobqueue: introduce the concept of channels
Channels are a concept similar to job types. Callers must specify a channel
name when queueing a new job. A list of channels is also specified when
dequeueing a job. The dequeued job's channel will always be from one of the
specified channel. Of course, the job types are also respected. The dequeued
job will also always be from one of the specified type.

Currently, all calls to jobqueue were changed so all queue operations use
an empty channel name and all dequeue operations use a list containing
an empty channel.

Thus, this is a non-functional change.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-03-08 12:07:00 +01:00
..
api.go jobqueue: introduce the concept of channels 2022-03-08 12:07:00 +01:00
api_test.go ostree: move test server to separate package 2022-02-23 11:08:24 +01:00
compose.go weldr: rename C{Waiting,Running,Finished,Failed} 2020-11-09 14:17:19 +01:00
compose_test.go jobqueue: introduce the concept of channels 2022-03-08 12:07:00 +01:00
json.go tests: update base tests for weldr-client 2021-08-25 19:16:04 +02:00
upload.go Add support for OCI upload provider 2022-01-28 15:16:47 +01:00
util.go composer/job-queue: add scaffolding for the job queue API 2019-09-26 19:53:06 +02:00