ganeti

Safe HaskellSafe-Infered

Ganeti.Path

Description

Path-related helper functions.

Synopsis

Documentation

pjoin :: IO String -> String -> IO StringSource

getRootDir :: IO FilePathSource

addNodePrefix :: FilePath -> IO FilePathSource

dataDir :: IO FilePathSource

Directory for data.

dataDirP :: FilePath -> IO FilePathSource

runDir :: IO FilePathSource

Directory for runtime files.

logDir :: IO FilePathSource

Directory for log files.

socketDir :: IO FilePathSource

Directory for Unix sockets.

defaultMasterSocket :: IO FilePathSource

The default path for the master-daemon LUXI socket.

defaultQuerySocket :: IO FilePathSource

The default LUXI socket for queries.

confdHmacKey :: IO FilePathSource

Path to file containing confd's HMAC key.

clusterConfFile :: IO FilePathSource

Path to cluster configuration file.

watcherPauseFile :: IO FilePathSource

Path to the watcher pause file.

nodedCertFile :: IO FilePathSource

Path to the noded certificate.

nodedClientCertFile :: IO FilePathSource

Path to the noded client certificate.

queueDir :: IO FilePathSource

Job queue directory.

jobQueueSerialFile :: IO FilePathSource

Job queue serial file.

jobQueueLockFile :: IO FilePathSource

Job queue lock file

jobQueueDrainFile :: IO FilePathSource

Job queue drain file

jobQueueArchiveSubDir :: FilePathSource

Job queue archive directory.

instanceReasonDir :: IO FilePathSource

Directory containing the reason trails for the last change of status of instances.

getInstReasonFilename :: String -> IO FilePathSource

The path of the file containing the reason trail for an instance, given the instance name.