Skip to content

Commit

Permalink
chore: removes unneeded Docker initialization functions
Browse files Browse the repository at this point in the history
  • Loading branch information
claymcleod committed Dec 4, 2024
1 parent 1e80a61 commit 8de534f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions crankshaft-engine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,6 @@ impl Engine {
Ok(self)
}

// /// Adds a _default_ Docker backend to a [`Engine`] with the provided
// /// [`Config`](DockerConfig).
// pub async fn with_default_docker(self, config: DockerConfig) -> Result<Self>
// { let backend = docker::Backend::initialize_default_with(config)?;
// Ok(self.with(backend.default_name(), backend))
// }

// /// Adds a _default_ Docker backend to a [`Engine`] with the default
// /// [`Config`](DockerConfig).
// pub fn with_default_docker_and_config(self) -> Result<Self> {
// let backend = docker::Backend::initialize_default()?;
// Ok(self.with(backend.default_name(), backend))
// }

/// Gets the names of the runners.
pub fn runners(&self) -> impl Iterator<Item = &str> {
self.runners.keys().map(|key| key.as_ref())
Expand Down

0 comments on commit 8de534f

Please sign in to comment.