ganeti

Safe HaskellNone

Ganeti.Objects.Maintenance

Description

Implementation of the Ganeti configuration for the maintenance daemon.

Synopsis

Documentation

data RepairAction Source

Action to be taken for a certain repair event. Note that the order is important, as we rely on values higher in the derived order to be more intrusive actions.

Instances

repairActionFromRaw :: forall m. Monad m => String -> m RepairActionSource

data RepairStatus Source

Progress made on the particular repair event. Again we rely on the order in that everything larger than RSPending is finalized in the sense that no further jobs will be submitted.

Instances

repairStatusFromRaw :: forall m. Monad m => String -> m RepairStatusSource

loadIncident :: JSValue -> Result IncidentSource