generator

package
v0.0.0-...-13e4de7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(what, jobsConfigPath, imagesConfigPath, templatePath, outputPath string) error

Generate will generate labels or jobs, depending on variable "what" is. what: can be either labels or jobs.

Types

type Config

type Config struct {
	AWSServices                   []string `yaml:"aws_services"`
	CarmTestServices              []string `yaml:"carm_test_services"`
	SoakTestOnReleaseServiceNames []string `yaml:"soak_test_on_release_service_names"`
	CodegenPresubmitServices      []string `yaml:"code_gen_presubmit_services"`
	RuntimePresubmitServices      []string `yaml:"runtime_presubmit_services"`
	ACKTestPresubmitServices      []string `yaml:"acktest_presubmit_services"`
}

Structure for prow job configurations stored in jobs.yaml

type ImageContext

type ImageContext struct {
	ImageRepo string            `yaml:"image_repo"`
	Images    map[string]string `yaml:"images"`
}

Structure for prow job versions stored in images_config.yaml

Jump to

Keyboard shortcuts

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