pub struct SkyLaunchTask {
pub cluster_name: String,
pub task_yaml: String,
pub cloud: Option<String>,
pub region: Option<String>,
}Expand description
Launch a SkyPilot cluster.
Fields§
§cluster_name: String§task_yaml: String§cloud: Option<String>§region: Option<String>Trait Implementations§
Source§impl DagTask for SkyLaunchTask
impl DagTask for SkyLaunchTask
Source§fn execute(&self, ctx: &DagContext) -> TaskOutcome
fn execute(&self, ctx: &DagContext) -> TaskOutcome
Execute this task.
Source§fn resource_tag(&self) -> Option<&str>
fn resource_tag(&self) -> Option<&str>
Optional resource tag for worker pool slot management.
Tasks with a resource tag require a matching slot in the pool.
Auto Trait Implementations§
impl Freeze for SkyLaunchTask
impl RefUnwindSafe for SkyLaunchTask
impl Send for SkyLaunchTask
impl Sync for SkyLaunchTask
impl Unpin for SkyLaunchTask
impl UnsafeUnpin for SkyLaunchTask
impl UnwindSafe for SkyLaunchTask
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