Documentation ¶
Index ¶
- func BuilderHandlerLegacy(c *router.Context, builderID buildsource.BuilderID) error
- func BuildersRelativeHandler(c *router.Context, projectID, group string) error
- func ConfigsHandler(c *router.Context)
- func ConsoleHandler(c *router.Context) error
- func ConsolesHandler(c *router.Context, projectID string) error
- func ErrorHandler(c *router.Context, err error)
- func GetLimit(r *http.Request, def int) int
- func GetReload(r *http.Request, def int) int
- func HandleSwarmingLog(c *router.Context) error
- func ProjectLinks(c context.Context, project, group string) []ui.LinkGroup
- func Run(templatePath string)
- func UpdateConfigHandler(ctx *router.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuilderHandlerLegacy ¶
func BuilderHandlerLegacy(c *router.Context, builderID buildsource.BuilderID) error
BuilderHandlerLegacy is responsible for taking a universal builder ID and rendering the builder page (defined in ./appengine/templates/pages/builder_legacy.html). We don't need to do an ACL check because this endpoint delegates all ACL checks authentication to Buildbucket with the RPC calls.
func BuildersRelativeHandler ¶
BuildersRelativeHandler is responsible for rendering a builders list page according to project. Presently only relative time is handled, i.e. last builds without correlation between builders), and no filtering by group has been implemented.
The builders list page by relative time is defined in ./appengine/templates/pages/builders_relative_time.html.
func ConfigsHandler ¶
ConfigsHandler renders the page showing the currently loaded set of luci-configs.
func ConsoleHandler ¶
ConsoleHandler renders the console page.
func ConsolesHandler ¶
ConsolesHandler is responsible for taking a project name and rendering the console list page (defined in ./appengine/templates/pages/builder_groups.html).
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.
func GetReload ¶
GetReload extracts the "reload" http param from the request, or returns def implying no limit was specified.
func HandleSwarmingLog ¶
HandleSwarmingLog renders a step log from a swarming build.
func ProjectLinks ¶
ProjectLinks returns the navigation list surrounding a project and optionally group.
func UpdateConfigHandler ¶
UpdateConfigHandler is an HTTP handler that handles configuration update requests.
Types ¶
This section is empty.