Safe Haskell | None |
---|---|
Language | Haskell2010 |
B9 is a library and build tool with primitive operations to rmrun a build script inside a virtual machine and to create and convert virtual machine image files as well as related ISO and VFAT disk images for e.g. cloud-init configuration sources.
This module re-exports the modules needed to build a tool around the
library, e.g. see src/cli/Main.hs
as an example.
B9.ArtifactGenerator is the module containing the basic data structure used to describe a B9 build.
- b9Version :: Version
- b9VersionString :: String
- runShowVersion :: B9Invokation Bool ()
- runBuildArtifacts :: [FilePath] -> B9Invokation String ()
- runFormatBuildFiles :: [FilePath] -> B9Invokation Bool ()
- runPush :: SharedImageName -> B9Invokation Bool ()
- runPull :: Maybe SharedImageName -> B9Invokation Bool ()
- runRun :: SharedImageName -> [String] -> B9Invokation String ()
- runGcLocalRepoCache :: B9Invokation Bool ()
- runGcRemoteRepoCache :: B9Invokation Bool ()
- runListSharedImages :: B9Invokation [SharedImage] ()
- runAddRepo :: RemoteRepo -> B9Invokation Bool ()
- runLookupLocalSharedImage :: SharedImageName -> B9Invokation (Maybe SharedImageBuildId) ()
Documentation
b9VersionString :: String Source #
Return the cabal package version of the B9 library,
formatted using showVersion
.
runShowVersion :: B9Invokation Bool () Source #
runBuildArtifacts :: [FilePath] -> B9Invokation String () Source #
runFormatBuildFiles :: [FilePath] -> B9Invokation Bool () Source #
runPush :: SharedImageName -> B9Invokation Bool () Source #
runPull :: Maybe SharedImageName -> B9Invokation Bool () Source #
runRun :: SharedImageName -> [String] -> B9Invokation String () Source #
runAddRepo :: RemoteRepo -> B9Invokation Bool () Source #