selectel-cloudstorage
v0.1.0
Published
Client for selectel cloud storage
Downloads
2
Readme
selectel-cloudstorage
Usage
Create client object
var SelectelCloudStorage = require('selectel-cloudstorage');
storage = new SelectelCloudStorage({
user: <selectel_user_login>
pass: <selectel_user_password>
});
storage.selfAuth(function(err){
});
Storage autentification
storage.selfAuth(function(err){});
Get storage info
storage.getStorageInfo(function(err, info){
info = {
bytesUsed
containersCount
objectsCount
}
});
Get storage containet list
getContainerList(function(err, containers))