clap.node

Module Contents

Classes

NodeDescriptor

NodeLifecycle

NodeStatus

NodeType

Attributes

logger

class clap.node.NodeDescriptor
cloud_instance_id :Optional[str] =
cloud_lifecycle :Optional[str]
configuration :clap.configs.InstanceInfo
creation_time :Optional[float] = 0.0
extra :Dict[str, Any]
ip :Optional[str] =
nickname :Optional[str] =
node_id :str
roles :List[str]
status :Optional[str]
tags :Dict[str, str]
type :Optional[str]
update_time :Optional[float] = 0.0
class clap.node.NodeLifecycle
NORMAL = normal
PREEMPTIBLE = preemptible
class clap.node.NodeStatus
PAUSED = paused
REACHABLE = reachable
STARTED = started
STOPPED = stopped
UNKNOWN = unknown
UNREACHABLE = unreachable
class clap.node.NodeType
TYPE_CLOUD = cloud
TYPE_LOCAL = local
clap.node.logger