mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
manager using credentials (#11078)
Added overload to manager() to connect cluster using credentials (username/password)
This commit is contained in:
committed by
Masahiro Wakame
parent
4f1cd4f385
commit
88ae500371
Vendored
+8
@@ -159,6 +159,14 @@ declare module 'couchbase' {
|
||||
* Creates a manager allowing the management of a Couchbase cluster.
|
||||
*/
|
||||
manager(): ClusterManager;
|
||||
|
||||
|
||||
/**
|
||||
* Creates a manager allowing the management of a Couchbase cluster using credentials.
|
||||
* @param username The username for your cluster.
|
||||
* @param password The password for your cluster.
|
||||
*/
|
||||
manager(username: string, password: string): ClusterManager;
|
||||
|
||||
/**
|
||||
* Open a bucket to perform operations. This will begin the handshake process immediately and operations will complete later. Subscribe to the connect event to be alerted when the connection is ready, though be aware operations can be successfully queued before this.
|
||||
|
||||
Reference in New Issue
Block a user