|
|
|
Description |
Implementation of the Ganeti Ssconf interface.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Maximum ssconf file size we support.
|
|
sSFilePrefix :: FilePath | Source |
|
ssconf file prefix, re-exported from Constants.
|
|
|
Constructors | SSClusterName | | SSClusterTags | | SSFileStorageDir | | SSSharedFileStorageDir | | SSMasterCandidates | | SSMasterCandidatesIps | | SSMasterIp | | SSMasterNetdev | | SSMasterNetmask | | SSMasterNode | | SSNodeList | | SSNodePrimaryIps | | SSNodeSecondaryIps | | SSOfflineNodes | | SSOnlineNodes | | SSPrimaryIpFamily | | SSInstanceList | | SSReleaseVersion | | SSHypervisorList | | SSMaintainNodeHealth | | SSUidPool | | SSNodegroups | |
|
|
|
sSKeyFromRaw :: forall m[aPxW]. Monad m[aPxW] => String -> m[aPxW] SSKey | Source |
|
|
|
|
|
:: Maybe FilePath | Optional config path override
| -> SSKey | ssconf key
| -> FilePath | | Convert a ssconf key into a (full) file path.
|
|
|
|
:: | | => Maybe a | Action to run
| -> IO a | | -> IO (Result a) | | Runs an IO action while transforming any error into Bad
values. It also accepts an optional value to use in case the error
is just does not exist.
|
|
|
|
:: Maybe FilePath | Optional config path override
| -> Maybe String | Optional default value
| -> SSKey | Desired ssconf key
| -> IO (Result String) | | Read an ssconf file.
|
|
|
rstripSpace :: String -> String | Source |
|
Strip space characthers (including newline). As this is
expensive, should only be run on small strings.
|
|
|
Parses a string containing an IP family
|
|
getPrimaryIPFamily :: Maybe FilePath -> IO (Result Family) | Source |
|
Read the primary IP family.
|
|
Produced by Haddock version 2.6.0 |