Add base sdk

This commit is contained in:
2023-01-27 08:31:09 +01:00
commit 078e2d9c2c
9 changed files with 1527 additions and 0 deletions

21
src/dagger.rs Normal file
View File

@@ -0,0 +1,21 @@
use std::sync::Arc;
pub fn connect() -> eyre::Result<Client> {
Client::new()
}
struct InnerClient {}
pub struct Client {
inner: Arc<InnerClient>,
}
impl Client {
pub fn new() -> eyre::Result<Self> {
Ok(Self {
inner: Arc::new(InnerClient {}),
})
}
// pub fn container(&self) -> Container {}
}