-
Notifications
You must be signed in to change notification settings - Fork 6
Minimum Orchestrator trait #18
Copy link
Copy link
Closed
Milestone
Description
enum ImageKind {
Published(String),
Tarball(PathBuf),
}
trait Orchestrator {
fn start(&self, pod_job: &PodJob) -> Result<PodRun>;
fn start_with_altimage(&self, pod_job: &PodJob, image: &ImageKind) -> Result<PodRun>;
fn list(&self) -> Result<Vec<PodRun>>;
fn delete(&self, pod_run: &PodRun) -> Result<()>;
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels