class documentation
class OS(ConfigObject):
Config object representing an operating system.
| Class Method | |
Returns the proper name of the os (without the variant). |
| Class Method | |
Returns the variant the os (without the base name). |
| Class Method | |
Splits the name into the proper name and variant. |
| Method | |
Returns whether this OS is trusted. |
| Constant | VARIANT |
the variant delimiter |
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | supported |
a list of tuples, name and description, containing the supported parameters by this OS |
Inherited from ConfigObject:
| Class Method | |
Create an object from a dictionary. |
| Method | __getattr__ |
Undocumented |
| Method | __repr__ |
Implement __repr__ for ConfigObjects. |
| Method | __setstate__ |
Undocumented |
| Method | |
Makes a deep copy of the current object and its children. |
| Method | |
Convert to a dict holding only standard python types. |
| Method | |
Fill defaults for missing configuration values. |
| Method | |
Validates the slots. |
Inherited from ValidatedSlots (via ConfigObject):
| Class Method | |
Compute the list of all declared slots for a class. |
| Method | __init__ |
Constructor for BaseOpCode. |
Splits the name into the proper name and variant.
| Parameters | |
| name | the OS (unprocessed) name |
| Returns | |
| list | a list of two elements; if the original name didn't contain a variant, it's returned as an empty string |
supported_parameters: list =
¶
a list of tuples, name and description, containing the supported parameters by this OS