(authenticate cluster username password)
Authenticate with the bucket password, note: the password parameter on the c/bucket-open no longer works and you will get the exception MixedAuthenticationException Mixed mode authentication not allowed, use Bucket credentials, User credentials (rbac) or Certificate auth
Authenticate with the bucket password, note: the password parameter on the c/bucket-open no longer works and you will get the exception MixedAuthenticationException Mixed mode authentication not allowed, use Bucket credentials, User credentials (rbac) or Certificate auth
(buckets cluster-manager)
(buckets
cluster
{:keys [username password] :as credentials :or {username "" password ""}})
Giving a cluster manager returns all the bucket settings from the cluster
Giving a cluster manager returns all the bucket settings from the cluster
(create)
(create string)
Create and sets the cluster/s with a vector or a string, if no params passed it uses default url (172.0.0.1)
Create and sets the cluster/s with a vector or a string, if no params passed it uses default url (172.0.0.1)
(create-bucket-settings {:keys [name type quota port password replicas
index-replicas flush?]})
Create a bucket settings object for insert
Create a bucket settings object for insert
(insert-bucket! cluster-manager bucket-settings)
(insert-bucket! cluster-manager bucket-settings time time-type)
Creates a new bucket in the cluster giving a bucket settings
Creates a new bucket in the cluster giving a bucket settings
(manager cluster {username :username password :password})
Returns a cluster manager giving a cluster and credentials
Returns a cluster manager giving a cluster and credentials
(open-bucket cluster bucket-name)
(open-bucket cluster bucket-name time time-type)
Open a bucket from a the cluster
Open a bucket from a the cluster
(remove-bucket! cluster-manager bucket-name)
(remove-bucket! cluster-manager bucket-name time time-type)
Creates a new bucket in the cluster giving a bucket settings
Creates a new bucket in the cluster giving a bucket settings
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close