Safe Haskell | Safe |
---|
Path-related helper functions.
Synopsis
- pjoin :: IO String -> String -> IO String
- getRootDir :: IO FilePath
- addNodePrefix :: FilePath -> IO FilePath
- dataDir :: IO FilePath
- dataDirP :: FilePath -> IO FilePath
- runDir :: IO FilePath
- logDir :: IO FilePath
- socketDir :: IO FilePath
- livelockDir :: IO FilePath
- luxidMessageDir :: IO FilePath
- livelockFile :: FilePath -> IO FilePath
- defaultQuerySocket :: IO FilePath
- defaultWConfdSocket :: IO FilePath
- defaultMetadSocket :: IO FilePath
- confdHmacKey :: IO FilePath
- clusterConfFile :: IO FilePath
- lockStatusFile :: IO FilePath
- tempResStatusFile :: IO FilePath
- watcherPauseFile :: IO FilePath
- nodedCertFile :: IO FilePath
- nodedClientCertFile :: IO FilePath
- queueDir :: IO FilePath
- jobQueueSerialFile :: IO FilePath
- jobQueueLockFile :: IO FilePath
- jobQueueDrainFile :: IO FilePath
- jobQueueArchiveSubDir :: FilePath
- instanceReasonDir :: IO FilePath
- getInstReasonFilename :: String -> IO FilePath
- jqueueExecutorPy :: IO FilePath
Documentation
getRootDir :: IO FilePath Source #
Returns the root directory, which can be either the real root or the virtual root.
addNodePrefix :: FilePath -> IO FilePath Source #
Prefixes a path with the current root directory.
livelockDir :: IO FilePath Source #
Directory for the jobs' livelocks.
luxidMessageDir :: IO FilePath Source #
Directory for luxid to write messages to running jobs, like requests to change the priority.
livelockFile :: FilePath -> IO FilePath Source #
A helper for building a job's livelock file. It prepends
livelockDir
to a given filename.
defaultQuerySocket :: IO FilePath Source #
The default LUXI socket for queries.
defaultWConfdSocket :: IO FilePath Source #
The default WConfD socket for queries.
defaultMetadSocket :: IO FilePath Source #
The default MetaD socket for communication.
confdHmacKey :: IO FilePath Source #
Path to file containing confd's HMAC key.
clusterConfFile :: IO FilePath Source #
Path to cluster configuration file.
lockStatusFile :: IO FilePath Source #
Path to the file representing the lock status.
tempResStatusFile :: IO FilePath Source #
Path to the file representing the lock status.
watcherPauseFile :: IO FilePath Source #
Path to the watcher pause file.
nodedCertFile :: IO FilePath Source #
Path to the noded certificate.
nodedClientCertFile :: IO FilePath Source #
Path to the noded client certificate.
jobQueueSerialFile :: IO FilePath Source #
Job queue serial file.
jobQueueLockFile :: IO FilePath Source #
Job queue lock file
jobQueueDrainFile :: IO FilePath Source #
Job queue drain file
jobQueueArchiveSubDir :: FilePath Source #
Job queue archive directory.
instanceReasonDir :: IO FilePath Source #
Directory containing the reason trails for the last change of status of instances.
getInstReasonFilename :: String -> IO FilePath Source #
The path of the file containing the reason trail for an instance, given the instance name.
jqueueExecutorPy :: IO FilePath Source #
The path to the Python executable for starting jobs.