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

# Functions

Get gets the requested job as JSON.
GetAll gets all of the jobs as JSON.
Logger sets the (global) logger for the server package.
NewJob creates a new job from the config as well as a job spec.
NewSpec creates a new job spec based on the arguments that would be passed along from the job goworker picks up from Redis.
TailN is the handler function for the job log tailing route.

# Variables

TestMode monkeys with certain things for tests so bad things don't happen */.

# Structs

Config contains global configuration options for jobs */.
Job is the struct representation of a build job.
Spec contains the specs for a job, retrieved from parsed JSON */.