podenv-0.2.0: A container wrapper
Safe HaskellNone
LanguageHaskell2010

Podenv.Context

Description

Runtime Context data types and lenses

Synopsis

Documentation

newtype ImageName Source #

Constructors

ImageName 

Fields

Instances

Instances details
Show ImageName Source # 
Instance details

Defined in Podenv.Context

data RuntimeContext Source #

Instances

Instances details
Show RuntimeContext Source # 
Instance details

Defined in Podenv.Context

data Mode Source #

Constructors

RO 
RW 

Instances

Instances details
Show Mode Source # 
Instance details

Defined in Podenv.Context

Methods

showsPrec :: Int -> Mode -> ShowS #

show :: Mode -> String #

showList :: [Mode] -> ShowS #

data VolumeType Source #

Instances

Instances details
Show VolumeType Source # 
Instance details

Defined in Podenv.Context

data Volume Source #

Constructors

MkVolume Mode VolumeType 

Instances

Instances details
Show Volume Source # 
Instance details

Defined in Podenv.Context

data RunAs Source #

Instances

Instances details
Show RunAs Source # 
Instance details

Defined in Podenv.Context

Methods

showsPrec :: Int -> RunAs -> ShowS #

show :: RunAs -> String #

showList :: [RunAs] -> ShowS #

data Port Source #

Instances

Instances details
Show Port Source # 
Instance details

Defined in Podenv.Context

Methods

showsPrec :: Int -> Port -> ShowS #

show :: Port -> String #

showList :: [Port] -> ShowS #

newtype Name Source #

Constructors

Name 

Fields

Instances

Instances details
Show Name Source # 
Instance details

Defined in Podenv.Context

Methods

showsPrec :: Int -> Name -> ShowS #

show :: Name -> String #

showList :: [Name] -> ShowS #

data Context Source #

The application context to be executed by podman or kubectl

Constructors

Context 

Fields

Instances

Instances details
Show Context Source # 
Instance details

Defined in Podenv.Context

terminal :: Functor f => (Bool -> f Bool) -> Context -> f Context Source #

ro :: Functor f => (Bool -> f Bool) -> Context -> f Context Source #

command :: Functor f => ([Text] -> f [Text]) -> Context -> f Context Source #

uid :: Functor f => (UserID -> f UserID) -> Context -> f Context Source #

selinux :: Functor f => (Bool -> f Bool) -> Context -> f Context Source #

ports :: Functor f => ([Port] -> f [Port]) -> Context -> f Context Source #

network :: Functor f => (Bool -> f Bool) -> Context -> f Context Source #

name :: Functor f => (Name -> f Name) -> Context -> f Context Source #