GCEStorage

GCEStorage

GCE storage backend. Accepts all options from GCE Storage library See https://googleapis.dev/nodejs/storage/latest/global.html#StorageOptions

Constructor

new GCEStorage(options)

Source:
Implements:
Parameters:
Name Type Description
options Object
Properties
Name Type Description
bucketName string

Name of GCE Storage bucket

location string

GCE storage location

storageClass string

GCE storage class

projectId string
keyFilename string
email string
credentials string
autoRetry string
maxRetries string
readOnly boolean

Storage open mode

Members

name

Source:
Implements:

Storage implementation name @method

Methods

(async) fileExists()

Source:
Implements:

Check file existance @method

(async) readDir()

Source:
Implements:

(async) readFile()

Source:
Implements:

(async) rmFile()

Source:
Implements:

(async) start()

Source:
Implements:

Start storage @method

(async) stop()

Source:
Implements:

Start stop storage @method

(async) touchDir()

Source:
Implements:

(async) writeFile()

Source:
Implements: