Skip to content

Minimum Orchestrator trait #18

@eywalker

Description

@eywalker
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<()>;
}

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions