tasks

package tasks

Members list

Packages

package tasks.caching
package tasks.deploy
package tasks.elastic
package tasks.queue
package tasks.util
package tasks.wire

Type members

Experimental classlikes

trait HasPersistent[+A]

Attributes

Experimental
true
Supertypes
class Object
trait Matchable
class Any
Self type
A
trait HasSharedFiles extends Product

Attributes

Companion
object
Experimental
true
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Experimental
true
Supertypes
class Object
trait Matchable
class Any
Self type
trait MacroCalls

Attributes

Experimental
true
Supertypes
class Object
trait Matchable
class Any
case class TaskDefinition[A, B](rs: Spore[Unit, Deserializer[A]], ws: Spore[Unit, Serializer[B]], fs: Spore[A, ComputationEnvironment => IO[B]], taskId: TaskId)(using evidence$1: Serializer[A], evidence$2: Deserializer[B])

Attributes

Experimental
true
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
object
Experimental
true
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Experimental
true
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class UntypedTaskDefinition[A, C](rs: Spore[Unit, Deserializer[A]], ws: Spore[Unit, Serializer[C]], fs: Spore[A, ComputationEnvironment => IO[C]])

Attributes

Experimental
true
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
abstract class WithSharedFiles(members: Seq[Any], mutables: Seq[Any]) extends Product, HasSharedFiles

Attributes

Experimental
true
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Types

type CodeVersion = CodeVersion
type ResourceRequest = VersionedResourceRequest
type SDeserializer[T] = Spore[Unit, Deserializer[T]]
type SSerializer[T] = Spore[Unit, Serializer[T]]

Value members

Inherited methods

inline def Task[A <: AnyRef, C](taskID: String, taskVersion: Int)(comp: A => ComputationEnvironment => IO[C])(implicit inline serA: Serializer[A], inline deserA: Deserializer[A], inline serC: Serializer[C], inline deserC: Deserializer[C]): TaskDefinition[A, C]

Attributes

Inherited from:
MacroCalls
inline def makeSerDe[A](implicit inline ser: Serializer[A], inline des: Deserializer[A]): SerDe[A]

Attributes

Inherited from:
MacroCalls
inline def spore[A, B](value: A => B): Spore[A, B]

Attributes

Inherited from:
MacroCalls

Experimental methods

Attributes

Experimental
true
def ResourceRequest(cpu: (Int, Int), memory: Int, scratch: Int, gpu: Int)(implicit codeVersion: CodeVersion): VersionedResourceRequest

Attributes

Experimental
true
def ResourceRequest(cpu: (Int, Int), memory: Int, scratch: Int)(implicit codeVersion: CodeVersion): VersionedResourceRequest

Attributes

Experimental
true
def ResourceRequest(cpu: (Int, Int), memory: Int)(implicit codeVersion: CodeVersion): VersionedResourceRequest

Attributes

Experimental
true
def ResourceRequest(cpu: Int, memory: Int)(implicit codeVersion: CodeVersion): VersionedResourceRequest

Attributes

Experimental
true
def ResourceRequest(cpu: Int, memory: Int, scratch: Int)(implicit codeVersion: CodeVersion): VersionedResourceRequest

Attributes

Experimental
true
def appendToFilePrefix[T](elements: Seq[String])(implicit ce: ComputationEnvironment): (ComputationEnvironment => T) => T

Attributes

Experimental
true
def audit(data: String)(implicit component: ComputationEnvironment): Boolean

Attributes

Experimental
true

Attributes

Experimental
true
def defaultTaskSystem(string: String, s3Client: Resource[IO, Option[S3Client]], elasticSupport: Resource[IO, Option[ElasticSupport]]): Resource[IO, (TaskSystemComponents, HostConfiguration)]

Attributes

Experimental
true
def defaultTaskSystem(string: String): Resource[IO, (TaskSystemComponents, HostConfiguration)]

Attributes

Experimental
true
def defaultTaskSystem(extraConf: Option[Config]): Resource[IO, (TaskSystemComponents, HostConfiguration)]

Attributes

Experimental
true
def defaultTaskSystem(extraConf: Option[Config], s3Client: Resource[IO, Option[S3Client]], elasticSupport: Resource[IO, Option[ElasticSupport]]): 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

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

Attributes

Experimental
true
def fromFileList[O](files: Seq[Seq[String]], parallelism: Int)(fromFiles: Seq[SharedFile] => O)(full: => IO[O])(implicit tsc: TaskSystemComponents): IO[O]

Attributes

Experimental
true
def releaseResourcesEarly(implicit comp: ComputationEnvironment): IO[Unit]

Attributes

Experimental
true
def withTaskSystem[T](f: TaskSystemComponents => IO[T]): IO[Option[T]]

Attributes

Experimental
true
def withTaskSystem[T](c: Config, s3Client: Resource[IO, Option[S3Client]], elasticSupport: Resource[IO, Option[ElasticSupport]])(f: TaskSystemComponents => IO[T]): IO[Option[T]]

Attributes

Experimental
true
def withTaskSystem[T](c: Config)(f: TaskSystemComponents => IO[T]): IO[Option[T]]

Attributes

Experimental
true
def withTaskSystem[T](c: Option[Config])(f: TaskSystemComponents => IO[T]): IO[Option[T]]

Attributes

Experimental
true
def withTaskSystem[T](s: String, s3Client: Resource[IO, Option[S3Client]], elasticSupport: Resource[IO, Option[ElasticSupport]])(f: TaskSystemComponents => IO[T]): IO[Option[T]]

Attributes

Experimental
true
def withTaskSystem[T](c: Option[Config], s3Client: Resource[IO, Option[S3Client]], elasticSupport: Resource[IO, Option[ElasticSupport]])(f: TaskSystemComponents => IO[T]): IO[Option[T]]

Attributes

Experimental
true

Experimental fields

val CodeVersion: CodeVersion.type

Attributes

Experimental
true

Attributes

Experimental
true

Implicits

Experimental implicits

Attributes

Experimental
true
implicit def fs(implicit component: TaskSystemComponents): FileServiceComponent

Attributes

Experimental
true
implicit def launcherActor(implicit component: ComputationEnvironment): LauncherActor

Attributes

Experimental
true
implicit def resourceAllocated(implicit component: ComputationEnvironment): ResourceAllocated

Attributes

Experimental
true
implicit def serde2deser[A](a: SerDe[A]): SDeserializer[A]

Attributes

Experimental
true
implicit def serde2ser[A](a: SerDe[A]): SSerializer[A]

Attributes

Experimental
true
implicit def tasksConfig(implicit component: TaskSystemComponents): TasksConfig

Attributes

Experimental
true
implicit def ts(implicit component: ComputationEnvironment): TaskSystemComponents

Attributes

Experimental
true