b9-3.2.3: A tool and library for building virtual machine images.
Safe HaskellNone
LanguageHaskell2010

B9.Artifact.Content.CloudConfigYaml

Description

This contains a YamlObject for Canonicals cloud-init.

For some reason, cloud-config yaml documents MUST contain #cloud-config in the first line.

This is documented in the cloud config documentation.

Otherwise, this is just a wrapper around YamlObject.

@Since 0.5.62

Synopsis

Documentation

newtype CloudConfigYaml Source #

Cloud-init meta-data configuration Yaml.

cloud-config yaml documents contain: #cloud-config as first line.

@Since 0.5.62

Instances

Instances details
Eq CloudConfigYaml Source # 
Instance details

Defined in B9.Artifact.Content.CloudConfigYaml

Data CloudConfigYaml Source # 
Instance details

Defined in B9.Artifact.Content.CloudConfigYaml

Methods

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

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

toConstr :: CloudConfigYaml -> Constr #

dataTypeOf :: CloudConfigYaml -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CloudConfigYaml Source # 
Instance details

Defined in B9.Artifact.Content.CloudConfigYaml

Show CloudConfigYaml Source # 
Instance details

Defined in B9.Artifact.Content.CloudConfigYaml

Generic CloudConfigYaml Source # 
Instance details

Defined in B9.Artifact.Content.CloudConfigYaml

Associated Types

type Rep CloudConfigYaml :: Type -> Type #

Semigroup CloudConfigYaml Source # 
Instance details

Defined in B9.Artifact.Content.CloudConfigYaml

Arbitrary CloudConfigYaml Source # 
Instance details

Defined in B9.Artifact.Content.CloudConfigYaml

Hashable CloudConfigYaml Source # 
Instance details

Defined in B9.Artifact.Content.CloudConfigYaml

NFData CloudConfigYaml Source # 
Instance details

Defined in B9.Artifact.Content.CloudConfigYaml

Methods

rnf :: CloudConfigYaml -> () #

Textual CloudConfigYaml Source # 
Instance details

Defined in B9.Artifact.Content.CloudConfigYaml

FromAST CloudConfigYaml Source # 
Instance details

Defined in B9.Artifact.Content.CloudConfigYaml

Methods

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

type Rep CloudConfigYaml Source # 
Instance details

Defined in B9.Artifact.Content.CloudConfigYaml

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

cloudConfigFileHeader :: Text Source #

The header line, which must be the first line in the text file containing the cloud-config Yaml document.

@Since 0.5.62