cloud-shepherd
Version:
An NPM module that abstracts away the complexities of cloud storage services (Object Storage (AWS s3) as well as File Storage(Dropbox) to easily interface between multiple clouds with a unified interface. Also enables you to quickly perform data migration
25 lines (15 loc) • 462 B
JavaScript
const PkgCloudHerd = require('./PkgCloudHerd.js');
class RackspaceHerd extends PkgCloudHerd {
constructor(credentials) {
super(credentials);
this.cloud = require('pkgcloud').storage.createClient({
provider: 'rackspace',
username: credentials.username,
apiKey: credentials.apiKey,
service: credentials.service,
region: credentials.region,
});
console.log(this.cloud);
}
}
module.exports = RackspaceHerd;