You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2023/09/21 08:30:05 UTC

[GitHub] [incubator-opendal] Xuanwo opened a new issue, #3152: idea: Expose services options so that users can working on struct directly?

Xuanwo opened a new issue, #3152:
URL: https://github.com/apache/incubator-opendal/issues/3152

   Many users have code like the following:
   
   ```rust
   pub enum StorageParams {
       Azblob(StorageAzblobConfig),
       Fs(StorageFsConfig),
       Ftp(StorageFtpConfig),
       Gcs(StorageGcsConfig),
       Hdfs(StorageHdfsConfig),
       Http(StorageHttpConfig),
       Ipfs(StorageIpfsConfig),
       Memory,
       Moka(StorageMokaConfig),
       Obs(StorageObsConfig),
       Oss(StorageOssConfig),
       S3(StorageS3Config),
       Redis(StorageRedisConfig),
       Webhdfs(StorageWebhdfsConfig),
       Cos(StorageCosConfig),
   
       /// None means this storage type is none.
       ///
       /// This type is mostly for cache which mean bypass the cache logic.
       None,
   }
   ```
   
   Maybe we can expose those config directly from opendal so that they don't need to repeat.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] idea: Expose services options so that users can working on struct directly? [incubator-opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo closed issue #3152: idea: Expose services options so that users can working on struct directly?
URL: https://github.com/apache/incubator-opendal/issues/3152


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org