summaryrefslogtreecommitdiff
path: root/internal/pipeline/pipeline.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-05-19 22:27:17 +0100
committerNick White <git@njw.name>2021-05-19 22:27:17 +0100
commitd96a4c93e1745a7a648f8fdddae2e2199c06dfca (patch)
treeca02c64b532d518c058b480cb904fc7666283e2b /internal/pipeline/pipeline.go
parent7a00dc572490f2bacaebb823845e0b1c3bc79db5 (diff)
Add tests for download()
Diffstat (limited to 'internal/pipeline/pipeline.go')
-rw-r--r--internal/pipeline/pipeline.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/pipeline/pipeline.go b/internal/pipeline/pipeline.go
index 0d027a3..5ba0cb4 100644
--- a/internal/pipeline/pipeline.go
+++ b/internal/pipeline/pipeline.go
@@ -33,6 +33,7 @@ const HeartbeatSeconds = 60
type Clouder interface {
Init() error
ListObjects(bucket string, prefix string) ([]string, error)
+ DeleteObjects(bucket string, keys []string) error
Download(bucket string, key string, fn string) error
Upload(bucket string, key string, path string) error
CheckQueue(url string, timeout int64) (bookpipeline.Qmsg, error)