ganeti
Safe HaskellNone

Ganeti.Objects.Instance

Description

Implementation of the Ganeti Instance config object.

Documentation

data FilledBeParams Source #

Constructors

FilledBeParams 

Fields

Instances

Instances details
Eq FilledBeParams # 
Instance details

Defined in Ganeti.Objects.Instance

Show FilledBeParams # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

showsPrec :: Int -> FilledBeParams -> ShowS

show :: FilledBeParams -> String

showList :: [FilledBeParams] -> ShowS

JSON FilledBeParams # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

readJSON :: JSValue -> Result FilledBeParams

showJSON :: FilledBeParams -> JSValue

readJSONs :: JSValue -> Result [FilledBeParams]

showJSONs :: [FilledBeParams] -> JSValue

ArrayObject FilledBeParams # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

toJSArray :: FilledBeParams -> [JSValue] Source #

fromJSArray :: [JSValue] -> Result FilledBeParams Source #

DictObject FilledBeParams # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

toDict :: FilledBeParams -> [(String, JSValue)] Source #

fromDictWKeys :: [(String, JSValue)] -> WriterT UsedKeys Result FilledBeParams Source #

fromDict :: [(String, JSValue)] -> Result FilledBeParams Source #

Arbitrary FilledBeParams 
Instance details

Defined in Test.Ganeti.Objects

Arbitrary ClusterBeParams 
Instance details

Defined in Test.Ganeti.Objects

PartialParams FilledBeParams PartialBeParams # 
Instance details

Defined in Ganeti.Objects.Instance

data PartialBeParams Source #

Constructors

PartialBeParams 

Fields

Instances

Instances details
Eq PartialBeParams # 
Instance details

Defined in Ganeti.Objects.Instance

Show PartialBeParams # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

showsPrec :: Int -> PartialBeParams -> ShowS

show :: PartialBeParams -> String

showList :: [PartialBeParams] -> ShowS

Semigroup PartialBeParams # 
Instance details

Defined in Ganeti.Objects.Instance

Monoid PartialBeParams # 
Instance details

Defined in Ganeti.Objects.Instance

JSON PartialBeParams # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

readJSON :: JSValue -> Result PartialBeParams

showJSON :: PartialBeParams -> JSValue

readJSONs :: JSValue -> Result [PartialBeParams]

showJSONs :: [PartialBeParams] -> JSValue

ArrayObject PartialBeParams # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

toJSArray :: PartialBeParams -> [JSValue] Source #

fromJSArray :: [JSValue] -> Result PartialBeParams Source #

DictObject PartialBeParams # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

toDict :: PartialBeParams -> [(String, JSValue)] Source #

fromDictWKeys :: [(String, JSValue)] -> WriterT UsedKeys Result PartialBeParams Source #

fromDict :: [(String, JSValue)] -> Result PartialBeParams Source #

Arbitrary PartialBeParams 
Instance details

Defined in Test.Ganeti.Objects

PartialParams FilledBeParams PartialBeParams # 
Instance details

Defined in Ganeti.Objects.Instance

data RealInstanceData Source #

Instances

Instances details
Eq RealInstanceData # 
Instance details

Defined in Ganeti.Objects.Instance

Show RealInstanceData # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

showsPrec :: Int -> RealInstanceData -> ShowS

show :: RealInstanceData -> String

showList :: [RealInstanceData] -> ShowS

JSON RealInstanceData # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

readJSON :: JSValue -> Result RealInstanceData

showJSON :: RealInstanceData -> JSValue

readJSONs :: JSValue -> Result [RealInstanceData]

showJSONs :: [RealInstanceData] -> JSValue

ArrayObject RealInstanceData # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

toJSArray :: RealInstanceData -> [JSValue] Source #

fromJSArray :: [JSValue] -> Result RealInstanceData Source #

DictObject RealInstanceData # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

toDict :: RealInstanceData -> [(String, JSValue)] Source #

fromDictWKeys :: [(String, JSValue)] -> WriterT UsedKeys Result RealInstanceData Source #

