b9-1.0.1: A tool and library for building virtual machine images.

Safe HaskellNone
LanguageHaskell2010

B9.Artifact.Content.YamlObject

Description

A wrapper around Yaml with Semigroup and Monoid instances for merging, reading and writing yaml files within B9.

Synopsis

Documentation

newtype YamlObject Source #

A wrapper type around yaml values with a Semigroup instance useful for combining yaml documents describing system configuration like e.g. user-data.

Constructors

YamlObject 
Instances
Eq YamlObject Source # 
Instance details

Defined in B9.Artifact.Content.YamlObject

Data YamlObject Source # 
Instance details

Defined in B9.Artifact.Content.YamlObject

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> YamlObject -> c YamlObject #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c YamlObject #

toConstr :: YamlObject -> Constr #

dataTypeOf :: YamlObject -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c YamlObject) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c YamlObject) #

gmapT :: (forall b. Data b => b -> b) -> YamlObject -> YamlObject #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> YamlObject -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> YamlObject -> r #

gmapQ :: (forall d. Data d => d -> u) -> YamlObject -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> YamlObject -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> YamlObject -> m YamlObject #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> YamlObject -> m YamlObject #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> YamlObject -> m YamlObject #

Read YamlObject Source # 
Instance details

Defined in B9.Artifact.Content.YamlObject

Show YamlObject Source # 
Instance details

Defined in B9.Artifact.Content.YamlObject

Generic YamlObject Source # 
Instance details

Defined in B9.Artifact.Content.YamlObject

Associated Types

type Rep YamlObject :: Type -> Type #

Semigroup YamlObject Source # 
Instance details

Defined in B9.Artifact.Content.YamlObject

Arbitrary YamlObject Source # 
Instance details

Defined in B9.Artifact.Content.YamlObject

Hashable YamlObject Source # 
Instance details

Defined in B9.Artifact.Content.YamlObject

NFData YamlObject Source # 
Instance details

Defined in B9.Artifact.Content.YamlObject

Methods

rnf :: YamlObject -> () #

Textual YamlObject Source # 
Instance details

Defined in B9.Artifact.Content.YamlObject

FromAST YamlObject Source # 
Instance details

Defined in B9.Artifact.Content.YamlObject

type Rep YamlObject Source # 
Instance details

Defined in B9.Artifact.Content.YamlObject

type Rep YamlObject = D1 (MetaData "YamlObject" "B9.Artifact.Content.YamlObject" "b9-1.0.1-inplace" True) (C1 (MetaCons "YamlObject" PrefixI True) (S1 (MetaSel (Just "_fromYamlObject") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Value)))