package ssh

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ssh
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ConnectionCache = KeyValueCache[SSHServer, SSHClient]
  2. case class ConnectionError(message: String, t: Throwable) extends Exception with Product with Serializable
  3. case class ExecutionError(message: String, t: Throwable) extends Exception with Product with Serializable
  4. case class JobId(jobId: String, workDirectory: String) extends Product with Serializable
  5. case class ReturnCodeError(server: String, command: String, executionResult: ExecutionResult) extends Exception with Product with Serializable
  6. case class SFTPError(message: String, t: Throwable) extends Exception with Product with Serializable
  7. class SSH extends AutoCloseable
  8. trait SSHAuthentication[T] extends AnyRef
  9. case class SSHJobDescription(command: String, workDirectory: String) extends Product with Serializable
  10. case class SSHServer(login: String, host: String, port: Int)(timeout: Time, authenticate: (SSHClient) ⇒ Unit, keepAlive: Option[Time]) extends Product with Serializable

Value Members

  1. def chmod(server: SSHServer, path: String, perms: FilePermission*)(implicit ssh: Effect[SSH]): Try[Unit]
  2. def clean(server: SSHServer, job: JobId)(implicit ssh: Effect[SSH]): Unit
  3. def exists(server: SSHServer, path: String)(implicit ssh: Effect[SSH]): Boolean
  4. def home(server: SSHServer)(implicit ssh: Effect[SSH]): String
  5. def list(server: SSHServer, path: String)(implicit ssh: Effect[SSH]): Vector[ListEntry]
  6. def makeDir(server: SSHServer, path: String)(implicit ssh: Effect[SSH]): Try[Unit]
  7. def mv(server: SSHServer, from: String, to: String)(implicit ssh: Effect[SSH]): Unit
  8. def readFile[T](server: SSHServer, path: String, f: (InputStream) ⇒ T)(implicit ssh: Effect[SSH]): T
  9. def rmDir(server: SSHServer, path: String)(implicit ssh: Effect[SSH]): Unit
  10. def rmFile(server: SSHServer, path: String)(implicit ssh: Effect[SSH]): Unit
  11. def run(server: SSHServer, command: String, verbose: Boolean = false)(implicit ssh: Effect[SSH]): ExecutionResult
  12. def state(server: SSHServer, jobId: JobId)(implicit ssh: Effect[SSH]): JobState
  13. def stdErr(server: SSHServer, jobId: JobId)(implicit ssh: Effect[SSH]): String
  14. def stdOut(server: SSHServer, jobId: JobId)(implicit ssh: Effect[SSH]): String
  15. def submit(server: SSHServer, description: SSHJobDescription)(implicit ssh: Effect[SSH], system: Effect[System]): JobId
  16. def writeFile(server: SSHServer, is: () ⇒ InputStream, path: String)(implicit ssh: Effect[SSH]): Unit
  17. object FilePermission
  18. object SSH
  19. object SSHAuthentication
  20. object SSHCache
  21. object SSHJobDescription extends Serializable
  22. object SSHServer extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped