podenv-0.2.0: A container wrapper
Safe HaskellNone
LanguageHaskell2010

Podenv

Description

The podenv library entry point

Synopsis

Config

data Application Source #

Constructors

Application 

Fields

Instances

Instances details
Eq Application Source # 
Instance details

Defined in Podenv.Dhall

Show Application Source # 
Instance details

Defined in Podenv.Dhall

Generic Application Source # 
Instance details

Defined in Podenv.Dhall

Associated Types

type Rep Application :: Type -> Type #

FromDhall Application Source # 
Instance details

Defined in Podenv.Dhall

ToDhall Application Source # 
Instance details

Defined in Podenv.Dhall

type Rep Application Source # 
Instance details

Defined in Podenv.Dhall

data Capabilities Source #

Generate Haskell Types from Dhall Types. See: https://hackage.haskell.org/package/dhall-1.39.0/docs/Dhall-TH.html

Constructors

Capabilities 

Fields

Instances

Instances details
Eq Capabilities Source # 
Instance details

Defined in Podenv.Dhall

Show Capabilities Source # 
Instance details

Defined in Podenv.Dhall

Generic Capabilities Source # 
Instance details

Defined in Podenv.Dhall

Associated Types

type Rep Capabilities :: Type -> Type #

FromDhall Capabilities Source # 
Instance details

Defined in Podenv.Dhall

ToDhall Capabilities Source # 
Instance details

Defined in Podenv.Dhall

type Rep Capabilities Source # 
Instance details

Defined in Podenv.Dhall

type Rep Capabilities = D1 ('MetaData "Capabilities" "Podenv.Dhall" "podenv-0.2.0-GMVgYA7PotzCmdpDoQGwpS" 'False) (C1 ('MetaCons "Capabilities" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "alsa") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "cwd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "dbus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "dri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "gpg") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "hostfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "interactive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "kvm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "network") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "pipewire") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))) :*: (((S1 ('MetaSel ('Just "privileged") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "pulseaudio") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "root") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "rw") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "ssh") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "terminal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "tun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "video") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "wayland") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "x11") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))))))

Import

decodeExpr :: DhallExpr -> Config Source #

Pure config load

select :: Config -> [Text] -> Either Text ([Text], Application) Source #

Select the application, returning the unused cli args.

Context

Runtime

data RuntimeEnv Source #

Constructors

RuntimeEnv 

Fields

Instances

Instances details
Show RuntimeEnv Source # 
Instance details

Defined in Podenv.Runtime

getPodmanPodStatus :: MonadIO m => Name -> m PodmanStatus Source #