Liking cljdoc? Tell your friends :D

monkey.ci.storage

Data storage functionality

Data storage functionality
raw docstring

->sidclj

source

build-exists?clj

(build-exists? s sid)

Checks efficiently if the build exists. This is cheaper than trying to fetch it and checking if the result is nil.

Checks efficiently if the build exists.  This is cheaper than trying to fetch it
and checking if the result is `nil`.
sourceraw docstring

build-metadata-sidclj

source

build-results-sidclj

source

build-sidclj

source

build-sid-keysclj

source

buildsclj

source

create-build-metadataclj

(create-build-metadata s md)
(create-build-metadata s sid md)
source

customer-sidclj

source

ext-build-sidclj

source

find-build-metadataclj

(find-build-metadata s sid)

Reads the build metadata given the build coordinates (required to build the path)

Reads the build metadata given the build coordinates (required to build the path)
sourceraw docstring

find-build-resultsclj

(find-build-results s sid)

Reads the build results given the build coordinates

Reads the build results given the build coordinates
sourceraw docstring

find-customerclj

(find-customer s id)
source

find-details-for-webhookclj

(find-details-for-webhook s id)
source

find-legacy-paramscljdeprecated

(find-legacy-params s sid)

Loads parameters on the given level. This does not automatically include the parameters of higher levels.

Loads parameters on the given level.  This does not automatically include the
parameters of higher levels.
sourceraw docstring

find-paramsclj

(find-params s cust-id)
source

find-repoclj

(find-repo s [cust-id id])

Reads the repo, as part of the customer object's projects

Reads the repo, as part of the customer object's projects
sourceraw docstring

find-ssh-keysclj

(find-ssh-keys s cust-id)
source

find-userclj

(find-user s id)
source

globalclj

source

global-sidclj

(global-sid type id)
source

legacy-params-sidcljdeprecated

(legacy-params-sid sid)
source

list-buildsclj

(list-builds s sid)

Lists the ids of the builds for given repo sid

Lists the ids of the builds for given repo sid
sourceraw docstring

make-memory-storageclj

(make-memory-storage)
source

make-storagecljmultimethod

source

new-idclj

Generates a new random id

Generates a new random id
sourceraw docstring

normalize-storage-configcljmultimethod

source

params-sidclj

(params-sid customer-id)
source

patch-build-resultsclj

(patch-build-results st sid f & args)

Finds the build result with given sid, then applies f to it with arguments and saves the return value back into the result.

Finds the build result with given sid, then applies `f` to it with arguments
and saves the return value back into the result.
sourceraw docstring

save-build-resultsclj

(save-build-results s sid r)
source

save-customerclj

(save-customer s cust)
source

save-legacy-paramscljdeprecated

(save-legacy-params s sid p)

Stores build parameters. This can be done on customer, project or repo level. The sid is a vector that determines on which level the information is stored.

Stores build parameters.  This can be done on customer, project or repo level.
The `sid` is a vector that determines on which level the information is stored.
sourceraw docstring

save-paramsclj

(save-params s cust-id p)
source

save-repoclj

(save-repo s {:keys [customer-id id] :as r})

Saves the repository by updating the customer it belongs to

Saves the repository by updating the customer it belongs to
sourceraw docstring

save-ssh-keysclj

(save-ssh-keys s cust-id key)
source

save-userclj

(save-user s u)
source

save-webhook-detailsclj

(save-webhook-details s details)
source

sid?clj

source

ssh-keys-sidclj

(ssh-keys-sid cust-id)
source

user->sidclj

source

user-sidclj

(user-sid [type id])
source

usersclj

source

webhook-sidclj

source

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

× close