ganeti-3.1: Cluster-based virtualization management software
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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.