package
0.11.0
Repository: https://github.com/rafecolton/docker-builder.git
Documentation: pkg.go.dev

# Functions

APIToken sets the (global) apiToken for the webhook package.
DockerBuild parses a simple JSON blob returns a job.Spec */.
Github parses a Github webhook HTTP request and returns a job.Spec.
Logger sets the (global) logger for the webhook package.
TestMode sets the (global) testMode variable for the webhook package.
Travis parses a webhook HTTP request from Travis CI and returns a job.Spec */.

# Constants

AsyncSuccessCode is the http status code returned for a successful async job.
AsyncSuccessMessage is the generic message returned for a successful async job.
SyncSuccessCode is the http status code returned for a successful synchronous job.
SyncSuccessMessage is the generic message returned for a successful synchronous job.