podenv-0.2.0: A container wrapper
Safe HaskellNone
LanguageHaskell2010

Podenv.Main

Description

This module contains the podenv CLI entrypoint The workflow is: Main -> Config -> Build -> Application -> Context

  • Main: select the app and override with command line arguments
  • Config: load the configuration and select the application
  • Build: optional application build
  • App: convert application and capability into a Context
  • Runtime: execute with podman or kubernetes
Synopsis

Documentation

main :: IO () Source #

podenv entrypoint

runApp :: RuntimeEnv -> Application -> IO () Source #

helper function to run a Application.

exports for tests

cliPrepare :: CLI -> Application -> Application Source #

Apply the CLI argument to the application