idmtools_platform_comps.ssmt_work_items.work_order module¶
-
class
idmtools_platform_comps.ssmt_work_items.work_order.
IWorkOrder
(WorkItem_Type: str)¶ Bases:
abc.ABC
-
WorkItem_Type
: str¶
-
-
class
idmtools_platform_comps.ssmt_work_items.work_order.
ExecutionDefinition
(Command: str, ImageName: str = 'DockerWorker')¶ Bases:
object
-
Command
: str¶
-
ImageName
: str = 'DockerWorker'¶
-
-
class
idmtools_platform_comps.ssmt_work_items.work_order.
DockerWorkOrder
(WorkItem_Type: str = 'DockerWorker', Execution: idmtools_platform_comps.ssmt_work_items.work_order.ExecutionDefinition = <factory>)¶ Bases:
idmtools_platform_comps.ssmt_work_items.work_order.IWorkOrder
-
WorkItem_Type
: str = 'DockerWorker'¶
-
-
class
idmtools_platform_comps.ssmt_work_items.work_order.
BuildFlags
(section: List[str] = <factory>, library: str = 'https://library.sylabs.io', Switches: List[ForwardRef('str')] = <factory>)¶ Bases:
object
-
section
: List[str]¶
-
library
: str = 'https://library.sylabs.io'¶
-
Switches
: List[str]¶
-
-
class
idmtools_platform_comps.ssmt_work_items.work_order.
BuildDefinition
(Type: str = 'singularity', Input: str = None, Flags: idmtools_platform_comps.ssmt_work_items.work_order.BuildFlags = <factory>)¶ Bases:
object
-
Type
: str = 'singularity'¶
-
Input
: str = None¶
-
-
class
idmtools_platform_comps.ssmt_work_items.work_order.
ImageBuilderWorkOrder
(WorkItem_Type: str = 'ImageBuilderWorker', Build: str = BuildDefinition(Type='singularity', Input=None, Flags=BuildFlags(section=['all'], library='https://library.sylabs.io', Switches=[])), Output: str = 'image.sif', Tags: Dict[str, str] = <factory>, AdditionalMounts: List[str] = <factory>, StaticEnvironment: Dict[str, str] = <factory>)¶ Bases:
idmtools_platform_comps.ssmt_work_items.work_order.IWorkOrder
-
WorkItem_Type
: str = 'ImageBuilderWorker'¶
-
Build
: str = BuildDefinition(Type='singularity', Input=None, Flags=BuildFlags(section=['all'], library='https://library.sylabs.io', Switches=[]))¶
-
Output
: str = 'image.sif'¶
-
Tags
: Dict[str, str]¶
-
AdditionalMounts
: List[str]¶
-
StaticEnvironment
: Dict[str, str]¶
-