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
24 lines (14 loc) • 412 B
JavaScript
const PkgCloudHerd = require('./PkgCloudHerd.js');
class HpHerd extends PkgCloudHerd {
constructor(credentials) {
super(credentials);
this.cloud = require('pkgcloud').storage.createClient({
provider: 'hp',
username: credentials.username,
apiKey: credentials.apiKey,
region: credentials.region,
authUrl: credentials.authUrl,
});
}
}
module.exports = HpHerd;