13 lines
243 B
Python
Generated
13 lines
243 B
Python
Generated
from enum import Enum
|
|
|
|
|
|
class NodeStatus(str, Enum):
|
|
CONNECTING = "connecting"
|
|
DRAINING = "draining"
|
|
READY = "ready"
|
|
STANDBY = "standby"
|
|
UNHEALTHY = "unhealthy"
|
|
|
|
def __str__(self) -> str:
|
|
return str(self.value)
|