Fork me on GitHub

Class provider.aws.blob.Container


Extends base.blob.Container.

Defined in: container.js.

Class Summary
Constructor Attributes Constructor Name and Description
 

Container class.

Fields borrowed from class base.blob.Container:
connection, name
Method Summary
Method Attributes Method Name and Description
 
del(options)
 
get(options)

GET Container from cloud.

 
getBlobs(options)
Methods borrowed from class base.blob.Container:
delBlob, getBlob, getBlobToFile, headBlob, put, putBlob, putBlobFromFile
Events borrowed from class base.blob.Container:
del_end, del_error, get_end, get_error, getBlobs_end, getBlobs_error
Class Detail
provider.aws.blob.Container(conn, attrs)

Container class.

Parameters:
{base.Connection} conn
Connection object.
{Object} attrs
Attributes.
{string} attrs.name
Name.
{string} attrs.created
Creation date.
Method Detail
del(options)
Parameters:
options
See:
base.blob.Container#del

get(options)

GET Container from cloud.

Note: AWS cannot tell if the container already exists on a PUT, so alreadyCreated result is always false. Google Storage can.

Parameters:
options
See:
base.blob.Container#get

getBlobs(options)
Parameters:
options
See:
base.blob.Container#getBlobs