this is the processor to run after docker machine is up to grab the log files or do other needed process...
| 5 | |
| 6 | |
| 7 | class ModuleProcessor: |
| 8 | """ |
| 9 | this is the processor to run after docker machine is up to grab the log |
| 10 | files or do other needed process... |
| 11 | """ |
| 12 | def __init__(self): |
| 13 | self.kill_flag = False |
| 14 | |
| 15 | def processor(self): |
| 16 | """ |
| 17 | processor function will be called as a new thread and will be die when |
| 18 | kill_flag is True |
| 19 | :return: |
| 20 | """ |
| 21 | while not self.kill_flag: |
| 22 | time.sleep(0.1) |
| 23 | |
| 24 | |
| 25 | def module_configuration(): |
no outgoing calls
no test coverage detected