Move podlifecycle to schemas
-from constants.unknown import UNKNOWN
-
-
class EventTypes(object):
ADDED = 'ADDED'
MODIFIED = 'MODIFIED'
@@ -14,22 +11,3 @@ class PodConditions(object):
SCHEDULED = 'PodScheduled'
VALUES = [READY, INITIALIZED, SCHEDULED]
-
-
-class PodLifeCycle(object):
- CONTAINER_CREATING = 'ContainerCreating'
- PENDING = 'Pending'
- RUNNING = 'Running'
- SUCCEEDED = 'Succeeded'
- FAILED = 'Failed'
- UNKNOWN = UNKNOWN
-
- CHOICES = (
- (RUNNING, RUNNING),
- (PENDING, PENDING),
- (CONTAINER_CREATING, CONTAINER_CREATING),
- (SUCCEEDED, SUCCEEDED),
- (FAILED, FAILED),
- )
-
- DONE_STATUS = [FAILED, SUCCEEDED]
