common

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	When      string   `yaml:"when,omitempty"`
	Key       any      `yaml:"key,omitempty"`
	Paths     []string `yaml:"paths,omitempty"`
	Policy    string   `yaml:"policy,omitempty"`
	Untracked bool     `yaml:"untracked,omitempty"`
}

type EnvironmentVariablesRef

type EnvironmentVariablesRef struct {
	Variables     *Variables
	FileReference *models.FileReference
}

func (*EnvironmentVariablesRef) UnmarshalYAML

func (e *EnvironmentVariablesRef) UnmarshalYAML(node *yaml.Node) error

type Image

type Image struct {
	Name          string   `yaml:"name"`
	Entrypoint    []string `yaml:"entrypoint"`
	FileReference *models.FileReference
}

func (*Image) UnmarshalYAML

func (im *Image) UnmarshalYAML(node *yaml.Node) error

type Retry

type Retry struct {
	When *[]string `yaml:"when,omitempty"`
	Max  *int      `yaml:"max,omitempty"`
}

func (*Retry) UnmarshalYAML

func (r *Retry) UnmarshalYAML(node *yaml.Node) error

type Rule

type Rule struct {
	Changes       []string                 `yaml:"changes,omitempty"`
	Exists        []string                 `yaml:"exists,omitempty"`
	If            string                   `yaml:"if,omitempty"`
	Variables     *EnvironmentVariablesRef `yaml:"variables,omitempty"`
	When          string                   `yaml:"when,omitempty"`
	FileReference *models.FileReference
}

type Rules

type Rules struct {
	RulesList     []*Rule
	FileReference *models.FileReference
}

func (*Rules) UnmarshalYAML

func (r *Rules) UnmarshalYAML(node *yaml.Node) error

type Script

type Script struct {
	Commands      []string
	FileReference *models.FileReference
}

func (*Script) UnmarshalYAML

func (s *Script) UnmarshalYAML(node *yaml.Node) error

type Variable

type Variable struct {
	Value       string `yaml:"value"`
	Description string `yaml:"description"`
}

type Variables

type Variables map[string]any

func (*Variables) UnmarshalYAML

func (v *Variables) UnmarshalYAML(node *yaml.Node) error

Jump to

Keyboard shortcuts

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