Liking cljdoc? Tell your friends :D

monkey.ci.storage

Data storage functionality

Data storage functionality
raw docstring

->sidclj


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`.
raw docstring

build-metadata-sidcljdeprecated


build-results-sidcljdeprecated


build-sidclj


build-sid-keysclj


buildsclj


create-build-metadatacljdeprecated

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

customer-sidclj


ext-build-sidclj


find-buildclj

(find-build s sid)

Finds build by sid

Finds build by sid
raw docstring

find-build-metadatacljdeprecated

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

find-build-resultscljdeprecated

(find-build-results s sid)

Reads the build results given the build coordinates

Reads the build results given the build coordinates
raw docstring

find-customerclj

(find-customer s id)

find-details-for-webhookclj

(find-details-for-webhook s id)

find-paramsclj

(find-params s cust-id)

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
raw docstring

find-ssh-keysclj

(find-ssh-keys s cust-id)

find-userclj

(find-user s id)

globalclj


global-sidclj

(global-sid type id)

legacy-build-exists?clj

(legacy-build-exists? s sid)

Similar to build-exists? but for legacy builds that consist of metadata and result entities.

Similar to `build-exists?` but for legacy builds that consist of metadata and 
result entities.
raw docstring

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
raw docstring

make-memory-storageclj

(make-memory-storage)

make-storagecljmultimethod


new-idclj

Generates a new random id

Generates a new random id
raw docstring

normalize-storage-configcljmultimethod


params-sidclj

(params-sid customer-id)

patch-build-resultscljdeprecated

(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.
raw docstring

save-buildclj

(save-build s build)

Creates or updates the build entity

Creates or updates the build entity
raw docstring

save-build-resultscljdeprecated

(save-build-results s sid r)

save-customerclj

(save-customer s cust)

save-paramsclj

(save-params s cust-id p)

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
raw docstring

save-ssh-keysclj

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

save-userclj

(save-user s u)

save-webhook-detailsclj

(save-webhook-details s details)

sid?clj


ssh-keys-sidclj

(ssh-keys-sid cust-id)

user->sidclj


user-sidclj

(user-sid [type id])

usersclj


webhook-sidclj

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

× close