17394: Use BlockWrite interface in crunch-run.
[arvados.git] / lib / crunchrun / crunchrun.go
index 3c9c381619cfb757c25185d812b1c4bdf78f0f56..23fbc430b42611eda108563e91f5387d766208ce 100644 (file)
@@ -55,7 +55,7 @@ var ErrCancelled = errors.New("Cancelled")
 
 // IKeepClient is the minimal Keep API methods used by crunch-run.
 type IKeepClient interface {
-       PutB(buf []byte) (string, int, error)
+       BlockWrite(context.Context, arvados.BlockWriteOptions) (arvados.BlockWriteResponse, error)
        ReadAt(locator string, p []byte, off int) (int, error)
        ManifestFileReader(m manifest.Manifest, filename string) (arvados.File, error)
        LocalLocator(locator string) (string, error)