Class/Object

agora.exec.client

RemoteRunner

Related Docs: object RemoteRunner | package client

Permalink

class RemoteRunner extends ProcessRunner with ExecConversionImplicits with FailFastCirceSupport

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
ExecConversionImplicits, RestConversionImplicits, FailFastCirceSupport, FailFastUnmarshaller, BaseCirceSupport, ProcessRunner, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RemoteRunner
  2. ExecConversionImplicits
  3. RestConversionImplicits
  4. FailFastCirceSupport
  5. FailFastUnmarshaller
  6. BaseCirceSupport
  7. ProcessRunner
  8. AnyRef
  9. 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
    @HotSpotIntrinsicCandidate() @throws( ... )
  12. val defaultDetails: SubmissionDetails

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

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

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

    Permalink
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. 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
  26. 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
  27. 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
  28. final def save(proc: RunProcess): Future[FileResult]

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

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

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

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

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

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

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

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

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

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

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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