(get-instance session instance-name)
This function takes a session and an instance name and returns an instance record. If a record isn't found with the provided name, an exception is thrown.
This function takes a session and an instance name and returns an instance record. If a record isn't found with the provided name, an exception is thrown.
(root-create-user! session instance-name user password)
This function creates a user in the Cloud API and handles looking up the instance and setting the password for you. This functions takes: session: an instance of a CloudSession. instance-name: The name of the instance that this user is getting put in. user: A map with the data for the user record. password: The initial password for the specified user.
Returns the user record that got created.
This function creates a user in the Cloud API and handles looking up the instance and setting the password for you. This functions takes: session: an instance of a CloudSession. instance-name: The name of the instance that this user is getting put in. user: A map with the data for the user record. password: The initial password for the specified user. Returns the user record that got created.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close