nodepool/nodepool/driver/openshiftpods
James E. Blair 63f38dfd6c Support threadless deletes
The launcher implements deletes using threads, and unlike with
launches, does not give drivers an opportunity to override that
and handle them without threads (as we want to do in the state
machine driver).

To correct this, we move the NodeDeleter class from the launcher
to driver utils, and add a new driver Provider method that returns
the NodeDeleter thread.  This is added in the base Provider class
so all drivers get this behavior by default.

In the state machine driver, we override the method so that instead
of returning a thread, we start a state machine and add it to a list
of state machines that our internal state machine runner thread
should drive.

Change-Id: Iddb7ed23c741824b5727fe2d89c9ddbfc01cd7d7
2021-03-21 14:39:01 -07:00
..
__init__.py Bump openshift dep 2021-01-11 17:26:31 +01:00
config.py Add shell-type config 2021-03-05 15:14:29 +01:00
handler.py Add shell-type config 2021-03-05 15:14:29 +01:00
provider.py Support threadless deletes 2021-03-21 14:39:01 -07:00