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.

defaultLuxiSocket :: IO FilePathSource

The default LUXI socket path.

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.

nodedCertFile :: IO FilePathSource

Path to the noded certificate.

queueDir :: IO FilePathSource

Job queue directory.

jobQueueSerialFile :: IO FilePathSource

Job queue serial 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.