Documentation
¶
Index ¶
Constants ¶
View Source
const ( SHELL_TYPE_POWERSHELL = "powershell" SHELL_TYPE_PWSH = "pwsh" SHELL_TYPE_BASH = "bash" SHELL_TYPE_DOCKER = "docker" SHELL_TYPE_SSH = "ssh" SHELL_TYPE_CUSTOM = "custom" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgumentDefinition ¶
type ArgumentMap ¶
type ArgumentMap map[string]*ArgumentDefinition
func (*ArgumentMap) UnmarshalYAML ¶
func (a *ArgumentMap) UnmarshalYAML(v *yaml.Node) error
type Conditional ¶
type Conditional struct {
If []VariableMap `yaml:"if"`
Overwrite *Job `yaml:"overwrite"`
}
type Job ¶
type Job struct {
Name string `yaml:"-"`
Shell *Shell `yaml:"shell"`
If []VariableMap `yaml:"if"`
Conditional []*Conditional `yaml:"conditional"`
AllowFail bool `yaml:"allowFail"`
WorkDir string `yaml:"workDir"`
JobsPre []string `yaml:"jobs:pre"`
JobsPost []string `yaml:"jobs:post"`
JobsFinalize []string `yaml:"jobs:finalize"`
ScriptPre []string `yaml:"script:pre"`
Script []string `yaml:"script"`
ScriptPost []string `yaml:"script:post"`
ScriptFinalize []string `yaml:"script:finalize"`
Variables VariableMap `yaml:"variables"`
VariablesExcluded []string `yaml:"variablesExcluded"`
Foreach []VariableMap `yaml:"foreach"`
Arguments ArgumentMap `yaml:"arguments"`
}
func (*Job) SetDefaults ¶
func (j *Job) SetDefaults()
type Shell ¶
type Shell struct {
Type string `yaml:"type"`
Image string `yaml:"image"`
UidGid string `yaml:"uidGid"`
BootCommand []string `yaml:"bootCommand"`
Server string `yaml:"server"`
}
func (*Shell) SetDefaults ¶
func (e *Shell) SetDefaults()
type VariableMap ¶
Click to show internal directories.
Click to hide internal directories.