CouchbaseClusterManager

Class exposing the various available management operations that can be performed on a cluster.

package

Couchbase

Methods

Lists all buckets on this cluster.

listBuckets() : mixed

Response

mixed

Creates a new bucket on this cluster.

createBucket(string $name, array $opts = array()) : mixed

Arguments

$name

string

The bucket name.

$opts

array

The options for this bucket.

Response

mixed

Deletes a bucket from the cluster.

removeBucket(string $name) : mixed

Arguments

$name

string

Response

mixed

Retrieves cluster status information

info() : mixed

Returns an associative array of status information as seen on the cluster. The exact structure of the returned data can be seen in the Couchbase Manual by looking at the cluster /info endpoint.

throws

Response

mixed

The status information.