ganeti

Safe HaskellSafe-Infered

Ganeti.WConfd.Language

Contents

Description

Function related to serialisation of WConfD requests

Synopsis

Serialisation related to locking

data LockRequestType Source

Operation to be carried out on a lock (request exclusive/shared ownership, or release).

type GanetiLockRequest = [(GanetiLocks, LockRequestType)]Source

The type describing how lock update requests are passed over the wire.

fromGanetiLockRequest :: GanetiLockRequest -> [LockRequest GanetiLocks]Source

From a GanetiLockRequest obtain a list of Ganeti.Lock.Allocation.LockRequest, suitable to updateLocks.