b9-2.1.0: 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
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 :: (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

type Rep CloudConfigYaml Source # 
Instance details

Defined in B9.Artifact.Content.CloudConfigYaml

type Rep CloudConfigYaml = D1 (MetaData "CloudConfigYaml" "B9.Artifact.Content.CloudConfigYaml" "b9-2.1.0-RZRDTT94jm9r60J5nt33" 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