ganeti

Safe HaskellSafe-Infered

Ganeti.Confd.Server

Contents

Description

Implementation of the Ganeti confd server functionality.

Synopsis

Types and constants definitions

Confd base functionality

Client input/output handlers

responder :: CRef -> Socket -> HashKey -> String -> SockAddr -> IO ()Source

listener :: Socket -> HashKey -> (Socket -> HashKey -> String -> SockAddr -> IO ()) -> IO ()Source

type PrepResult = (Socket, IORef (Result (ConfigData, LinkIpMap)))Source

checkMain :: CheckFn (Family, SockAddr)Source

Check function for confd.

prepMain :: PrepFn (Family, SockAddr) PrepResultSource

Prepare function for confd.

main :: MainFn (Family, SockAddr) PrepResultSource

Main function.