job

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowFailure

type AllowFailure struct {
	Enabled   *bool
	ExitCodes []int `yaml:"exit_codes,omitempty"`
}

func (*AllowFailure) UnmarshalYAML

func (a *AllowFailure) UnmarshalYAML(node *yaml.Node) error

type Controls

type Controls struct {
	Refs       []string
	Variables  []string
	Changes    []string
	Kubernetes string

	FileReference *models.FileReference
}

Control represents "job:except/only"

func (*Controls) UnmarshalYAML

func (c *Controls) UnmarshalYAML(node *yaml.Node) error

type Inherit

type Inherit struct {
	Default   *InheritValues `yaml:"default,omitempty"`
	Variables *InheritValues `yaml:"variables,omitempty"`
}

type InheritValues

type InheritValues struct {
	Enabled *bool
	Keys    []string `yaml:"default_keys,omitempty"`
}

func (*InheritValues) UnmarshalYAML

func (i *InheritValues) UnmarshalYAML(node *yaml.Node) error

type Matrix

type Matrix []MatrixItem

func (*Matrix) UnmarshalYAML

func (m *Matrix) UnmarshalYAML(node *yaml.Node) error

type MatrixItem added in v0.1.19

type MatrixItem map[string][]string

func (*MatrixItem) UnmarshalYAML added in v0.1.19

func (mi *MatrixItem) UnmarshalYAML(node *yaml.Node) error

type Needs

type Needs []*NeedsItem

func (*Needs) UnmarshalYAML

func (n *Needs) UnmarshalYAML(node *yaml.Node) error

type NeedsItem

type NeedsItem struct {
	Artifacts bool   `yaml:"artifacts"`
	Project   string `yaml:"project"`
	Pipeline  string `yaml:"pipeline"`
	Job       string `yaml:"job"`
	Ref       string `yaml:"ref"`
}

type Parallel

type Parallel struct {
	Max    *int    `yaml:"max,omitempty"`
	Matrix *Matrix `yaml:"matrix,omitempty"`
}

func (*Parallel) UnmarshalYAML

func (p *Parallel) UnmarshalYAML(node *yaml.Node) error

type Trigger

type Trigger struct {
	Include  string
	Strategy string
	Forward  *TriggerForward
}

func (*Trigger) UnmarshalYAML

func (t *Trigger) UnmarshalYAML(node *yaml.Node) error

type TriggerForward

type TriggerForward struct {
	YAMLVariables     bool
	PipelineVariables bool
}

Jump to

Keyboard shortcuts

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