Beispiel #1
0
 def __init__(self, module_type, unit_names, event_handlers,
              update_process_list):
     self._module_type = module_type
     self._unit_names = unit_names
     self._event_handlers = event_handlers
     self._update_process_list = update_process_list
     self._process_info_cache = cpm.ProcessInfoCache()
     self._client = docker.from_env()
 def __init__(self, event_handlers):
     self._event_handlers = event_handlers
     self._process_info_cache = cpm.ProcessInfoCache()