Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ganeti.Query.Locks
Description
Implementation of Ganeti Lock field queries
The actual computation of the field values is done by forwarding the request; so only have a minimal field definition here.
Synopsis
- fieldsMap :: FieldMap String RuntimeData
- type RuntimeData = ([(ClientId, OwnerState)], [(ClientId, OwnerState)])
Documentation
fieldsMap :: FieldMap String RuntimeData #
The lock fields map.
type RuntimeData = ([(ClientId, OwnerState)], [(ClientId, OwnerState)]) #
The runtime information for locks. As all information about locks is handled by WConfD, the actual information is obtained as live data. The type represents the information for a single lock, even though all locks are queried simultaneously, ahead of time.