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


ext-repo-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

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)

find-watched-github-reposclj

Looks up all watched repos with the given github id

Looks up all watched repos with the given github id
raw docstring

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

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)

unwatch-github-repoclj

Removes the records to stop watching the repo. The entity will still exist, so any past builds can be looked up.

Removes the records to stop watching the repo.  The entity will still 
exist, so any past builds can be looked up.
raw docstring

update-repoclj

Applies f to the repo with given sid

Applies `f` to the repo with given sid
raw docstring

user->sidclj


user-sidclj

(user-sid [type id])

usersclj


watch-github-repoclj

Creates necessary records to start watching a github repo. Creates the repo entity and returns it.

Creates necessary records to start watching a github repo.  Creates the
repo entity and returns it.
raw docstring

watched-sidclj


webhook-sidclj

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

× close