frontend

package
v0.0.0-...-678bb0e Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2017 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildHandler

func BuildHandler(c *router.Context, buildID buildsource.ID)

BuildHandler is responsible for taking a universal build ID and rendering the build page (defined in ./appengine/templates/pages/build.html).

func BuilderHandler

func BuilderHandler(c *router.Context, builderID buildsource.BuilderID)

BuilderHandler is responsible for taking a universal builder ID and rendering the builder page (defined in ./appengine/templates/pages/builder.html).

func ConfigsHandler

func ConfigsHandler(c *router.Context)

ConfigsHandler renders the page showing the currently loaded set of luci-configs.

func ConsoleHandler

func ConsoleHandler(c *router.Context)

ConsoleHandler renders the console page.

func ConsoleMainHandler

func ConsoleMainHandler(ctx *router.Context)

ConsoleMainHandler is a redirect handler that redirects the user to the main console for a particular project.

func ErrorHandler

func ErrorHandler(c *router.Context, err error)

ErrorHandler renders an error page for the user.

func GetLimit

func GetLimit(r *http.Request, def int) int

GetLimit extracts the "limit", "numbuilds", or "num_builds" http param from the request, or returns def implying no limit was specified.

func LogHandler

func LogHandler(c *router.Context, buildID buildsource.ID, logname string)

LogHandler is responsible for taking a universal build ID and rendering the build page (defined in ./appengine/templates/pages/log.html).

func Run

func Run(templatePath string)

Run sets up all the routes and runs the server.

func UpdateConfigHandler

func UpdateConfigHandler(ctx *router.Context)

UpdateHandler is an HTTP handler that handles configuration update requests.

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