Packages

p

tasks

package tasks

Linear Supertypes
MacroCalls, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. tasks
  2. MacroCalls
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package deploy
  2. package elastic
  3. package fileservice
  4. package queue
  5. package util

Type Members

  1. type CodeVersion = tasks.shared.CodeVersion
  2. trait HasPersistent[+A] extends AnyRef
  3. trait HasSharedFiles extends Product
  4. trait MacroCalls extends AnyRef
  5. type ResourceRequest = VersionedResourceRequest
  6. type SDeserializer[T] = Spore[Unit, Deserializer[T]]
  7. type SSerializer[T] = Spore[Unit, Serializer[T]]
  8. type SharedFile = tasks.fileservice.SharedFile
  9. final class TaskDefinition[A, B] extends AnyRef
  10. case class TaskSystemComponents extends Product with Serializable
  11. abstract class WithSharedFiles extends Product with HasSharedFiles

Value Members

  1. val CodeVersion: tasks.shared.CodeVersion.type
  2. def ResourceRequest(cpu: Int, memory: Int, scratch: Int)(implicit codeVersion: CodeVersion): VersionedResourceRequest
  3. def ResourceRequest(cpu: Int, memory: Int)(implicit codeVersion: CodeVersion): VersionedResourceRequest
  4. def ResourceRequest(cpu: (Int, Int), memory: Int)(implicit codeVersion: CodeVersion): VersionedResourceRequest
  5. def ResourceRequest(cpu: (Int, Int), memory: Int, scratch: Int)(implicit codeVersion: CodeVersion): VersionedResourceRequest
  6. def ResourceRequest(cpu: (Int, Int), memory: Int, scratch: Int, gpu: Int)(implicit codeVersion: CodeVersion): VersionedResourceRequest
  7. val SharedFile: tasks.fileservice.SharedFile.type
  8. macro def Task[A <: AnyRef, C](taskID: String, taskVersion: Int)(comp: (A) => (ComputationEnvironment) => IO[C]): TaskDefinition[A, C]
    Definition Classes
    MacroCalls
  9. def appendToFilePrefix[T](elements: Seq[String])(implicit ce: ComputationEnvironment): ((ComputationEnvironment) => T) => T
  10. def audit(data: String)(implicit component: ComputationEnvironment): Boolean
  11. implicit def codeVersionFromTasksConfig(implicit c: TasksConfig): CodeVersion
  12. def defaultTaskSystem(config: Option[Config], s3Client: Resource[IO, Option[S3Client]], elasticSupport: Resource[IO, Option[ElasticSupport]], externalQueueState: Resource[IO, Option[Transaction[State]]], exitCode: Deferred[IO, ExitCode]): Resource[IO, (TaskSystemComponents, HostConfiguration)]

    The user of this resource should check the role of the returned HostConfiguration If it is not an App, then it is very likely that the correct use case is to return an IO.never

  13. def defaultTaskSystem(config: Option[Config]): Resource[IO, (TaskSystemComponents, HostConfiguration)]
  14. def defaultTaskSystem(config: String): Resource[IO, (TaskSystemComponents, HostConfiguration)]
  15. def defaultTaskSystem(config: String, s3Client: Resource[IO, Option[S3Client]], elasticSupport: Resource[IO, Option[ElasticSupport]], externalQueueState: Resource[IO, Option[Transaction[State]]]): Resource[IO, (TaskSystemComponents, HostConfiguration)]
  16. def defaultTaskSystem(config: String, s3Client: Resource[IO, Option[S3Client]], elasticSupport: Resource[IO, Option[ElasticSupport]]): Resource[IO, (TaskSystemComponents, HostConfiguration)]
  17. def defaultTaskSystem: Resource[IO, (TaskSystemComponents, HostConfiguration)]
  18. def fromFileList[O](files: Seq[Seq[String]], parallelism: Int)(fromFiles: (Seq[SharedFile]) => O)(full: => IO[O])(implicit tsc: TaskSystemComponents): IO[O]
  19. implicit def fs(implicit component: TaskSystemComponents): FileServiceComponent
  20. def hostConfigChosenFromConfig(implicit config: TasksConfig): HostConfiguration
  21. implicit def launcherActor(implicit component: ComputationEnvironment): LauncherActor
  22. macro def makeSerDe[A]: SerDe[A]
    Definition Classes
    MacroCalls
  23. def releaseResourcesEarly(implicit comp: ComputationEnvironment): IO[Unit]
  24. implicit def resourceAllocated(implicit component: ComputationEnvironment): ResourceAllocated
  25. implicit def serde2deser[A](a: SerDe[A]): SDeserializer[A]
  26. implicit def serde2ser[A](a: SerDe[A]): SSerializer[A]
  27. macro def spore[B](value: () => B): Spore[Unit, B]
    Definition Classes
    MacroCalls
  28. macro def spore[A, B](value: (A) => B): Spore[A, B]
    Definition Classes
    MacroCalls
  29. implicit def tasksConfig(implicit component: TaskSystemComponents): TasksConfig
  30. implicit def ts(implicit component: ComputationEnvironment): TaskSystemComponents
  31. def withTaskSystem[T](config: Option[Config], s3Client: Resource[IO, Option[S3Client]], elasticSupport: Resource[IO, Option[ElasticSupport]], externalQueueState: Resource[IO, Option[Transaction[State]]])(f: (TaskSystemComponents) => IO[T]): IO[Either[ExitCode, T]]
  32. def withTaskSystem[T](config: String, s3Client: Resource[IO, Option[S3Client]], elasticSupport: Resource[IO, Option[ElasticSupport]], externalQueueState: Resource[IO, Option[Transaction[State]]])(f: (TaskSystemComponents) => IO[T]): IO[Either[ExitCode, T]]
  33. def withTaskSystem[T](config: Option[Config])(f: (TaskSystemComponents) => IO[T]): IO[Either[ExitCode, T]]
  34. def withTaskSystem[T](c: Config)(f: (TaskSystemComponents) => IO[T]): IO[Either[ExitCode, T]]
  35. def withTaskSystem[T](config: Config, s3Client: Resource[IO, Option[S3Client]], elasticSupport: Resource[IO, Option[ElasticSupport]])(f: (TaskSystemComponents) => IO[T]): IO[Either[ExitCode, T]]
  36. def withTaskSystem[T](f: (TaskSystemComponents) => IO[T]): IO[Either[ExitCode, T]]
  37. object HasSharedFiles
  38. object TaskSystemComponents extends Serializable

Inherited from MacroCalls

Inherited from AnyRef

Inherited from Any

Ungrouped