Liking cljdoc? Tell your friends :D

earthen.clj-cb.cluster


authenticateclj

(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
sourceraw docstring

bucketsclj

(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
sourceraw docstring

createclj

(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)
sourceraw docstring

create-bucket-settingsclj

(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
sourceraw docstring

disconnectclj

(disconnect cluster)
(disconnect cluster timeout type)
source

insert-bucket!clj

(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
sourceraw docstring

managerclj

(manager cluster {username :username password :password})

Returns a cluster manager giving a cluster and credentials

Returns a cluster manager giving a cluster and credentials
sourceraw docstring

open-bucketclj

(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
sourceraw docstring

remove-bucket!clj

(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
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close