package
0.9.0
Repository: https://github.com/jszwedko/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 from raw json data */.
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 */.

# Type aliases

ByCreatedDescending is a type for sorting an array of jobs by created date, descending.