job

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

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 map[string][]string

func (*Matrix) UnmarshalYAML

func (m *Matrix) 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