validation

package
v0.0.0-...-c36c937 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

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

func ValidateProject(ctx *validation.Context, cfg *cfgpb.Config, project string) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL