Liking cljdoc? Tell your friends :D

monkey.ci.web.github

Functionality specific for Github

Functionality specific for Github
raw docstring

app-webhookclj

(app-webhook req)
source

bodyclj

source

create-app-buildclj

(create-app-build rt {:keys [customer-id id]} payload)

Creates a build as triggered from an app call. This does not originate from a webhook, but rather from a watched repo.

Creates a build as triggered from an app call.  This does not originate from a
webhook, but rather from a watched repo.
sourceraw docstring

create-buildclj

(create-build {st :storage :as rt} init-build payload)

Looks up details for the given github webhook. If the webhook refers to a valid configuration, a build entity is created and a build structure is returned, which eventually will be passed on to the runner.

Looks up details for the given github webhook.  If the webhook refers to a valid 
configuration, a build entity is created and a build structure is returned, which
eventually will be passed on to the runner.
sourceraw docstring

create-webhook-buildclj

(create-webhook-build {st :storage :as rt} id payload)
source

extract-signatureclj

(extract-signature s)
source

get-configclj

(get-config req)

Lists public github configuration to use

Lists public github configuration to use
sourceraw docstring

github-eventclj

(github-event req)
source

github-push?clj

Checks if the incoming request is actually a push. Github can also send other types of requests.

Checks if the incoming request is actually a push.  Github can also
send other types of requests.
sourceraw docstring

loginclj

(login req)

Invoked by the frontend during OAuth2 login flow. It requests a Github user access token using the given authorization code.

Invoked by the frontend during OAuth2 login flow.  It requests a Github
user access token using the given authorization code.
sourceraw docstring

req->repo-sidclj

source

req->webhook-idclj

source

should-trigger-build?clj

source

unwatch-repoclj

(unwatch-repo req)
source

valid-security?clj

(valid-security? {:keys [secret payload x-hub-signature]})

Validates security header

Validates security header
sourceraw docstring

validate-securityclj

(validate-security h)
(validate-security h get-secret)

Middleware that validates the github security header using a fn that retrieves the secret for the request.

Middleware that validates the github security header using a fn that retrieves
the secret for the request.
sourceraw docstring

watch-repoclj

(watch-repo req)

Adds the repository to the watch list for github webhooks. If the repo does not exist, it will be created.

Adds the repository to the watch list for github webhooks.  If the repo
does not exist, it will be created.
sourceraw docstring

webhookclj

(webhook {p :parameters :as req})

Receives an incoming webhook from Github. This starts the build runner async and returns a 202 accepted.

Receives an incoming webhook from Github.  This starts the build
runner async and returns a 202 accepted.
sourceraw docstring

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

× close