fromDict :: [(String, JSValue)] -> Result RealInstanceData Source #

Arbitrary RealInstanceData 
Instance details

Defined in Test.Ganeti.Objects

data ForthcomingInstanceData Source #

Instances

Instances details
Eq ForthcomingInstanceData # 
Instance details

Defined in Ganeti.Objects.Instance

Show ForthcomingInstanceData # 
Instance details

Defined in Ganeti.Objects.Instance

JSON ForthcomingInstanceData # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

readJSON :: JSValue -> Result ForthcomingInstanceData

showJSON :: ForthcomingInstanceData -> JSValue

readJSONs :: JSValue -> Result [ForthcomingInstanceData]

showJSONs :: [ForthcomingInstanceData] -> JSValue

ArrayObject ForthcomingInstanceData # 
Instance details

Defined in Ganeti.Objects.Instance

DictObject ForthcomingInstanceData # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

toDict :: ForthcomingInstanceData -> [(String, JSValue)] Source #

fromDictWKeys :: [(String, JSValue)] -> WriterT UsedKeys Result ForthcomingInstanceData Source #

fromDict :: [(String, JSValue)] -> Result ForthcomingInstanceData Source #

Arbitrary ForthcomingInstanceData 
Instance details

Defined in Test.Ganeti.Objects

data Instance Source #

Instances

Instances details
Eq Instance # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

(==) :: Instance -> Instance -> Bool

(/=) :: Instance -> Instance -> Bool

Show Instance # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

showsPrec :: Int -> Instance -> ShowS

show :: Instance -> String

showList :: [Instance] -> ShowS

JSON Instance # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

readJSON :: JSValue -> Result Instance

showJSON :: Instance -> JSValue

readJSONs :: JSValue -> Result [Instance]

showJSONs :: [Instance] -> JSValue

ArrayObject Instance # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

toJSArray :: Instance -> [JSValue] Source #

fromJSArray :: [JSValue] -> Result Instance Source #

DictObject Instance # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

toDict :: Instance -> [(String, JSValue)] Source #

fromDictWKeys :: [(String, JSValue)] -> WriterT UsedKeys Result Instance Source #

fromDict :: [(String, JSValue)] -> Result Instance Source #

TagsObject Instance # 
Instance details

Defined in Ganeti.Objects.Instance

SerialNoObject Instance # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

serialOf :: Instance -> Int Source #

ForthcomingObject Instance # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

isForthcoming :: Instance -> Bool Source #

UuidObject Instance # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

uuidOf :: Instance -> String Source #

TimeStampObject Instance # 
Instance details

Defined in Ganeti.Objects.Instance

Methods

cTimeOf :: Instance -> ClockTime Source #

mTimeOf :: Instance -> ClockTime Source #

TagsObjectL Instance # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

tagsL :: Lens' Instance TagSet Source #

SerialNoObjectL Instance # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

serialL :: Lens' Instance Int Source #

UuidObjectL Instance # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

uuidL :: Lens' Instance String Source #

TimeStampObjectL Instance # 
Instance details

Defined in Ganeti.Objects.Lens

Methods

mTimeL :: Lens' Instance ClockTime Source #

Arbitrary Instance 
Instance details

Defined in Test.Ganeti.Objects

instUuidL :: Lens' Instance ByteString 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 #

instOsL :: Lens Instance Instance (Maybe String) String Source #

instPrimaryNodeL :: Lens Instance Instance (Maybe String) String Source #

instNameL :: Lens Instance Instance (Maybe String) String Source #

instUuid :: Instance -> ByteString Source #

instMtime :: Instance -> ClockTime Source #

instCtime :: Instance -> ClockTime Source #

instDisksActive :: Instance -> Maybe Bool Source #

instDisks :: Instance -> [String] Source #

instOs :: Instance -> Maybe String Source #

instPrimaryNode :: Instance -> Maybe String Source #

instName :: Instance -> Maybe String Source #