Skip to content

Java – 2.Resources Reference

Pedro Rodrigues edited this page Feb 18, 2024 · 1 revision

Storage

StorageQf

Package: quickfaas.resources.storage.StorageQf

Modifier & Type Method & Description
static BucketQf
newBucket(String bucketName)
Returns a reference to a new object of type BucketQf.

BucketQf

Package: quickfaas.resources.storage.BucketQf

Modifier & Type Method & Description
void
createBlob(String blobName, byte[] content, String contentType)
Creates a new blob in the referenced bucket.
byte[]
readBlob(String blobName)
Returns all the bytes of a blob contained in the referenced bucket.
List<String>
listBlobs()
Retrieves a list of blobs contained in the referenced bucket.