server

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2020 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// BuildRoute is the route used to POST docker builds from JSON
	BuildRoute = "/docker-build"

	// GitHubRoute is the route for GitHub webhooks
	GitHubRoute = "/docker-build/github"

	// HealthRoute is the route for health checks
	HealthRoute = "/health"

	// JobRoute is the route for job operations (various routes, see docs for more info)
	JobRoute = "/jobs"

	// TravisRoute is the route for TravisCI webhooks
	TravisRoute = "/docker-build/travis"
)
View Source
const Description = `` /* 1077-byte string literal not displayed */

Description is the help text for the `serer` command

Variables

This section is empty.

Functions

func Logger

func Logger(l *logrus.Logger)

Logger sets the (global) logger for the server package

func Serve

func Serve(context *cli.Context)

Serve sets everything up and runs the docker-builder server

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL