Class/Object

agora.exec.client

RemoteRunner

Related Docs: object RemoteRunner | package client

Permalink

class RemoteRunner extends ProcessRunner with ExecConversionImplicits with FailFastCirceSupport with AutoCloseable

An facade for ProcessRunner which will submit RunProcess jobs via an exchange. The runner may specify matching criteria such as the existence of a workspace or a health value under a given threshold.

Subclasses may override the submissionDetailsForJob method to provide their own match criteria.

Linear Supertypes
AutoCloseable, ExecConversionImplicits, RestConversionImplicits, FailFastCirceSupport, FailFastUnmarshaller, BaseCirceSupport, ProcessRunner, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RemoteRunner
  2. AutoCloseable
  3. ExecConversionImplicits
  4. RestConversionImplicits
  5. FailFastCirceSupport
  6. FailFastUnmarshaller
  7. BaseCirceSupport
  8. ProcessRunner
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RemoteRunner(exchange: Exchange, defaultDetails: SubmissionDetails = SubmissionDetails())(implicit execApiConfig: ExecApiConfig, mat: Materializer)

    Permalink

Type Members

  1. implicit class RichHttpClient[A] extends AnyRef

    Permalink
    Definition Classes
    RestConversionImplicits

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit def asClient(implicit config: ExecApiConfig): AsClient[RunProcess, RunProcessResult]

    Permalink
    Definition Classes
    ExecConversionImplicits
  5. implicit def asConfigOps(implicit conf: ClientConfig): ClientConfigOps

    Permalink
    Definition Classes
    RestConversionImplicits
  6. implicit def asInferredClient[A, B](implicit conf: ClientConfig, mat: Materializer, tem: ToEntityMarshaller[A], fem: FromEntityUnmarshaller[B]): AsClient[A, B]

    Permalink
    Definition Classes
    RestConversionImplicits
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. implicit def asMarshalledClient[T](implicit arg0: ToEntityMarshaller[T], conf: ClientConfig): AsClient[T, HttpResponse]

    Permalink
    Definition Classes
    RestConversionImplicits
  9. implicit def asRichAsClientHttpResponse[A](implicit asClient: AsClient[A, HttpResponse]): AsClientOps[A]

    Permalink
    Definition Classes
    RestConversionImplicits
  10. implicit def asWorkerClient(implicit conf: ClientConfig): AsClient[HttpRequest, HttpResponse]

    Permalink
    Definition Classes
    RestConversionImplicits
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def close(): Unit

    Permalink
    Definition Classes
    RemoteRunner → AutoCloseable
  13. val defaultDetails: SubmissionDetails

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. val exchange: Exchange

    Permalink
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. implicit final def jsonMarshaller(implicit printer: Printer): ToEntityMarshaller[Json]

    Permalink
    Definition Classes
    BaseCirceSupport
  22. implicit final val jsonUnmarshaller: FromEntityUnmarshaller[Json]

    Permalink
    Definition Classes
    BaseCirceSupport
  23. implicit final def marshaller[A](implicit arg0: Encoder[A], printer: Printer): ToEntityMarshaller[A]

    Permalink
    Definition Classes
    BaseCirceSupport
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. def run(proc: RunProcess): Future[RunProcessResult]

    Permalink

    Execute the RunProcess, returning a future of the std out

    Execute the RunProcess, returning a future of the std out

    proc

    the job to execute

    returns

    the stdout as an iterator of lines in a Future which completes when the job does

    Definition Classes
    RemoteRunnerProcessRunner
  28. final def run(command: String, args: String*): Future[RunProcessResult]

    Permalink

    Executes the command in the provided workspace

    Executes the command in the provided workspace

    command

    the command to execute

    args

    the command arguments

    returns

    the execution response

    Definition Classes
    ProcessRunner
  29. final def run(command: List[String], workspaceId: WorkspaceId): Future[RunProcessResult]

    Permalink

    Executes the command in the provided workspace

    Executes the command in the provided workspace

    command

    the command to execute

    workspaceId

    the workspace under which the command is run

    returns

    the execution response

    Definition Classes
    ProcessRunner
  30. final def save(proc: RunProcess): Future[FileResult]

    Permalink
    Definition Classes
    ProcessRunner
  31. final def stream(command: String, args: String*): Future[StreamingResult]

    Permalink
    Definition Classes
    ProcessRunner
  32. final def stream(proc: RunProcess): Future[StreamingResult]

    Permalink
    Definition Classes
    ProcessRunner
  33. def submissionDetailsForJob(job: RunProcess): SubmissionDetails

    Permalink
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. implicit final def unmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[A]

    Permalink
    Definition Classes
    FailFastUnmarshaller
  37. def unmarshallerContentTypes: Seq[ContentTypeRange]

    Permalink
    Definition Classes
    BaseCirceSupport
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AutoCloseable

Inherited from ExecConversionImplicits

Inherited from RestConversionImplicits

Inherited from FailFastCirceSupport

Inherited from FailFastUnmarshaller

Inherited from BaseCirceSupport

Inherited from ProcessRunner

Inherited from AnyRef

Inherited from Any

Ungrouped