package ssh
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ssh
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type ConnectionCache = KeyValueCache[SSHServer, SSHClient]
- case class ConnectionError(message: String, t: Throwable) extends Exception with Product with Serializable
- case class ExecutionError(message: String, t: Throwable) extends Exception with Product with Serializable
- case class JobId(jobId: String, workDirectory: String) extends Product with Serializable
- case class ReturnCodeError(server: String, command: String, executionResult: ExecutionResult) extends Exception with Product with Serializable
- case class SFTPError(message: String, t: Throwable) extends Exception with Product with Serializable
- class SSH extends AutoCloseable
- trait SSHAuthentication[T] extends AnyRef
- case class SSHJobDescription(command: String, workDirectory: String) extends Product with Serializable
- case class SSHServer(login: String, host: String, port: Int)(timeout: Time, authenticate: (SSHClient) ⇒ Unit, keepAlive: Option[Time]) extends Product with Serializable
Value Members
- 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 = false)(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
- object FilePermission
- object SSH
- object SSHAuthentication
- object SSHCache
- object SSHJobDescription extends Serializable
- object SSHServer extends Serializable