Package

agora.exec

model

Permalink

package model

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

Type Members

  1. case class FileResult(exitCode: Int, workspaceId: WorkspaceId, stdOutFile: Option[String] = None, stdErrFile: Option[String] = None, matchDetails: Option[MatchDetails] = None) extends RunProcessResult with Product with Serializable

    Permalink
  2. case class OperationResult(messages: List[String]) extends Product with Serializable

    Permalink

    Represents a container for messages produced while executing some operation

  3. case class OutputSettings(stream: Option[StreamingSettings] = Option(StreamingSettings()), stdOutFileName: Option[String] = None, stdErrFileName: Option[String] = None, errorLimit: Option[Int] = None, canCache: Boolean = false) extends Product with Serializable

    Permalink

    Represents a configuration for what to do w/ a process output

    Represents a configuration for what to do w/ a process output

    canCache

    if true, this process's output can be cached/reused

  4. case class ProcessError(process: RunProcess, exitCode: Option[Int], matchDetails: Option[MatchDetails], stdErr: List[String]) extends Product with Serializable

    Permalink
  5. case class ProcessException(error: ProcessError) extends Exception with Product with Serializable

    Permalink
  6. case class RunProcess(command: List[String], env: Map[String, String] = Map.empty, dependencies: UploadDependencies = ..., output: OutputSettings = OutputSettings()) extends Product with Serializable

    Permalink

    A job intended to produce a lot of output, and such streams the output when run.

    A job intended to produce a lot of output, and such streams the output when run.

    command

    the command string to execute

    env

    the system environment

    dependencies

    if specified, the any file dependencies this request has

  7. sealed trait RunProcessResult extends AnyRef

    Permalink

    Depending on the output setting specified on the RunProcess, the runner may return either a StreamingResult or a FileResult

  8. case class StreamingResult(output: Iterator[String]) extends RunProcessResult with Product with Serializable

    Permalink
  9. case class StreamingSettings(successExitCodes: Set[Int] = Set(0), frameLength: Option[Int] = None, allowTruncation: Boolean = true, errorMarker: String = ...) extends Product with Serializable

    Permalink

    successExitCodes

    the set of exit codes which are attribute to success

    frameLength

    the frame length to use (if set) for delimiting output lines

    errorMarker

    the marker which, if it appears in the standard output stream, will be followed by ProcessError in json form

  10. case class Upload(name: String, source: Source[ByteString, Any], size: Option[Long] = None) extends Product with Serializable

    Permalink

Value Members

  1. object FileResult extends FailFastCirceSupport with Serializable

    Permalink
  2. object OperationResult extends Serializable

    Permalink
  3. object ProcessError extends Serializable

    Permalink
  4. object ProcessException extends StrictLogging with Serializable

    Permalink
  5. object RunProcess extends Serializable

    Permalink
  6. object RunProcessResult

    Permalink
  7. object StreamingSettings extends Serializable

    Permalink
  8. object Upload extends Serializable

    Permalink
  9. def newWorkspace(): WorkspaceId

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped