Documentation ¶
Index ¶
- type Job
- func (j *Job) Default(def Job)
- func (j Job) GetEngine() string
- func (j Job) GetEnv() map[string]string
- func (j Job) GetImage() string
- func (j Job) GetInputs() []string
- func (j Job) GetName() string
- func (j Job) GetOutputs() []string
- func (j Job) GetShell() []string
- func (j Job) ID() int64
- func (j Job) Validate(engine string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { Name string `hcl:"name,label"` Template *string `hcl:"template" hash:"-"` Image *string `hcl:"image"` Shell *string `hcl:"shell"` Exec *[]string `hcl:"exec"` Inputs *[]string `hcl:"inputs"` Input *string `hcl:"input"` Outputs *[]string `hcl:"outputs"` Output *string `hcl:"output"` Env *map[string]string `hcl:"env"` Deps *[]string `hcl:"deps"` Engine *string `hcl:"engine" hash:"-"` Condition *string `hcl:"condition"` Error error `hash:"-"` }
func (Job) GetOutputs ¶
Click to show internal directories.
Click to hide internal directories.