debian-forge-composer/internal/jobqueue/fsjobqueue
Ondřej Budai a6df2877a3 fsjobqueue: accept jobs of any type
Soon, we want to begin tagging the jobs with the name of its submitter.
The simplest way to add a tag to a job is to put it into its type string.
However, as we don't know (and don't want to know) the submitters' names when
osbuild-composer is initialized, we need to be able to push arbitrary job
types into the jobqueue.

This commit therefore lifts the restriction that a jobqueue accepts only
a predefined set of job types. Now, jobqueue clients can push jobs of
arbitrary names.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2020-11-12 15:30:30 +00:00
..
fsjobqueue.go fsjobqueue: accept jobs of any type 2020-11-12 15:30:30 +00:00
fsjobqueue_test.go fsjobqueue: accept jobs of any type 2020-11-12 15:30:30 +00:00