mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2025-08-05 23:23:25 +02:00
Add base sdk
This commit is contained in:
21
src/dagger.rs
Normal file
21
src/dagger.rs
Normal 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 {}
|
||||
}
|
Reference in New Issue
Block a user