UNPKG

pkgcloud

Version:

An infrastructure-as-a-service agnostic cloud library for node.js

34 lines (25 loc) 639 B
/* * container.js: Azure container * * (C) Microsoft Open Technologies, Inc. * */ var utile = require('utile'), storage = require('../storage'), base = require('../../core/storage/container'); var Container = exports.Container = function Container(client, details) { base.Container.call(this, client, details); }; utile.inherits(Container, base.Container); Container.prototype._setProperties = function (details) { var self = this; if (typeof details === 'string') { this.name = details; return; } this.name = details.Name; // // Azure specific // this.original = this.azure = details; };