mirror of
https://github.com/wassname/ray.git
synced 2026-08-20 12:40:44 +08:00
[ray_client]: Support runtime_context as metadata (#13428)
This commit is contained in:
@@ -138,6 +138,7 @@ message ClusterInfoType {
|
||||
NODES = 1;
|
||||
CLUSTER_RESOURCES = 2;
|
||||
AVAILABLE_RESOURCES = 3;
|
||||
RUNTIME_CONTEXT = 4;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -149,10 +150,18 @@ message ClusterInfoResponse {
|
||||
message ResourceTable {
|
||||
map<string, double> table = 1;
|
||||
}
|
||||
|
||||
message RuntimeContext {
|
||||
bytes job_id = 1;
|
||||
bytes node_id = 2;
|
||||
bool capture_client_tasks = 3;
|
||||
}
|
||||
|
||||
ClusterInfoType.TypeEnum type = 1;
|
||||
oneof response_type {
|
||||
string json = 2;
|
||||
ResourceTable resource_table = 3;
|
||||
RuntimeContext runtime_context = 4;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user