MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / __init__

Method __init__

class/btdockerModel/dockerBase.py:19–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17class dockerBase(object):
18
19 def __init__(self):
20 self._db_path = "/www/server/panel/data/db/docker.db"
21 self._backup_log = '/tmp/backup.log'
22 self._log_path = '/tmp/dockertmp.log'
23 self._rCmd_log = '/tmp/dockerRun.log'
24 self._url = "unix:///var/run/docker.sock"
25 self.compose_path = "{}/data/compose".format(public.get_panel_path())
26 self.aes_key = "btdockerModel_QWERAS"
27 self.moinitor_lock = "/tmp/bt_docker_monitor.lock"
28
29 def get_ws_log(self, get):
30 """

Callers

nothing calls this directly

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected