summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-05-31 13:27:52 +0100
committerNick White <git@njw.name>2021-05-31 13:27:52 +0100
commit749376645a64bd37fc545e137c8a68d1c96bb463 (patch)
tree8ecef9b458b0e1c2fce10cbd5ec196812b51ddb7 /cmd
parent2ac2807916fbf36e1fce5726ac102ab66f14d4ad (diff)
Fix bug after changing pipeliner for tests, to ensure DeleteObjects is available to Pipeliner
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bookpipeline/main.go1
-rw-r--r--cmd/rescribe/main.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/cmd/bookpipeline/main.go b/cmd/bookpipeline/main.go
index 909b431..0df2209 100644
--- a/cmd/bookpipeline/main.go
+++ b/cmd/bookpipeline/main.go
@@ -56,6 +56,7 @@ func (w NullWriter) Write(p []byte) (n int, err error) {
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)
diff --git a/cmd/rescribe/main.go b/cmd/rescribe/main.go
index a471b1f..606a9a7 100644
--- a/cmd/rescribe/main.go
+++ b/cmd/rescribe/main.go
@@ -49,6 +49,7 @@ func (w NullWriter) Write(p []byte) (n int, err error) {
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)