Platform Class Reference
Last updated: 29-Aug-2025
Public Member Functions |
|
| def | __init__ (self, name) |
| bool | is_vos1 (self) |
| bool | is_vos2 (self) |
| bool | is_vos3 (self) |
| bool | is_vaos (self) |
| def | get_signature_names (self, base_name) |
| Creates list of names using base_name + signature extensions. More... |
|
| def | get_signature_strindex (self, name) |
| def | get_signed_node_name (self, sig_name) |
| Get signed node name from signature name. More... |
|
| def | get_mode (self) |
| def | user_is_valid (self, user) |
| def | user_type (self, user) |
| def | can_remove (self, user, user_to_remove) |
Static Public Member Functions |
|
| def | get (str name) |
| Retrieve platform instance by name. More... |
|
Static Public Attributes |
|
| list | ALL = [PLATFORM_VOS1, PLATFORM_VOS2, PLATFORM_VOS3, PLATFORM_VAOS] |
| list | UI_SUPPORTED = [PLATFORM_VOS1, PLATFORM_VOS2, PLATFORM_VOS3] |
| list | MODES = [MODE_OSDEV, MODE_APPDEV, MODE_PROD] |
Constructor & Destructor Documentation
◆ __init__()
| def __init__ | ( | self, | |
| name | |||
| ) |
Member Function Documentation
◆ can_remove()
| def can_remove | ( | self, | |
| user, | |||
| user_to_remove | |||
| ) |
◆ get()
|
static |
Retrieve platform instance by name.
- Parameters
-
name name of platform (one of PLATFORM_XXX)
- Returns
- Platform instance
◆ get_mode()
| def get_mode | ( | self | ) |
◆ get_signature_names()
| def get_signature_names | ( | self, | |
| base_name | |||
| ) |
Creates list of names using base_name + signature extensions.
- Returns
- list of signature names
◆ get_signature_strindex()
| def get_signature_strindex | ( | self, | |
| name | |||
| ) |
◆ get_signed_node_name()
| def get_signed_node_name | ( | self, | |
| sig_name | |||
| ) |
Get signed node name from signature name.
- Returns
- signed node name
◆ is_vaos()
| bool is_vaos | ( | self | ) |
◆ is_vos1()
| bool is_vos1 | ( | self | ) |
◆ is_vos2()
| bool is_vos2 | ( | self | ) |
◆ is_vos3()
| bool is_vos3 | ( | self | ) |
◆ user_is_valid()
| def user_is_valid | ( | self, | |
| user | |||
| ) |
◆ user_type()
| def user_type | ( | self, | |
| user | |||
| ) |
Field Documentation
◆ ALL
|
static |
◆ blacklist_optim
| blacklist_optim |
◆ collapse_fixed_issues
| collapse_fixed_issues |
◆ dlfile_compressed
| dlfile_compressed |
◆ filelist_optim
| filelist_optim |
◆ mode
| mode |
◆ MODES
|
static |
◆ name
| name |
◆ naming
| naming |
◆ order_optim
| order_optim |
◆ package_compressed
| package_compressed |
◆ sig_ext
| sig_ext |
◆ signature_count
| signature_count |
◆ UI_SUPPORTED
|
static |
◆ vfi_internal
| vfi_internal |
◆ vfi_nocheck
| vfi_nocheck |
◆ vfi_noumask
| vfi_noumask |
◆ vhq_force_info
| vhq_force_info |
◆ windows_force_permissions
| windows_force_permissions |
The documentation for this class was generated from the following file:
- packman/packmanlib/platform.py
Rate this article: