operating_system
Classes¶
OSRuntimeEnvironment
¶
Bases: RuntimeEnvironment
Manages information about the OS this kiara instance is running in.
TODO: details for other OS's (mainly BSDs)¶
Source code in kiara/models/runtime_environment/operating_system.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
|
Attributes¶
environment_type: typing.Literal['operating_system']
class-attribute
¶
operation_system: str = Field(description='The operation system name.')
class-attribute
¶
platform: str = Field(description='The platform name.')
class-attribute
¶
release: str = Field(description='The platform release name.')
class-attribute
¶
version: str = Field(description='The platform version name.')
class-attribute
¶
machine: str = Field(description='The architecture.')
class-attribute
¶
os_specific: typing.Dict[str, typing.Any] = Field(description='OS specific platform metadata.', default_factory=dict)
class-attribute
¶
Functions¶
retrieve_environment_data() -> typing.Dict[str, typing.Any]
classmethod
¶
Source code in kiara/models/runtime_environment/operating_system.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
|