Files
tkmind_go/crates/goose/src/agents/container.rs
T
Jack Amadeo 3fcf022236 Add option to run extensions in a container (#6590)
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-27 16:30:51 -05:00

16 lines
272 B
Rust

#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Container {
/// The Docker container ID
id: String,
}
impl Container {
pub fn new(id: impl Into<String>) -> Self {
Self { id: id.into() }
}
pub fn id(&self) -> &str {
&self.id
}
}