Liking cljdoc? Tell your friends :D

monkey.ci.storage

Data storage functionality. Next to basic storage implementations, this ns also contains a lot of functions for working with storage entities. Many of these are overridden by implementation-specific functions, and so implementations here don't focus on efficiency. They are merely used in tests.

Data storage functionality.  Next to basic storage implementations, this ns also contains
a lot of functions for working with storage entities.  Many of these are overridden by
implementation-specific functions, and so implementations here don't focus on efficiency.
They are merely used in tests.
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-sidcljdeprecated

source

build-results-sidcljdeprecated

source

build-sidclj

source

build-sid-keysclj

source

buildsclj

source

create-build-metadatacljdeprecated

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

customer-sidclj

source

delete-email-registrationclj

(delete-email-registration s id)
source

delete-join-requestclj

source

delete-paramclj

Deletes a single parameter set by sid

Deletes a single parameter set by sid
sourceraw docstring

delete-repoclj

Deletes repository with given sid, including all builds

Deletes repository with given sid, including all builds
sourceraw docstring

email-registration-sidclj

source

email-registrationsclj

source

ext-build-sidclj

source

ext-repo-sidclj

source

find-buildclj

(find-build s sid)

Finds build by sid

Finds build by sid
sourceraw 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)
sourceraw 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
sourceraw docstring

find-customerclj

(find-customer s id)
source

find-details-for-webhookcljdeprecated

source

find-email-registrationclj

(find-email-registration s id)
source

find-email-registration-by-emailclj

source

find-join-requestclj

source

find-latest-buildclj

Retrieves the latest build for the repo

Retrieves the latest build for the repo
sourceraw docstring

find-next-build-idxclj

Retrieves the next integer build index to use. This is supposed to be the highest build index + 1.

Retrieves the next integer build index to use.  This is supposed to be the highest
build index + 1.
sourceraw docstring

find-paramclj

Retrieves a single parameter by sid

Retrieves a single parameter by sid
sourceraw docstring

find-paramsclj

(find-params s cust-id)
source

find-repoclj

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 by cuid

Find user by cuid
sourceraw docstring

find-user-by-typeclj

Find user by type id (e.g. github)

Find user by type id (e.g. github)
sourceraw docstring

find-watched-github-reposclj

Looks up all watched repos with the given github id

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

find-webhookclj

(find-webhook s id)
source

globalclj

source

global-sidclj

(global-sid type)
(global-sid type id)
source

join-request-sidclj

source

join-requestsclj

source

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

list-build-idsclj

(list-build-ids s sid)

Lists the ids of the builds for given repo sid

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

list-buildsclj

Lists all builds for the repo, and fetches the build details, similar to find-build but does not contain the job details.

Lists all builds for the repo, and fetches the build details, similar to `find-build`
but does not contain the job details.
sourceraw docstring

list-builds-sinceclj

Retrieves all builds for customer since the given timestamp

Retrieves all builds for customer since the given timestamp
sourceraw docstring

list-customer-join-requestsclj

Retrieves all customer join requests for that customer

Retrieves all customer join requests for that customer
sourceraw docstring

list-email-registrationsclj

source

list-repo-display-idsclj

Lists all display ids for the repos for given customer

Lists all display ids for the repos for given customer
sourceraw docstring

list-user-customersclj

source

list-user-join-requestsclj

Retrieves all customer join requests for that user

Retrieves all customer join requests for that user
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

params-sidclj

(params-sid customer-id & [param-id])
source

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

save-buildclj

(save-build s build)

Creates or updates the build entity

Creates or updates the build entity
sourceraw docstring

save-build-resultscljdeprecated

(save-build-results s sid r)
source

save-customerclj

(save-customer s cust)
source

save-email-registrationclj

(save-email-registration s reg)
source

save-join-requestclj

source

save-paramclj

Saves a single customer parameter

Saves a single customer parameter
sourceraw docstring

save-paramsclj

(save-params s cust-id p)

Saves all customer parameters at once

Saves all customer parameters at once
sourceraw docstring

save-repoclj

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-webhookclj

(save-webhook s details)
source

save-webhook-detailscljdeprecated

source

search-customersclj

Searches customers using given filter

Searches customers using given filter
sourceraw docstring

sid?clj

source

ssh-keys-sidclj

(ssh-keys-sid cust-id)
source

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

update-repoclj

Applies f to the repo with given sid

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

user->sidclj

source

user-sidclj

(user-sid [type id])
source

usersclj

source

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

watched-sidclj

source

webhook-sidclj

source

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

× close