summaryrefslogtreecommitdiff
path: root/local.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-07-12 16:47:09 +0100
committerNick White <git@njw.name>2021-07-12 16:47:09 +0100
commitb8533faf24f2bf5247f28848459f9b7af77e61b3 (patch)
treeddfc1e1382f3baf3b8f84a61281056746fec48a5 /local.go
parent72e7949b8ce84bb0742b977c3827fda6ca0a752e (diff)
Add test for upAndQueue function
This involved adding a test queue, so it can be run safely without intefering with the pipeline.
Diffstat (limited to 'local.go')
-rw-r--r--local.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/local.go b/local.go
index 85a4edc..463fb61 100644
--- a/local.go
+++ b/local.go
@@ -19,6 +19,7 @@ const qidPre = "queuePre"
const qidWipe = "queueWipe"
const qidOCR = "queueOCR"
const qidAnalyse = "queueAnalyse"
+const qidTest = "queueTest"
const storageId = "storage"
// LocalConn is a simple implementation of the pipeliner interface
@@ -120,6 +121,10 @@ func (a *LocalConn) AnalyseQueueId() string {
return qidAnalyse
}
+func (a *LocalConn) TestQueueId() string {
+ return qidTest
+}
+
func (a *LocalConn) WIPStorageId() string {
return storageId
}