Creates a new bucket.
The settings to use for the new bucket.
Optionaloptions: CreateBucketOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<void>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Drops an existing bucket.
The name of the bucket to drop.
Optionaloptions: DropBucketOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<void>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Flushes the bucket, deleting all the existing data that is stored in it.
The name of the bucket to flush.
Optionaloptions: FlushBucketOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<void>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Returns a list of existing buckets in the cluster.
Optionaloptions: GetAllBucketsOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<BucketSettings[]>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Fetches the settings in use for a specified bucket.
The name of the bucket to fetch settings for.
Optionaloptions: GetBucketOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<BucketSettings>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Updates the settings for an existing bucket.
The new settings to use for the bucket. Only name is
required; any setting which is omitted is left unchanged.
Optionaloptions: UpdateBucketOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<void>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
BucketManager provides an interface for adding/removing/updating buckets within the cluster.