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.

livelockDir :: IO FilePathSource

Directory for the jobs' livelocks.

luxidMessageDir :: IO FilePathSource

Directory for luxid to write messages to running jobs, like requests to change the priority.

livelockFile :: FilePath -> IO FilePathSource

A helper for building a job's livelock file. It prepends livelockDir to a given filename.

defaultQuerySocket :: IO FilePathSource

The default LUXI socket for queries.

defaultWConfdSocket :: IO FilePathSource

The default WConfD socket for queries.

defaultMetadSocket :: IO FilePathSource

The default MetaD socket for communication.

confdHmacKey :: IO FilePathSource

Path to file containing confd's HMAC key.

clusterConfFile :: IO FilePathSource

Path to cluster configuration file.

lockStatusFile :: IO FilePathSource

Path to the file representing the lock status.

tempResStatusFile :: IO FilePathSource

Path to the file representing the lock status.

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.

jqueueExecutorPy :: IO FilePathSource

The path to the Python executable for starting jobs.