ganeti
Safe HaskellNone

Ganeti.Objects.Nic

Description

Implementation of the Ganeti Instance config object.

Documentation

data FilledNicParams Source #

Constructors

FilledNicParams 

Fields

Instances

Instances details
Eq FilledNicParams # 
Instance details

Defined in Ganeti.Objects.Nic

Show FilledNicParams # 
Instance details

Defined in Ganeti.Objects.Nic

Methods

showsPrec :: Int -> FilledNicParams -> ShowS

show :: FilledNicParams -> String

showList :: [FilledNicParams] -> ShowS

JSON FilledNicParams # 
Instance details

Defined in Ganeti.Objects.Nic

Methods

readJSON :: JSValue -> Result FilledNicParams

showJSON :: FilledNicParams -> JSValue

readJSONs :: JSValue -> Result [FilledNicParams]

showJSONs :: [FilledNicParams] -> JSValue

ArrayObject FilledNicParams # 
Instance details

Defined in Ganeti.Objects.Nic

Methods

toJSArray :: FilledNicParams -> [JSValue] Source #

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

DictObject FilledNicParams # 
Instance details

Defined in Ganeti.Objects.Nic

Methods

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

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

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

Arbitrary FilledNicParams 
Instance details

Defined in Test.Ganeti.Objects

Arbitrary ClusterNicParams 
Instance details

Defined in Test.Ganeti.Objects

PartialParams FilledNicParams PartialNicParams # 
Instance details

Defined in Ganeti.Objects.Nic

data PartialNicParams Source #

Constructors

PartialNicParams 

Fields

Instances

Instances details
Eq PartialNicParams # 
Instance details

Defined in Ganeti.Objects.Nic

Show PartialNicParams # 
Instance details

Defined in Ganeti.Objects.Nic

Methods

showsPrec :: Int -> PartialNicParams -> ShowS

show :: PartialNicParams -> String

showList :: [PartialNicParams] -> ShowS

Semigroup PartialNicParams # 
Instance details

Defined in Ganeti.Objects.Nic

Monoid PartialNicParams # 
Instance details

Defined in Ganeti.Objects.Nic

JSON PartialNicParams # 
Instance details

Defined in Ganeti.Objects.Nic

Methods

readJSON :: JSValue -> Result PartialNicParams

showJSON :: PartialNicParams -> JSValue

readJSONs :: JSValue -> Result [PartialNicParams]

showJSONs :: [PartialNicParams] -> JSValue

ArrayObject PartialNicParams # 
Instance details

Defined in Ganeti.Objects.Nic

Methods

toJSArray :: PartialNicParams -> [JSValue] Source #

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

DictObject PartialNicParams # 
Instance details

Defined in Ganeti.Objects.Nic

Methods

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

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

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

Arbitrary PartialNicParams 
Instance details

Defined in Test.Ganeti.Objects

PartialParams FilledNicParams PartialNicParams # 
Instance details

Defined in Ganeti.Objects.Nic

data PartialNic Source #

Constructors

PartialNic 

Fields

Instances

Instances details
Eq PartialNic # 
Instance details

Defined in Ganeti.Objects.Nic

Methods

(==) :: PartialNic -> PartialNic -> Bool

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

Show PartialNic # 
Instance details

Defined in Ganeti.Objects.Nic

Methods

showsPrec :: Int -> PartialNic -> ShowS

show :: PartialNic -> String

showList :: [PartialNic] -> ShowS

JSON PartialNic # 
Instance details

Defined in Ganeti.Objects.Nic

Methods

readJSON :: JSValue -> Result PartialNic

showJSON :: PartialNic -> JSValue

readJSONs :: JSValue -> Result [PartialNic]

showJSONs :: [PartialNic] -> JSValue

ArrayObject PartialNic # 
Instance details

Defined in Ganeti.Objects.Nic

Methods

toJSArray :: PartialNic -> [JSValue] Source #

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

DictObject PartialNic # 
Instance details

Defined in Ganeti.Objects.Nic

Methods

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

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

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

UuidObject PartialNic # 
Instance details

Defined in Ganeti.Objects.Nic

Methods

uuidOf :: PartialNic -> String Source #

Arbitrary PartialNic 
Instance details

Defined in Test.Ganeti.Objects

loadPartialNic :: JSValue -> Result PartialNic Source #