cli

package
v0.0.0-...-d5e2638 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Defaults

type Defaults Job

type Empty

type Empty *struct{}

type Job

type Job struct {
	JobCore
	JobProw
	JobPeriodic
}

func (*Job) Org

func (j *Job) Org() string

func (*Job) Repo

func (j *Job) Repo() string

type JobConfiguration

type JobConfiguration struct {
	Defaults
	Jobs []Job `json:"jobs,omitempty"`
}

type JobCore

type JobCore struct {
	metav1.ObjectMeta
	corev1.Container
	corev1.PodSpec
}

type JobPeriodic

type JobPeriodic struct {
	Cron     string `json:"cron,omitempty"`
	Interval string `json:"interval,omitempty"`
}

type JobProw

type JobProw struct {
	*prowv1.DecorationConfig `json:"decoration_config,omitempty"`
	*prowv1.RerunAuthConfig  `json:"rerun_auth_config,omitempty"`
	*prowv1.ReporterConfig   `json:"reporter_config,omitempty"`

	Command        []string          `json:"command,omitempty"`
	Branch         string            `json:"branch,omitempty"`
	Branches       []string          `json:"branches,omitempty"`
	SkipBranches   []string          `json:"skip_branches,omitempty"`
	ExtraRepos     []string          `json:"extra_repos,omitempty"`
	Require        []string          `json:"require,omitempty"`
	OrgRepo        string            `json:"repo,omitempty"`
	Name           string            `json:"name,omitempty"`
	CloneTemplate  string            `json:"clone_tmpl,omitempty"`
	OutputTemplate string            `json:"output_tmpl,omitempty"`
	Image          string            `json:"image,omitempty"`
	Regex          string            `json:"regex,omitempty"`
	Trigger        string            `json:"trigger,omitempty"`
	RerunCommand   string            `json:"rerun_command,omitempty"`
	MaxConcurrency int               `json:"max_concurrency,omitempty"`
	Aliases        map[string]string `json:"aliases,omitempty"`
	Requirements   map[string]Job    `json:"requirements,omitempty"`
	Type           JobType           `json:"type,omitempty"`
	Types          []JobType         `json:"types,omitempty"`
	Modifiers      []Modifier        `json:"modifiers,omitempty"`
}

type JobType

type JobType string
const (
	Presubmit  JobType = "presubmit"
	Postsubmit JobType = "postsubmit"
	Periodic   JobType = "periodic"
)

type Modifier

type Modifier string
const (
	Hidden   Modifier = "hidden"
	Private  Modifier = "private"
	Optional Modifier = "optional"
	Skipped  Modifier = "skipped"
)

Jump to

Keyboard shortcuts

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