19889: Stop using old x/net/context library.
[arvados.git] / lib / crunchrun / executor.go
index dc1bc20b7c3a110269d1f95441a6c7e75af48ace..6ec5b838f681fe3c03a778f966c58979763f9031 100644 (file)
@@ -4,10 +4,10 @@
 package crunchrun
 
 import (
+       "context"
        "io"
 
        "git.arvados.org/arvados.git/sdk/go/arvados"
-       "golang.org/x/net/context"
 )
 
 type bindmount struct {
@@ -60,6 +60,8 @@ type containerExecutor interface {
        // Release resources (temp dirs, stopped containers)
        Close()
 
-       // Name of runtime engine ("docker", "singularity")
+       // Name and version of runtime engine ("docker 20.10.16", "singularity-ce version 3.9.9")
        Runtime() string
+
+       GatewayTarget
 }