ganeti

Safe HaskellSafe-Infered

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

Documentation

type RuntimeData = ([(ClientId, OwnerState)], [(ClientId, OwnerState)])Source

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.

fieldsMap :: FieldMap String RuntimeDataSource

The lock fields map.