pub struct SkyExecTask {
pub cluster_name: String,
pub command: String,
}Expand description
Execute a command on a SkyPilot cluster.
Fields§
§cluster_name: String§command: StringTrait Implementations§
Source§impl DagTask for SkyExecTask
impl DagTask for SkyExecTask
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 SkyExecTask
impl RefUnwindSafe for SkyExecTask
impl Send for SkyExecTask
impl Sync for SkyExecTask
impl Unpin for SkyExecTask
impl UnsafeUnpin for SkyExecTask
impl UnwindSafe for SkyExecTask
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