PATH:
lib
/
python3.6
/
site-packages
/
tuned
class Singleton(object): """ Singleton design pattern. """ _instance = None def __init__(self): if self.__class__ is Singleton: raise TypeError("Cannot instantiate directly.") @classmethod def get_instance(cls): """Get the class instance.""" if cls._instance is None: cls._instance = cls() return cls._instance
[+]
plugins
[+]
units
[-] exceptions.py
[edit]
[+]
monitors
[+]
utils
[+]
ppd
[-] __init__.py
[edit]
[+]
hardware
[+]
..
[+]
admin
[-] patterns.py
[edit]
[+]
profiles
[-] logs.py
[edit]
[+]
storage
[+]
__pycache__
[+]
daemon
[-] consts.py
[edit]
[+]
exports
[-] version.py
[edit]