Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound error = errors.New("configuration file isn't found")
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool struct {
Prog expr.BoolProgram
Initialized bool
Fixed bool
FixedValue bool
}
func (*Bool) SetBoolProgram ¶ added in v0.7.0
func (b *Bool) SetBoolProgram(f expr.BoolProgram)
func (*Bool) SetDefaultBool ¶
func (*Bool) UnmarshalYAML ¶
type BuildCondition ¶
type Command ¶
type Command struct {
Shell string
ShellOpts []string `yaml:"shell_options"`
Command Template
CommandFile string `yaml:"command_file"`
Stdin Template
StdinFile string `yaml:"stdin_file"`
Env Envs
}
func (Command) SetDefault ¶
type Config ¶
type Dependency ¶
type Dependency struct {
Names []string
Program expr.BoolProgram
}
func (*Dependency) UnmarshalYAML ¶ added in v0.4.0
func (dependency *Dependency) UnmarshalYAML(unmarshal func(interface{}) error) error
type Envs ¶
func (*Envs) UnmarshalYAML ¶
type Phase ¶
type Phase struct {
Name string
Tasks []Task
Condition PhaseCondition
Meta map[string]interface{}
Import string
}
type PhaseCondition ¶
type Script ¶ added in v0.3.0
func (*Script) UnmarshalYAML ¶ added in v0.3.0
type Task ¶
type Task struct {
Name Template
Type string `yaml:"-"`
When Bool
WhenFile string `yaml:"when_file"`
Dependency Dependency
Command Command
ReadFile ReadFile `yaml:"read_file"`
WriteFile WriteFile `yaml:"write_file"`
HTTP HTTP
Timeout execute.Timeout
Items Items
Item Item `yaml:"-"`
Meta map[string]interface{}
Output Script
Input Script
InputFile string `yaml:"input_file"`
OutputFile string `yaml:"output_file"`
Import string
}
type Template ¶
func (*Template) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.