Documentation
¶
Index ¶
- Constants
- func Check(jobs config.JobConfig, currentConfigFile string, header string) error
- func FilterReleaseBranchingJobs(jobs []spec.Job) []spec.Job
- func Print(jobs config.JobConfig)
- func ReadBase(baseConfig *spec.BaseConfig, file string) spec.BaseConfig
- func Write(jobs config.JobConfig, fname, header string) error
- func WriteJobsConfig(jobsConfig spec.JobsConfig, file string) error
- type Client
Constants ¶
View Source
const ( TestGridDashboard = "testgrid-dashboards" TestGridAlertEmail = "testgrid-alert-email" TestGridNumFailures = "testgrid-num-failures-to-alert" DefaultAutogenHeader = "# THIS FILE IS AUTOGENERATED, DO NOT EDIT IT MANUALLY." ArchAMD64 = "amd64" ArchARM64 = "arm64" TypePostsubmit = "postsubmit" TypePresubmit = "presubmit" TypePeriodic = "periodic" )
Variables ¶
This section is empty.
Functions ¶
func FilterReleaseBranchingJobs ¶
FilterReleaseBranchingJobs filters then returns jobs with release branching enabled.
func ReadBase ¶
func ReadBase(baseConfig *spec.BaseConfig, file string) spec.BaseConfig
func WriteJobsConfig ¶
func WriteJobsConfig(jobsConfig spec.JobsConfig, file string) error
WriteJobsConfig will write the meta jobs to the given file.
Types ¶
type Client ¶
type Client struct { BaseConfig spec.BaseConfig LongJobNamesAllowed bool }
func (*Client) ConvertJobConfig ¶
func (*Client) ReadJobsConfig ¶
func (cli *Client) ReadJobsConfig(file string) spec.JobsConfig
Reads the jobs yaml
Click to show internal directories.
Click to hide internal directories.