Safe Haskell | None |
---|---|
Language | Haskell2010 |
Top-Level data types for B9 build artifacts.
- data ArtifactGenerator
- = Sources [ArtifactSource] [ArtifactGenerator]
- | Let [(String, String)] [ArtifactGenerator]
- | LetX [(String, [String])] [ArtifactGenerator]
- | EachT [String] [[String]] [ArtifactGenerator]
- | Each [(String, [String])] [ArtifactGenerator]
- | Artifact InstanceId ArtifactAssembly
- | EmptyArtifact
- data ArtifactSource
- newtype InstanceId = IID String
- data ArtifactTarget
- data CloudInitType
- data ArtifactAssembly
- data AssembledArtifact = AssembledArtifact InstanceId [ArtifactTarget]
- instanceIdKey :: String
- buildIdKey :: String
- buildDateKey :: String
Documentation
data ArtifactGenerator Source
A single config generator specifies howto generate multiple output files/directories. It consists of a netsted set of variable bindings that are replaced inside the text files
Sources [ArtifactSource] [ArtifactGenerator] | |
Let [(String, String)] [ArtifactGenerator] | |
LetX [(String, [String])] [ArtifactGenerator] | |
EachT [String] [[String]] [ArtifactGenerator] | |
Each [(String, [String])] [ArtifactGenerator] | |
Artifact InstanceId ArtifactAssembly | |
EmptyArtifact |
data ArtifactSource Source
Explicit is better than implicit: Only files that have explicitly been
listed will be included in any generated configuration. That's right: There's
no "inlcude *.*". B9 will check that *all* files in the directory specified with FromDir
are referred to by nested ArtifactSource
s.
newtype InstanceId Source
data ArtifactTarget Source
data CloudInitType Source
data ArtifactAssembly Source
data AssembledArtifact Source