Liking cljdoc? Tell your friends :D

monkey.ci.web.github

Functionality specific for Github

Functionality specific for Github
raw docstring

create-buildclj

(create-build {st :storage :as rt} {:keys [id 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

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

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->webhook-idclj

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

webhookclj

(webhook {p :parameters :as req})

Receives an incoming webhook from Github. This actually just posts the event on the internal bus and returns a 200 OK response.

Receives an incoming webhook from Github.  This actually just posts
the event on the internal bus and returns a 200 OK response.
sourceraw docstring

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

× close