, FailStats
, OpResult
, opToResult
- , EvacMode(..)
, ISpec(..)
, MinMaxISpecs(..)
, IPolicy(..)
-- | Updates the index of the element
setIdx :: a -> Int -> a
--- | The iallocator node-evacuate evac_mode type.
-$(THH.declareSADT "EvacMode"
- [ ("ChangePrimary", 'C.iallocatorNevacPri)
- , ("ChangeSecondary", 'C.iallocatorNevacSec)
- , ("ChangeAll", 'C.iallocatorNevacAll)
- ])
-$(THH.makeJSONInstance ''EvacMode)
-
-- | The repair modes for the auto-repair tool.
$(THH.declareSADT "AutoRepairType"
-- Order is important here: from least destructive to most.