b9-3.2.3: 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

Instances details
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 :: forall r r'. (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

Methods

fromAST :: forall (e :: [Type -> Type]) c. (IsB9 e, ToContentGenerator c) => AST c YamlObject -> Eff e YamlObject Source #

type Rep YamlObject Source # 
Instance details

Defined in B9.Artifact.Content.YamlObject

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