internal

package
v0.0.0-...-75e9695 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildConfig

func BuildConfig(ls labels.LabelSet, jobs []*Job) config.Config

Types

type Job

type Job struct {
	config.Job
	Type
	// map of orb name (e.g. "slack") to registry key (e.g. "circleci/slack@4.12.5")
	// for orbs required by this job
	Orbs map[string]string
}

func GenerateGoJobs

func GenerateGoJobs(ls labels.LabelSet) (jobs []*Job)

func GenerateJavaJobs

func GenerateJavaJobs(ls labels.LabelSet) (jobs []*Job)

func GenerateNodeJobs

func GenerateNodeJobs(ls labels.LabelSet) (jobs []*Job)

func GeneratePHPJobs

func GeneratePHPJobs(ls labels.LabelSet) []*Job

func GeneratePythonJobs

func GeneratePythonJobs(ls labels.LabelSet) []*Job

func GenerateRubyJobs

func GenerateRubyJobs(ls labels.LabelSet) (jobs []*Job)

func GenerateRustJobs

func GenerateRustJobs(ls labels.LabelSet) (jobs []*Job)

type Type

type Type uint32
const (
	TestJob Type = iota // generic test job
	ArtifactJob
	DeployJob
)

This type is to help us build a workflow graph

Jump to

Keyboard shortcuts

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