common

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2022 License: Apache-2.0 Imports: 5 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 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