gridscale.ssh

Members list

Concise view

Type members

Classlikes

case class ConnectionError(message: String, t: Throwable) extends Exception

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
case class ExecutionError(message: String, t: Throwable) extends Exception

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class JobId(jobId: String, workDirectory: String)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ReturnCodeError(server: String, command: String, executionResult: ExecutionResult) extends Exception

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
case class SFTPError(message: String, t: Throwable) extends Exception

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
class SSH(val clientCache: ConnectionCache) extends AutoCloseable

Attributes

Companion:
object
Graph
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
object SSH

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
SSH.type

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object SSHCache

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class SSHJobDescription(command: String, workDirectory: String, timeout: Option[Time])

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class SSHServer(login: String, host: String, port: Int)(timeout: Time, authenticate: SSHClient => Unit, keepAlive: Option[Time], sshProxy: Option[SSHServer])

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object SSHServer

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Types

type ConnectionCache = KeyValueCache[SSHServer, SSHClient]

Value members

Concrete methods

def chmod(server: SSHServer, path: String, perms: FilePermission*)(implicit ssh: Effect[SSH]): Try[Unit]
def clean(server: SSHServer, job: JobId)(implicit ssh: Effect[SSH]): Unit
def exists(server: SSHServer, path: String)(implicit ssh: Effect[SSH]): Boolean
def home(server: SSHServer)(implicit ssh: Effect[SSH]): String
def list(server: SSHServer, path: String)(implicit ssh: Effect[SSH]): Vector[ListEntry]
def makeDir(server: SSHServer, path: String)(implicit ssh: Effect[SSH]): Try[Unit]
def mv(server: SSHServer, from: String, to: String)(implicit ssh: Effect[SSH]): Unit
def readFile[T](server: SSHServer, path: String, f: InputStream => T)(implicit ssh: Effect[SSH]): T
def rmDir(server: SSHServer, path: String)(implicit ssh: Effect[SSH]): Unit
def rmFile(server: SSHServer, path: String)(implicit ssh: Effect[SSH]): Unit
def run(server: SSHServer, command: String, verbose: Boolean)(implicit ssh: Effect[SSH]): ExecutionResult
def state(server: SSHServer, jobId: JobId)(implicit ssh: Effect[SSH]): JobState
def stdErr(server: SSHServer, jobId: JobId)(implicit ssh: Effect[SSH]): String
def stdOut(server: SSHServer, jobId: JobId)(implicit ssh: Effect[SSH]): String
def submit(server: SSHServer, description: SSHJobDescription)(implicit ssh: Effect[SSH], system: Effect[System]): JobId
def writeFile(server: SSHServer, is: () => InputStream, path: String)(implicit ssh: Effect[SSH]): Unit