Documentation ¶
Overview ¶
Package validation validates CV config files.
Package validation implements validation and common manipulation of CQ config files.
Index ¶
Constants ¶
View Source
const ( // CQStatusHostPublic is the public host of the CQ status app. CQStatusHostPublic = "chromium-cq-status.appspot.com" // CQStatusHostInternal is the internal host of the CQ status app. CQStatusHostInternal = "internal-cq-status.appspot.com" )
Variables ¶
This section is empty.
Functions ¶
func ValidateProject ¶
ValidateProject validates a project config for a given LUCI project.
Validation result is returned via validation ctx, while error returned directly implies internal errors.
func ValidateProjectConfig ¶
func ValidateProjectConfig(ctx *validation.Context, cfg *cfgpb.Config) error
ValidateProjectConfig validates a given project config.
This is essentially the same as ValidateProject, but skips checking GerritSubscriptions in listener.Settings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.