Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data types describing the execution environment
of virtual machine builds.
ExecEnv
, Resources
and SharedDirectory
describe how
B9.LibVirtLXC should configure and execute
build scripts, as defined in B9.ShellScript and B9.Vm.
Synopsis
- data ExecEnv = ExecEnv {}
- data Resources = Resources {}
- noResources :: Resources
- data SharedDirectory
- data CPUArch
- data RamSize
Documentation
The environment for the execution of Script
s inside a Container
ExecEnv | |
|
Instances
Eq ExecEnv Source # | |
Data ExecEnv Source # | |
Defined in B9.ExecEnv gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExecEnv -> c ExecEnv # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExecEnv # toConstr :: ExecEnv -> Constr # dataTypeOf :: ExecEnv -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ExecEnv) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExecEnv) # gmapT :: (forall b. Data b => b -> b) -> ExecEnv -> ExecEnv # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExecEnv -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExecEnv -> r # gmapQ :: (forall d. Data d => d -> u) -> ExecEnv -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ExecEnv -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExecEnv -> m ExecEnv # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExecEnv -> m ExecEnv # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExecEnv -> m ExecEnv # | |
Read ExecEnv Source # | |
Show ExecEnv Source # | |
Generic ExecEnv Source # | |
Hashable ExecEnv Source # | |
Defined in B9.ExecEnv | |
Binary ExecEnv Source # | |
NFData ExecEnv Source # | |
Defined in B9.ExecEnv | |
type Rep ExecEnv Source # | |
Defined in B9.ExecEnv type Rep ExecEnv = D1 ('MetaData "ExecEnv" "B9.ExecEnv" "b9-3.2.3-3sZk3wiMlOE9ANxPzA3rTw" 'False) (C1 ('MetaCons "ExecEnv" 'PrefixI 'True) ((S1 ('MetaSel ('Just "envName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "envImageMounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Mounted Image])) :*: (S1 ('MetaSel ('Just "envSharedDirectories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SharedDirectory]) :*: S1 ('MetaSel ('Just "envResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Resources)))) |
Instances
Eq Resources Source # | |
Data Resources Source # | |
Defined in B9.ExecEnv gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Resources -> c Resources # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Resources # toConstr :: Resources -> Constr # dataTypeOf :: Resources -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Resources) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Resources) # gmapT :: (forall b. Data b => b -> b) -> Resources -> Resources # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Resources -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Resources -> r # gmapQ :: (forall d. Data d => d -> u) -> Resources -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Resources -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Resources -> m Resources # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Resources -> m Resources # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Resources -> m Resources # | |
Read Resources Source # | |
Show Resources Source # | |
Generic Resources Source # | |
Semigroup Resources Source # | |
Monoid Resources Source # | |
Hashable Resources Source # | |
Defined in B9.ExecEnv | |
Binary Resources Source # | |
NFData Resources Source # | |
Defined in B9.ExecEnv | |
type Rep Resources Source # | |
Defined in B9.ExecEnv type Rep Resources = D1 ('MetaData "Resources" "B9.ExecEnv" "b9-3.2.3-3sZk3wiMlOE9ANxPzA3rTw" 'False) (C1 ('MetaCons "Resources" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxMemory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RamSize) :*: (S1 ('MetaSel ('Just "cpuCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "cpuArch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CPUArch)))) |
data SharedDirectory Source #
Instances
Instances
Eq CPUArch Source # | |
Data CPUArch Source # | |
Defined in B9.ExecEnv gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CPUArch -> c CPUArch # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CPUArch # toConstr :: CPUArch -> Constr # dataTypeOf :: CPUArch -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CPUArch) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CPUArch) # gmapT :: (forall b. Data b => b -> b) -> CPUArch -> CPUArch # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CPUArch -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CPUArch -> r # gmapQ :: (forall d. Data d => d -> u) -> CPUArch -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CPUArch -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CPUArch -> m CPUArch # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CPUArch -> m CPUArch # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CPUArch -> m CPUArch # | |
Read CPUArch Source # | |
Show CPUArch Source # | |
Generic CPUArch Source # | |
Semigroup CPUArch Source # | |
Monoid CPUArch Source # | |
Hashable CPUArch Source # | |
Defined in B9.ExecEnv | |
Binary CPUArch Source # | |
NFData CPUArch Source # | |
Defined in B9.ExecEnv | |
type Rep CPUArch Source # | |
Instances
Eq RamSize Source # | |
Data RamSize Source # | |
Defined in B9.ExecEnv gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RamSize -> c RamSize # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RamSize # toConstr :: RamSize -> Constr # dataTypeOf :: RamSize -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RamSize) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RamSize) # gmapT :: (forall b. Data b => b -> b) -> RamSize -> RamSize # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RamSize -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RamSize -> r # gmapQ :: (forall d. Data d => d -> u) -> RamSize -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> RamSize -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> RamSize -> m RamSize # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RamSize -> m RamSize # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RamSize -> m RamSize # | |
Ord RamSize Source # | |
Read RamSize Source # | |
Show RamSize Source # | |
Generic RamSize Source # | |
Semigroup RamSize Source # | |
Monoid RamSize Source # | |
Hashable RamSize Source # | |
Defined in B9.ExecEnv | |
Binary RamSize Source # | |
NFData RamSize Source # | |
Defined in B9.ExecEnv | |
type Rep RamSize Source # | |
Defined in B9.ExecEnv type Rep RamSize = D1 ('MetaData "RamSize" "B9.ExecEnv" "b9-3.2.3-3sZk3wiMlOE9ANxPzA3rTw" 'False) (C1 ('MetaCons "RamSize" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SizeUnit)) :+: C1 ('MetaCons "AutomaticRamSize" 'PrefixI 'False) (U1 :: Type -> Type)) |