Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/uaclient/entitlements/__pycache__/ |
Upload File : |
o F��c� � @ s d dl Z d dlmZ d dlmZ e jG dd� de j��Ze jG dd� de j��Ze jG dd � d e j��Z e jG d d� de j��Z e jG dd � d e j��Ze jG dd� de j��Ze jG dd� de j��Z G dd� d�Ze jG dd� de j��ZG dd� d�ZdS )� N)�Optional)�messagesc @ � e Zd ZdZe� Ze� ZdS )�ApplicationStatuszO An enum to represent the current application status of an entitlement N)�__name__� __module__�__qualname__�__doc__�object�ENABLED�DISABLED� r r �J/usr/lib/python3/dist-packages/uaclient/entitlements/entitlement_status.pyr � r c @ � e Zd ZdZdZdZdS )�ContractStatusz� An enum to represent whether a user is entitled to an entitlement (The value of each member is the string that will be used in status output.) �yes�noN)r r r r �ENTITLED� UNENTITLEDr r r r r s r c @ r )�ApplicabilityStatuszQ An enum to represent whether an entitlement could apply to this machine N)r r r r r � APPLICABLE�INAPPLICABLEr r r r r r r c @ r )�UserFacingAvailabilitya� An enum representing whether a service could be available for a machine. 'Availability' means whether a service is available to machines with this architecture, series and kernel. Whether a contract is entitled to use the specific service is determined by the contract level. This enum should only be used in display code, it should not be used in business logic. r r N)r r r r � AVAILABLE�UNAVAILABLEr r r r r ( s r c @ s e Zd ZdZdZdZdZdS )�UserFacingConfigStatusz� An enum representing the user-visible config status of Pro system. This enum will be used in display code and will be written to status.json �inactive�activezreboot-requiredN)r r r r �INACTIVE�ACTIVE�REBOOTREQUIREDr r r r r 9 s r c @ s e Zd ZdZdZdZdZdZdS )�UserFacingStatusz� An enum representing the states we will display in status output. This enum should only be used in display code, it should not be used in business logic. �enabled�disabledzn/au —N)r r r r r r r r r r r r r"