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 :: (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-2.1.0-RZRDTT94jm9r60J5nt33" 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
data SharedDirectory Source #
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 :: (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 :: (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-2.1.0-RZRDTT94jm9r60J5nt33" 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)) |