ganeti

Safe HaskellSafe-Infered

Ganeti.Query.Job

Description

Implementation of the Ganeti Query2 job queries.

Synopsis

Documentation

type RuntimeData = Result (QueuedJob, Bool)Source

The runtime data for a job.

tsDoc :: String -> StringSource

maybeJobOpt :: JSON a => (QueuedJob -> Maybe a) -> RuntimeData -> JobId -> ResultEntrySource

wantArchived :: [FilterField] -> BoolSource

Check whether we should look at archived jobs as well.

fieldsMap :: FieldMap JobId RuntimeDataSource

The node fields map.