Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
Name string `yaml:"name"`
Image string `yaml:"image"`
Timeout int64 `yaml:"timeout"`
Command []string `yaml:"command"`
OnTimeout []string `yaml:"on-timeout"`
OnFailure []string `yaml:"on-failure"`
Volumes []string `yaml:"volumes,omitempty"`
Environment map[string]string `yaml:"environment,omitempty"`
}
Action is the basic executional unit for a workflow
type Task ¶
type Task struct {
Name string `yaml:"name"`
WorkerAddr string `yaml:"worker"`
Actions []Action `yaml:"actions"`
Volumes []string `yaml:"volumes"`
Environment map[string]string `yaml:"environment"`
}
Task represents a task to be executed as part of a workflow
Click to show internal directories.
Click to hide internal directories.