Safe Haskell | None |
---|
Implementation of the Ganeti Instance config object.
Documentation
data FilledBeParams Source
FilledBeParams | |
|
Eq FilledBeParams | |
Show FilledBeParams | |
JSON FilledBeParams | |
ArrayObject FilledBeParams | |
DictObject FilledBeParams | |
Arbitrary FilledBeParams | |
Arbitrary ClusterBeParams | |
PartialParams FilledBeParams PartialBeParams |
data PartialBeParams Source
PartialBeParams | |
|
allBeParamFields :: [String]Source
loadPartialBeParams :: JSValue -> Result PartialBeParamsSource
savePartialBeParams :: PartialBeParams -> JSValueSource
loadFilledBeParams :: JSValue -> Result FilledBeParamsSource
saveFilledBeParams :: FilledBeParams -> JSValueSource
data RealInstanceData Source
RealInstanceData | |
|
Eq RealInstanceData | |
Show RealInstanceData | |
JSON RealInstanceData | |
ArrayObject RealInstanceData | |
DictObject RealInstanceData | |
Arbitrary RealInstanceData |
data ForthcomingInstanceData Source
ForthcomingInstanceData | |
|
instSerialL :: Lens' Instance IntSource
instMtimeL :: Lens' Instance ClockTimeSource
instCtimeL :: Lens' Instance ClockTimeSource
instNetworkPortL :: Lens' Instance (Maybe Int)Source
instDisksActiveL :: Lens Instance Instance (Maybe Bool) BoolSource
instDisksL :: Lens' Instance [String]Source
instNicsL :: Lens' Instance [PartialNic]Source
instAdminStateSourceL :: Lens Instance Instance (Maybe AdminStateSource) AdminStateSourceSource
instAdminStateL :: Lens Instance Instance (Maybe AdminState) AdminStateSource
instOsparamsL :: Lens' Instance OsParamsSource
instBeparamsL :: Lens' Instance PartialBeParamsSource
instHvparamsL :: Lens' Instance HvParamsSource
instHypervisorL :: Lens Instance Instance (Maybe Hypervisor) HypervisorSource
instPrimaryNodeL :: Lens Instance Instance (Maybe String) StringSource
instSerial :: Instance -> IntSource
instNetworkPort :: Instance -> Maybe IntSource
instDisksActive :: Instance -> Maybe BoolSource
instNics :: Instance -> [PartialNic]Source
instAdminStateSource :: Instance -> Maybe AdminStateSourceSource
instAdminState :: Instance -> Maybe AdminStateSource
instHypervisor :: Instance -> Maybe HypervisorSource
instPrimaryNode :: Instance -> Maybe StringSource
instForthcoming :: Instance -> BoolSource
loadForthcomingInstanceData :: JSValue -> Result ForthcomingInstanceDataSource
saveForthcomingInstanceData :: ForthcomingInstanceData -> JSValueSource
loadRealInstanceData :: JSValue -> Result RealInstanceDataSource
saveRealInstanceData :: RealInstanceData -> JSValueSource