Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Blob Storage support #44

Open
ethe opened this issue Oct 3, 2024 · 1 comment
Open

Azure Blob Storage support #44

ethe opened this issue Oct 3, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ethe
Copy link
Member

ethe commented Oct 3, 2024

In the current, fusio does not support Azure, we could implement traits for Azure, refer to fusio::impls::remotes::aws and object_store::azure

@ethe ethe added enhancement New feature or request good first issue Good for newcomers labels Oct 3, 2024
@Xuanwo
Copy link
Contributor

Xuanwo commented Nov 2, 2024

The following pseudocode should work:

use opendal::Operator;
use opendal::services::Azblob;
use fusio_opendal::OpendalFs;

async fn main() -> {
	let op = Operator::new(Azblob::default().bucket("test"))?.finish();
	let ofs = OpendalFs::from(op);

    // Now, use ofs as fusio::Fs!
    let f = ofs.open("path", OpenOptions::default()).await?;
    ...
}

Maybe we can add in docs somewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants