19099: Refactor container shell backend so it's not docker-specific.
[arvados.git] / lib / crunchrun / singularity.go
index 64a3773250701ecd62832e52e88a5fcf8a2b3da2..6ba65200d2741b8ac66bb3dd109986a152e30d3f 100644 (file)
@@ -5,6 +5,7 @@
 package crunchrun
 
 import (
+       "errors"
        "fmt"
        "io/ioutil"
        "os"
@@ -349,3 +350,11 @@ func (e *singularityExecutor) Close() {
                e.logf("error removing temp dir: %s", err)
        }
 }
+
+func (e *singularityExecutor) InjectCommand(ctx context.Context, detachKeys, username string, usingTTY bool, injectcmd []string) (*exec.Cmd, error) {
+       return nil, errors.New("unimplemented")
+}
+
+func (e *singularityExecutor) IPAddress() (string, error) {
+       return "", errors.New("unimplemented")
+}