keystone.Storage适配器谷歌云存储

是否有一个谷歌云存储适配器keystone.Storage库?

我想承载一切我可以与一个服务提供商。 我将使用谷歌云平台来托pipe我的Keystone.js应用程序和MongoDB数据库。

该库有本地文件,S3和Azure适配器,但我不知道如何使用它与谷歌云存储。

请参阅https://github.com/keystonejs/keystone/tree/master/lib/storage

如果可以像keystone-storage-adapter-s3一样使用,我会很棒:

configuration:

var storage = new keystone.Storage({ adapter: require('keystone-storage-adapter-gcloud'), s3: { key: 'gcloud-key', secret: 'secret', bucket: 'mybucket', path: '/profilepics', headers: {}, }, schema: { bucket: true, etag: true, path: true, url: true, }, }); 

然后用它作为File域的存储提供者:

 File.add({ name: { type: String }, file: { type: Types.File, storage: storage }, });