| Safe Haskell | None |
|---|
Ganeti.Objects.Instance
Description
Implementation of the Ganeti Instance config object.
Documentation
data FilledBeParams Source #
Constructors
| FilledBeParams | |
Fields
| |
Instances
data PartialBeParams Source #
Constructors
| PartialBeParams | |
Fields
| |
Instances
allBeParamFields :: [String] Source #
loadPartialBeParams :: JSValue -> Result PartialBeParams Source #
savePartialBeParams :: PartialBeParams -> JSValue Source #
loadFilledBeParams :: JSValue -> Result FilledBeParams Source #
saveFilledBeParams :: FilledBeParams -> JSValue Source #
data RealInstanceData Source #
Constructors
| RealInstanceData | |
Fields
| |
Instances
data ForthcomingInstanceData Source #
Constructors
| ForthcomingInstanceData | |
Fields
| |
Instances
Instances
| Eq Instance # | |
| Show Instance # | |
| JSON Instance # | |
| ArrayObject Instance # | |
Defined in Ganeti.Objects.Instance | |
| DictObject Instance # | |
| TagsObject Instance # | |
| SerialNoObject Instance # | |
Defined in Ganeti.Objects.Instance | |
| ForthcomingObject Instance # | |
Defined in Ganeti.Objects.Instance Methods isForthcoming :: Instance -> Bool Source # | |
| UuidObject Instance # | |
Defined in Ganeti.Objects.Instance | |
| TimeStampObject Instance # | |
| TagsObjectL Instance # | |
| SerialNoObjectL Instance # | |
Defined in Ganeti.Objects.Lens | |
| UuidObjectL Instance # | |
Defined in Ganeti.Objects.Lens | |
| TimeStampObjectL Instance # | |
Defined in Ganeti.Objects.Lens | |
| Arbitrary Instance | |
instSerialL :: Lens' Instance Int Source #
instMtimeL :: Lens' Instance ClockTime Source #
instCtimeL :: Lens' Instance ClockTime Source #
instNetworkPortL :: Lens' Instance (Maybe Int) Source #
instDisksActiveL :: Lens Instance Instance (Maybe Bool) Bool Source #
instDisksL :: Lens' Instance [String] Source #
instNicsL :: Lens' Instance [PartialNic] Source #
instAdminStateSourceL :: Lens Instance Instance (Maybe AdminStateSource) AdminStateSource Source #
instAdminStateL :: Lens Instance Instance (Maybe AdminState) AdminState Source #
instOsparamsPrivateL :: Lens' Instance OsParamsPrivate Source #
instOsparamsL :: Lens' Instance OsParams Source #
instBeparamsL :: Lens' Instance PartialBeParams Source #
instHvparamsL :: Lens' Instance HvParams Source #
instHypervisorL :: Lens Instance Instance (Maybe Hypervisor) Hypervisor Source #
instPrimaryNodeL :: Lens Instance Instance (Maybe String) String Source #
instSerial :: Instance -> Int Source #
instNetworkPort :: Instance -> Maybe Int Source #
instDisksActive :: Instance -> Maybe Bool Source #
instNics :: Instance -> [PartialNic] Source #
instAdminStateSource :: Instance -> Maybe AdminStateSource Source #
instAdminState :: Instance -> Maybe AdminState Source #
instOsparams :: Instance -> OsParams Source #
instHvparams :: Instance -> HvParams Source #
instHypervisor :: Instance -> Maybe Hypervisor Source #
instPrimaryNode :: Instance -> Maybe String Source #
instForthcoming :: Instance -> Bool Source #
loadForthcomingInstanceData :: JSValue -> Result ForthcomingInstanceData Source #
saveForthcomingInstanceData :: ForthcomingInstanceData -> JSValue Source #
loadRealInstanceData :: JSValue -> Result RealInstanceData Source #
saveRealInstanceData :: RealInstanceData -> JSValue Source #