Documentation ¶
Overview ¶
Package bugupdater defines a task for updating a project's LUCI Analysis bugs in response to the latest cluster metrics. Bugs are auto-opened, auto-verified and have their priorities adjusted according to the LUCI project's bug management policies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTaskHandler ¶
RegisterTaskHandler registers the handler for bug update tasks. uiBaseURL is the base URL for the UI, without trailing slash, e.g. "https://luci-milo.appspot.com".
Types ¶
type Handler ¶
type Handler struct { // GCPProject is the GCP Cloud Project Name, e.g. luci-analysis. GCPProject string // UIBaseURL is the base URL for the UI, without trailing slash, e.g. // "https://luci-milo.appspot.com". UIBaseURL string // Whether bug updates should be simulated. Only used in local // development when UpdateBug(...) is called directly from the // cron handler. Simulate bool }
Handler provide a method to handle bug update tasks.
func (Handler) UpdateBugs ¶
UpdateBugs handles the given bug update task.
Click to show internal directories.
Click to hide internal directories.