| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Saturnin.Jobs
- data JobRequest = TestRequest {}
- data CmdResult = CmdResult {}
- data JobResult = JobResult {}
- data Job = Job {
- remoteJobs :: [RemoteJob]
- request :: JobRequest
- jobID :: JobID
- data RemoteJob = TestJob {}
- mkRemoteJob :: JobRequest -> MachineDescription -> Hostname -> RemoteJob
- runRemoteJob :: RemoteJobRunnerState -> IO JobResult
- data RemoteJobRunnerState = RemoteJobRunnerState {}
Documentation
data JobRequest Source
JobRequest specifies job to be run. This is what client send to the job server.
Constructors
| TestRequest | |
Fields | |
Instances
Constructors
| CmdResult | |
Fields
| |
Constructors
| JobResult | |
Fields | |
Job fully describes a job to be run. This is what JobRequest is translated into for internal representation. This holds data that are needed to actually run the job - that is data derived from the JobRequest, eg.: [Hostname] instead of [MachineDescription]
Constructors
| Job | |
Fields
| |
RemoteJob describes a job to be run on one machine. RemoteJob is always part of Job.
Constructors
| TestJob | |
Fields | |
mkRemoteJob :: JobRequest -> MachineDescription -> Hostname -> RemoteJob Source
data RemoteJobRunnerState Source
Constructors
| RemoteJobRunnerState | |