Creates a new bucket.
The settings to use for the new bucket.
Optional
options: CreateBucketOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
Drops an existing bucket.
The name of the bucket to drop.
Optional
options: DropBucketOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
Flushes the bucket, deleting all the existing data that is stored in it.
The name of the bucket to flush.
Optional
options: FlushBucketOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
Returns a list of existing buckets in the cluster.
Optional
options: GetAllBucketsOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<BucketSettings[]>A node-style callback to be invoked after execution.
Fetches the settings in use for a specified bucket.
The name of the bucket to fetch settings for.
Optional
options: GetBucketOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<BucketSettings>A node-style callback to be invoked after execution.
Updates the settings for an existing bucket.
The new settings to use for the bucket.
Optional
options: UpdateBucketOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
BucketManager provides an interface for adding/removing/updating buckets within the cluster.