Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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.
CmdResult | |
|
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]
Job | |
|
RemoteJob describes a job to be run on one machine. RemoteJob is always part of Job.
mkRemoteJob :: JobRequest -> MachineDescription -> Hostname -> RemoteJob Source