Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
func (e *stubExecutor) Wait(context.Context) (int, error) {
return <-e.exit, e.waitErr
}
+func (e *stubExecutor) SetArvadoClient(containerClient *arvados.Client, keepClient IKeepClient, container arvados.Container, keepMount string) {
+}
const fakeInputCollectionPDH = "ffffffffaaaaaaaa88888888eeeeeeee+1234"
}
func (e *singularityExecutor) ImageLoaded(imageId string) bool {
+ if e.containerClient == nil {
+ return false
+ }
+
// Check if docker image is cached in keep & if so set imageFilename
// Cache the image to keep
return err
}
+ if e.containerClient == nil {
+ return nil
+ }
+
// Cache the image to keep
cacheGroup, err := e.getOrCreateProject(e.container.RuntimeUserUUID, ".cache", true)
if err != nil {