Safe Haskell | None |
---|
Scan clusters via RAPI or LUXI and write state data files.
Synopsis
- options :: IO [OptType]
- arguments :: [ArgCompletion]
- printCluster :: List -> List -> String
- fixSlash :: String -> String
- processData :: ClockTime -> ClusterData -> Int -> Result ClusterData
- writeData :: Int -> String -> Options -> Result ClusterData -> IO Bool
- writeDataInner :: Int -> String -> Options -> ClusterData -> ClusterData -> IO Bool
- main :: Options -> [String] -> IO ()
Documentation
arguments :: [ArgCompletion] Source #
The list of arguments supported by the program.
printCluster :: List -> List -> String Source #
Return a one-line summary of cluster state.
processData :: ClockTime -> ClusterData -> Int -> Result ClusterData Source #
Generates serialized data from loader input.
writeData :: Int -> String -> Options -> Result ClusterData -> IO Bool Source #
Writes cluster data out.
writeDataInner :: Int -> String -> Options -> ClusterData -> ClusterData -> IO Bool Source #
Inner function for writing cluster data to disk.