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

Support Google Cloud Storage #80

Open
brancz opened this issue Oct 24, 2024 · 2 comments
Open

Support Google Cloud Storage #80

brancz opened this issue Oct 24, 2024 · 2 comments

Comments

@brancz
Copy link

brancz commented Oct 24, 2024

Currently, only s3 is supported.

@ethe ethe added the enhancement New feature or request label Oct 24, 2024
@Xuanwo
Copy link
Contributor

Xuanwo commented Nov 2, 2024

The following pseudocode should work:

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

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

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

@ethe
Copy link
Member

ethe commented Nov 2, 2024

Yes it is a possible way at the moment, we will support this natively in this month

@ethe ethe removed the enhancement New feature or request label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants