Safe Haskell | None |
---|
Implementation of the Ganeti HvState config object.
- data FilledHvStateParams = FilledHvStateParams {
- hvstateCpuNode :: Int
- hvstateCpuTotal :: Int
- hvstateMemHv :: Int
- hvstateMemNode :: Int
- hvstateMemTotal :: Int
- data PartialHvStateParams = PartialHvStateParams {
- hvstateCpuNodeP :: Maybe Int
- hvstateCpuTotalP :: Maybe Int
- hvstateMemHvP :: Maybe Int
- hvstateMemNodeP :: Maybe Int
- hvstateMemTotalP :: Maybe Int
- allHvStateParamFields :: [String]
- loadPartialHvStateParams :: JSValue -> Result PartialHvStateParams
- savePartialHvStateParams :: PartialHvStateParams -> JSValue
- loadFilledHvStateParams :: JSValue -> Result FilledHvStateParams
- saveFilledHvStateParams :: FilledHvStateParams -> JSValue
- type FilledHvState = GenericContainer Hypervisor FilledHvStateParams
- type PartialHvState = GenericContainer Hypervisor PartialHvStateParams
Documentation
data FilledHvStateParams Source
FilledHvStateParams | |
|
data PartialHvStateParams Source
PartialHvStateParams | |
|
allHvStateParamFields :: [String]Source
loadPartialHvStateParams :: JSValue -> Result PartialHvStateParamsSource
savePartialHvStateParams :: PartialHvStateParams -> JSValueSource
loadFilledHvStateParams :: JSValue -> Result FilledHvStateParamsSource
saveFilledHvStateParams :: FilledHvStateParams -> JSValueSource
type FilledHvState = GenericContainer Hypervisor FilledHvStateParamsSource
Static filled hypervisor state (hvtype to hvstate mapping)
type PartialHvState = GenericContainer Hypervisor PartialHvStateParamsSource
Static partial hypervisor state (hvtype to hvstate mapping)