Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAndValidateProwConfig ¶
func BuildAndValidateProwConfig(t *testing.T, baseDir string, expectedConfigFilename string, expectedPluginsFilename string, schedulerFiles []SchedulerFile)
BuildAndValidateProwConfig takes a list of schedulerFiles and builds them to a Prow config, and validates them against the expectedConfigFilename and expectedPluginsFilename that make up the prow config. Filepaths are relative to the baseDir
func CompleteScheduler ¶
func CompleteScheduler() *pipelinescheduler.Scheduler
CompleteScheduler returns a Scheduler completely filled with dummy data
Types ¶
type SchedulerFile ¶
type SchedulerFile struct { // Filenames is the hierachy with the leaf at the right Filenames []string Org string Repo string }
SchedulerFile contains a list of leaf files to build the scheduler from
Click to show internal directories.
Click to hide internal directories.