Documentation ¶
Index ¶
- func BuildHandler(c *router.Context, buildID buildsource.ID)
- func BuilderHandler(c *router.Context, builderID buildsource.BuilderID)
- func ConfigsHandler(c *router.Context)
- func ConsoleHandler(c *router.Context)
- func ConsoleMainHandler(ctx *router.Context)
- func ErrorHandler(c *router.Context, err error)
- func GetLimit(r *http.Request, def int) int
- func LogHandler(c *router.Context, buildID buildsource.ID, logname string)
- func Run(templatePath string)
- func UpdateConfigHandler(ctx *router.Context)
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 ¶
ConfigsHandler renders the page showing the currently loaded set of luci-configs.
func ConsoleHandler ¶
ConsoleHandler renders the console page.
func ConsoleMainHandler ¶
ConsoleMainHandler is a redirect handler that redirects the user to the main console for a particular project.
func ErrorHandler ¶
ErrorHandler renders an error page for the user.
func GetLimit ¶
GetLimit extracts the "limit", "numbuilds", or "num_builds" http param from the request, or returns def implying no limit was specified.
Types ¶
This section is empty.