pub struct RayFleetConfig {
pub head_address: String,
pub dashboard_port: u16,
pub kubernetes: bool,
pub worker_groups: HashMap<String, RayWorkerGroup>,
}Expand description
Ray fleet configuration.
Fields§
§head_address: StringRay head node (or dashboard address for K8s).
dashboard_port: u16Ray dashboard port.
kubernetes: boolWhether ray is running on K8s (KubeRay) vs bare metal.
worker_groups: HashMap<String, RayWorkerGroup>Worker groups with their node assignments.
Trait Implementations§
Source§impl Clone for RayFleetConfig
impl Clone for RayFleetConfig
Source§fn clone(&self) -> RayFleetConfig
fn clone(&self) -> RayFleetConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RayFleetConfig
impl Debug for RayFleetConfig
Source§impl<'de> Deserialize<'de> for RayFleetConfig
impl<'de> Deserialize<'de> for RayFleetConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RayFleetConfig
impl RefUnwindSafe for RayFleetConfig
impl Send for RayFleetConfig
impl Sync for RayFleetConfig
impl Unpin for RayFleetConfig
impl UnsafeUnpin for RayFleetConfig
impl UnwindSafe for RayFleetConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more